From b1d7a4e4e6210a530aaaa29720ec2d6fb3d75c61 Mon Sep 17 00:00:00 2001 From: Yangshun Tay Date: Sun, 9 Oct 2022 15:30:58 +0800 Subject: [PATCH] [portal][nav] hide global nav for resumes --- .../portal/src/components/global/AppShell.tsx | 61 ++++++++++--------- .../src/components/global/HomeNavigation.ts | 1 + .../src/components/offers/OffersNavigation.ts | 1 + .../questions/QuestionsNavigation.ts | 1 + .../components/resumes/ResumesNavigation.ts | 1 + 5 files changed, 36 insertions(+), 29 deletions(-) diff --git a/apps/portal/src/components/global/AppShell.tsx b/apps/portal/src/components/global/AppShell.tsx index c0fb33a1..eeb2dfc9 100644 --- a/apps/portal/src/components/global/AppShell.tsx +++ b/apps/portal/src/components/global/AppShell.tsx @@ -107,6 +107,7 @@ export default function AppShell({ children }: Props) { const currentProductNavigation: Readonly<{ navigation: ProductNavigationItems; + showGlobalNav: boolean; title: string; }> = (() => { const path = router.pathname; @@ -128,39 +129,41 @@ export default function AppShell({ children }: Props) { return (
{/* Narrow sidebar */} -
-
-
- - Tech Interview Handbook - -
-
- {GlobalNavigation.map((item) => ( - -
-
+ )} {/* Mobile menu */}