|
|
|
@ -107,6 +107,7 @@ export default function AppShell({ children }: Props) {
|
|
|
|
|
|
|
|
|
|
const currentProductNavigation: Readonly<{
|
|
|
|
|
navigation: ProductNavigationItems;
|
|
|
|
|
showGlobalNav: boolean;
|
|
|
|
|
title: string;
|
|
|
|
|
}> = (() => {
|
|
|
|
|
const path = router.pathname;
|
|
|
|
@ -128,6 +129,7 @@ export default function AppShell({ children }: Props) {
|
|
|
|
|
return (
|
|
|
|
|
<div className="flex h-full min-h-screen">
|
|
|
|
|
{/* Narrow sidebar */}
|
|
|
|
|
{currentProductNavigation.showGlobalNav && (
|
|
|
|
|
<div className="hidden w-28 overflow-y-auto border-r border-slate-200 bg-white md:block">
|
|
|
|
|
<div className="flex w-full flex-col items-center py-6">
|
|
|
|
|
<div className="flex flex-shrink-0 items-center">
|
|
|
|
@ -161,6 +163,7 @@ export default function AppShell({ children }: Props) {
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
|
|
|
|
|
{/* Mobile menu */}
|
|
|
|
|
<MobileNavigation
|
|
|
|
|