diff options
| author | schererleander <leander@schererleander.de> | 2025-12-26 18:08:21 +0100 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-12-26 18:08:21 +0100 |
| commit | d4052a1f73eb9fa293ac3ac2ab2bad0729474115 (patch) | |
| tree | 8da67ff0b913805834e8c765b505d6fc6ac3290e /src/app/page.tsx | |
| parent | 67527c2f52e76725ad78719d4b0307e702bd0da1 (diff) | |
refactor(layout): move navbar and footer to root layout and switch toast library
Diffstat (limited to 'src/app/page.tsx')
| -rw-r--r-- | src/app/page.tsx | 72 |
1 files changed, 32 insertions, 40 deletions
diff --git a/src/app/page.tsx b/src/app/page.tsx index 38fc4bb..ade6baa 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,51 +1,43 @@ import Link from "next/link" import { Button } from "@/components/ui/button" -import Navbar from "@/components/Navbar" -import Footer from "@/components/Footer" import { LogIn, ArrowRight } from "lucide-react" export default function Home() { return ( - <div className="min-h-screen flex flex-col"> - <Navbar /> - - <main className="flex-1 flex items-center justify-center"> - <div className="container mx-auto px-4 py-20 text-center"> - <div className="max-w-3xl mx-auto space-y-8"> - <div className="space-y-4"> - <h1 className="text-4xl md:text-6xl font-bold tracking-tight"> - Build Something - <span className="text-primary"> Amazing</span> - </h1> - <p className="text-xl text-muted-foreground max-w-2xl mx-auto leading-relaxed"> - A modern Next.js application with beautiful UI components, - secure authentication, and everything you need to build your next project. - </p> - </div> - - <div className="flex flex-col sm:flex-row gap-4 justify-center items-center"> - <Button asChild size="lg" className="text-lg px-8 py-6"> - <Link href="/login"> - <LogIn className="mr-2 h-5 w-5" /> - Get Started - </Link> - </Button> - <Button variant="outline" size="lg" className="text-lg px-8 py-6"> - Learn More - <ArrowRight className="ml-2 h-5 w-5" /> - </Button> - </div> - - <div className="pt-8"> - <p className="text-sm text-muted-foreground"> - Built with Next.js, Tailwind CSS, Shadcn/UI, and MongoDB - </p> - </div> + <div className="flex-1 flex items-center justify-center"> + <div className="container mx-auto px-4 py-20 text-center"> + <div className="max-w-3xl mx-auto space-y-8"> + <div className="space-y-4"> + <h1 className="text-4xl md:text-6xl font-bold tracking-tight"> + Build Something + <span className="text-primary"> Amazing</span> + </h1> + <p className="text-xl text-muted-foreground max-w-2xl mx-auto leading-relaxed"> + A modern Next.js application with beautiful UI components, + secure authentication, and everything you need to build your next project. + </p> + </div> + + <div className="flex flex-col sm:flex-row gap-4 justify-center items-center"> + <Button asChild size="lg" className="text-lg px-8 py-6"> + <Link href="/login"> + <LogIn className="mr-2 h-5 w-5" /> + Get Started + </Link> + </Button> + <Button variant="outline" size="lg" className="text-lg px-8 py-6"> + Learn More + <ArrowRight className="ml-2 h-5 w-5" /> + </Button> + </div> + + <div className="pt-8"> + <p className="text-sm text-muted-foreground"> + Built with Next.js, Tailwind CSS, Shadcn/UI, and MongoDB + </p> </div> </div> - </main> - - <Footer /> + </div> </div> ) } |
