diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 51c2923..87e856d 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -31,9 +31,7 @@ export default function RootLayout({ >
-
- {children} -
+
{children}
diff --git a/src/components/app/Footer.tsx b/src/components/app/Footer.tsx index 5729fdb..6b944c8 100644 --- a/src/components/app/Footer.tsx +++ b/src/components/app/Footer.tsx @@ -1,6 +1,13 @@ +"use client"; + import { Timer, Github, Twitter, MessageCircle } from "lucide-react"; +import { usePathname } from "next/navigation"; const Footer = () => { + const pathname = usePathname(); + + if (pathname !== "/") return null; + return (