From 07e045645c60546565e0ed8747831a73307dd6cb Mon Sep 17 00:00:00 2001 From: Emmanuel Itakpe <62019510+Emmanuel-Develops@users.noreply.github.com> Date: Wed, 23 Oct 2024 21:49:09 +0100 Subject: [PATCH] fix: scroll, header and add footer (#47) * fix: scroll, header and add footer * fix: switch to fixed height for explore content * fix: switch layout to template --- src/app/(explore)/layout.tsx | 18 --------------- src/app/(explore)/sources/[...slug]/page.tsx | 6 ++--- src/app/(explore)/template.tsx | 23 +++++++++++++++++++ src/app/globals.css | 7 +++++- src/app/layout.tsx | 2 +- src/components/common/BreadCrumbs.tsx | 3 +-- src/components/explore/ExploreNavigation.tsx | 2 +- .../explore/TranscriptContentPage.tsx | 6 ++--- src/components/layout/Header.tsx | 4 +++- src/components/layout/Wrapper.tsx | 2 +- 10 files changed, 42 insertions(+), 31 deletions(-) delete mode 100644 src/app/(explore)/layout.tsx create mode 100644 src/app/(explore)/template.tsx diff --git a/src/app/(explore)/layout.tsx b/src/app/(explore)/layout.tsx deleted file mode 100644 index 87b0d99..0000000 --- a/src/app/(explore)/layout.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import ExploreNavigation from "@/components/explore/ExploreNavigation"; - -export default function ExploreLayout({ - children, // will be a page or nested layout -}: { - children: React.ReactNode; -}) { - return ( -