diff --git a/src/app/container_page.tsx b/src/app/container_page.tsx
index f4e222e..158a328 100644
--- a/src/app/container_page.tsx
+++ b/src/app/container_page.tsx
@@ -1,6 +1,8 @@
+'use client'
import Footer from '~/components/footer/Footer';
import NavBar from '~/components/navBar/navBar';
import Categories from '~/components/categories/categories';
+import { usePathname } from 'next/navigation';
type ContainerPageProps = {
children: React.ReactNode;
@@ -15,12 +17,13 @@ export function ContainerPage({
footer = true,
children,
}: ContainerPageProps) {
+ const pathname = usePathname();
return (
<>
{typeof nav === 'boolean' && nav ? : nav}
{header && header}
-
+ {pathname !== '/' && }
{children}
{footer && }