diff --git a/.gitignore b/.gitignore
index 8f322f0..100bd8f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,7 +4,7 @@
/node_modules
/.pnp
.pnp.js
-
+.env
# testing
/coverage
diff --git a/src/app/container_page.tsx b/src/app/container_page.tsx
index 303fab9..158a328 100644
--- a/src/app/container_page.tsx
+++ b/src/app/container_page.tsx
@@ -1,5 +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;
@@ -14,11 +17,15 @@ export function ContainerPage({
footer = true,
children,
}: ContainerPageProps) {
+ const pathname = usePathname();
return (
<>
{typeof nav === 'boolean' && nav ? : nav}
{header && header}
- {children}
+
+ {pathname !== '/' && }
+ {children}
+
{footer && }
>
);
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index 640cd85..4c46aef 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -1,6 +1,6 @@
'use client';
import './globals.css';
-import type { Metadata } from 'next';
+
import { Inter } from 'next/font/google';
import { AuthContextProvider } from '../context/AuthContext';
@@ -8,10 +8,6 @@ import { ThemeProvider } from 'next-themes';
const inter = Inter({ subsets: ['latin'] });
-export const metadata: Metadata = {
- title: 'Create Next App',
- description: 'Generated by create next app',
-};
export default function RootLayout({
children,
diff --git a/src/app/products/page.tsx b/src/app/products/page.tsx
index ba7cf29..931c244 100644
--- a/src/app/products/page.tsx
+++ b/src/app/products/page.tsx
@@ -2,6 +2,5 @@ import { ContainerPage } from '../container_page';
export default function Landing() {
return
- Products page
;
}
diff --git a/src/components/categories/categories.tsx b/src/components/categories/categories.tsx
new file mode 100644
index 0000000..d250452
--- /dev/null
+++ b/src/components/categories/categories.tsx
@@ -0,0 +1,17 @@
+const Categories = () => {
+ return(
+
+
+ - Repuestos
+ - Exterior
+ - Bombillos
+ - Farolas
+ - Stops
+ - Exploradoras
+ - Audio
+ - Interior
+
+
+ )
+}
+export default Categories;
\ No newline at end of file
diff --git a/src/components/navBar/navBar.tsx b/src/components/navBar/navBar.tsx
index 3922b35..6cf3fab 100644
--- a/src/components/navBar/navBar.tsx
+++ b/src/components/navBar/navBar.tsx
@@ -24,7 +24,7 @@ const NavBar: FC = ({}) => {
return (