From bd5ce701dd7d6637c150af6af047aeb20ba654b8 Mon Sep 17 00:00:00 2001 From: SebastianMartel Date: Wed, 6 Mar 2024 23:06:02 -0500 Subject: [PATCH 01/25] [FEAT]: Remaking footer. Replaced function expression for function statement on Footer component declaration. --- src/components/Footer.tsx | 43 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/components/Footer.tsx diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx new file mode 100644 index 0000000..8c329ad --- /dev/null +++ b/src/components/Footer.tsx @@ -0,0 +1,43 @@ +'use client'; +import React from 'react'; +import Image from 'next/image'; +import footerLogo from '../../public/images/logoFooter.webp'; + +interface FooterProps {} +function Footer({ }: FooterProps) { + + return ( + + ); +}; + +export default Footer; \ No newline at end of file From 1bcea6deecc0362e0bef8e6c044ef584e7f2d34e Mon Sep 17 00:00:00 2001 From: SebastianMartel Date: Wed, 6 Mar 2024 23:21:31 -0500 Subject: [PATCH 02/25] [FEAT]: NAV_LINKS array created in Footer. --- src/app/page.tsx | 2 + src/components/Footer.tsx | 85 +++++++++++++++++++++++++++++++++++++-- 2 files changed, 84 insertions(+), 3 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index e6db74e..7389c78 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,9 +1,11 @@ import Banner from "@/components/Banner"; +import Footer from "@/components/Footer"; export default function Home() { return (
+
); } diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 8c329ad..2c1fe1b 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -6,6 +6,79 @@ import footerLogo from '../../public/images/logoFooter.webp'; interface FooterProps {} function Footer({ }: FooterProps) { + const NAV_LINKS = [ + { + categories: [ + { + name: "Farolas", + path: "" + }, + { + name: "Stops", + path: "" + }, + { + name: "Audio", + path: "" + }, + { + name: "Exploradoras", + path: "" + }, + { + name: "Exterior", + path: "" + }, + { + name: "Interior", + path: "" + }, + { + name: "Bombillos", + path: "" + }, + { + name: "Repuestos", + path: "" + } + ], + company: [ + { + name: "¿Quiénes somos?", + path: "" + }, + { + name: "Aviso legal", + path: "" + } + ], + community: [ + { + name: "Contáctanos", + path: "" + }, + { + name: "Soporte", + path: "" + }, + { + name: "Blog", + path: "" + } + ], + purchase: [ + { + name: "Mi cuenta", + path: "" + }, + { + name: "¿Cómo comprar?", + path: "" + } + ] + } + ] + return (