From 4d49f24f6c1d7d9d4ac5fe9752cd71b1e0ccc814 Mon Sep 17 00:00:00 2001 From: Aashutosh soni Date: Sun, 28 Apr 2024 14:31:45 +0530 Subject: [PATCH] update: fixed layout and added about p --- next.config.mjs | 6 +- src/app/about/page.tsx | 115 ++++++++++++++++++++++++++++++++++++++ src/app/ash/layout.tsx | 7 --- src/app/ash/page.tsx | 45 --------------- src/app/page.tsx | 2 +- src/components/footer.tsx | 37 ++++-------- src/components/navbar.tsx | 36 +++++------- 7 files changed, 145 insertions(+), 103 deletions(-) create mode 100644 src/app/about/page.tsx delete mode 100644 src/app/ash/layout.tsx delete mode 100644 src/app/ash/page.tsx diff --git a/next.config.mjs b/next.config.mjs index 4678774..e8a455a 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,4 +1,8 @@ /** @type {import('next').NextConfig} */ -const nextConfig = {}; +const nextConfig = { + images: { + domains: ["github.com"], + }, +}; export default nextConfig; diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx new file mode 100644 index 0000000..74fd98a --- /dev/null +++ b/src/app/about/page.tsx @@ -0,0 +1,115 @@ +import React from "react"; +import Image from "next/image"; +import Link from "next/link"; +import hero from "../../../public/hero.jpeg"; +import { + Card, + CardContent, + CardDescription, + CardFooter, + CardHeader, + CardTitle, +} from "@/components/ui/card"; +import { Button } from "@/components/ui/button"; + +type Props = {}; + +export default function about({}: Props) { + return ( +
+

About FarmIQ

+
+ profile +
+

+ Welcome to FarmIQ๐ŸŒพ - an innovative app designed to maximize your + agricultural yield. By simply entering parameters about your land, our + intelligent system recommends the most suitable crops to plant. +

+

Options

+ +

+ The frontend of FarmIQ is built with Next.js, Tailwind CSS, and Shadcn, + while the backend is powered by a Flask API deployed on Azure. +

+

+ The app utilizes a high-accuracy random forest ML model to predict the + most suitable crops for your farm. +

+ +

+ This project was created by me during a 36-hour online hackathon named + Jugaad Hacks. +

+ + +
+ Aashutosh Soni +
+ Aashutosh Soni + + Full-Stack Developer + {" "} +
+
+
+ +

+ Hi๐Ÿ‘‹๐Ÿป i am Aashutosh Soni, a full-stack developer with a passion for + creating innovative solutions. Feel free to reach out to me for any + queries or collaborations. +

+
+ +
+ + + + +
+
+
+
+ ); +} diff --git a/src/app/ash/layout.tsx b/src/app/ash/layout.tsx deleted file mode 100644 index 2953721..0000000 --- a/src/app/ash/layout.tsx +++ /dev/null @@ -1,7 +0,0 @@ -export default function RootLayout({ - children, -}: Readonly<{ - children: React.ReactNode; -}>) { - return <>{children}; -} diff --git a/src/app/ash/page.tsx b/src/app/ash/page.tsx deleted file mode 100644 index 3ca1432..0000000 --- a/src/app/ash/page.tsx +++ /dev/null @@ -1,45 +0,0 @@ -import React from "react"; - -export default function Ash() { - return ( - <> -

learning layouts

-

equal elements

-

two elements

-
-
1
-
2
-
-

three elements

-
-
1
-
2
-
2
-
- -
-

non elements

-

two elements

-
-
- 1 -
-
- 2 -
-
-

three elements

-
-
- 1 -
-
- 2 -
-
- 2 -
-
- - ); -} diff --git a/src/app/page.tsx b/src/app/page.tsx index 748eab2..4f7ed85 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -8,7 +8,7 @@ const inter = Inter({ subsets: ["latin"] }); export default function Page() { return ( <> -
+
- - - YouTube - - + GitHub - + Twitter

- ยฉ 2024 Acme Inc. All rights reserved. + Made with ๐Ÿ’– by{" "} + Ashutosh7i๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป.

@@ -65,23 +68,3 @@ function TwitterIcon(props: JSX.IntrinsicAttributes & SVGProps) { ); } - -function YoutubeIcon(props: JSX.IntrinsicAttributes & SVGProps) { - return ( - - - - - ); -} diff --git a/src/components/navbar.tsx b/src/components/navbar.tsx index 8772448..a62a7eb 100644 --- a/src/components/navbar.tsx +++ b/src/components/navbar.tsx @@ -25,25 +25,20 @@ export default function Component() {
Home About + - Services - - Contact @@ -56,26 +51,21 @@ export default function Component() {