From 025a89bc733a64c517967d633f9dc0e3db4beff1 Mon Sep 17 00:00:00 2001 From: Bel Curcio Date: Mon, 31 May 2021 18:00:55 -0300 Subject: [PATCH] Changes --- components/common/Footer/Footer.tsx | 36 +++++++---------- .../product/ProductCard/ProductCard.tsx | 40 +++++++++++-------- .../ProductView/ProductView.module.css | 8 ++-- .../product/ProductView/ProductView.tsx | 39 +++++++++++++----- pages/product/[slug].tsx | 12 +++++- pages/search.tsx | 5 +-- 6 files changed, 85 insertions(+), 55 deletions(-) diff --git a/components/common/Footer/Footer.tsx b/components/common/Footer/Footer.tsx index f9f24b021..e2de8c240 100644 --- a/components/common/Footer/Footer.tsx +++ b/components/common/Footer/Footer.tsx @@ -16,6 +16,12 @@ interface Props { } const LEGAL_PAGES = ['terms-of-use', 'shipping-returns', 'privacy-policy'] +const links = [ + { + name: 'Home', + href: '/', + }, +] const Footer: FC = ({ className, pages }) => { const { sitePages, legalPages } = usePages(pages) @@ -37,27 +43,15 @@ const Footer: FC = ({ className, pages }) => {