From c8c6a2d6c7aaf7f3b20adba9699731e58e11899e Mon Sep 17 00:00:00 2001 From: Grace Park Date: Mon, 7 Jun 2021 17:04:20 -0700 Subject: [PATCH] set up hero header --- components/Breadcrumbs.tsx | 2 +- .../context/ProductSubLandingContext.tsx | 10 +++++++++- components/landing/ProductSubLanding.tsx | 8 +++++--- components/landing/SubLandingHero.tsx | 19 +++++++++++++++++++ components/landing/SubLandingSection.tsx | 17 +++++++++++++++++ 5 files changed, 51 insertions(+), 5 deletions(-) create mode 100644 components/landing/SubLandingHero.tsx create mode 100644 components/landing/SubLandingSection.tsx diff --git a/components/Breadcrumbs.tsx b/components/Breadcrumbs.tsx index 2393efe687..7e9e2427b4 100644 --- a/components/Breadcrumbs.tsx +++ b/components/Breadcrumbs.tsx @@ -14,7 +14,7 @@ export const Breadcrumbs = (props: Props) => { const router = useRouter() const pathWithLocale = `/${router.locale}${router.asPath.split('?')[0]}` // remove query string const { breadcrumbs } = useMainContext() - + console.log(pathWithLocale) return (