diff --git a/src/app/hello/page.tsx b/src/app/hello/page.tsx new file mode 100644 index 0000000..e6c1445 --- /dev/null +++ b/src/app/hello/page.tsx @@ -0,0 +1,64 @@ +"use client"; + +import { motion } from "framer-motion"; +import { Sparkles, ArrowLeft } from "lucide-react"; +import Link from "next/link"; +import { buttonVariants } from "@/components/ui/button"; +import { cn } from "@/lib/utils"; + +export default function HelloPage() { + return ( +
+ + + + + + + Hello, Idea Guru! + + + + You've successfully navigated to the hello page. This is where your + journey begins. + + + + + + Back to Home + + + +
+ ); +} diff --git a/src/app/page.tsx b/src/app/page.tsx index b829bf7..91763e1 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,5 +1,6 @@ "use client"; +import { useRouter } from "next/navigation"; import { motion } from "framer-motion"; import { Layers, @@ -66,6 +67,8 @@ const itemVariants = { }; export default function Home() { + const router = useRouter(); + return (
{/* Hero */} @@ -82,7 +85,7 @@ export default function Home() { A Next.js starter template with a curated tech stack

- diff --git a/src/components/layout/header.tsx b/src/components/layout/header.tsx index b2f719d..b68bebe 100644 --- a/src/components/layout/header.tsx +++ b/src/components/layout/header.tsx @@ -1,5 +1,6 @@ 'use client'; +import { useRouter } from "next/navigation"; import Link from "next/link"; import { Sparkles } from "lucide-react"; import { buttonVariants } from "@/components/ui/button"; @@ -7,6 +8,8 @@ import { Button } from "@/components/ui/button"; import { cn } from "@/lib/utils"; export function Header() { + const router = useRouter(); + return (
@@ -21,7 +24,9 @@ export function Header() { > Home - +