From 4e1ea0a5a8d11546dddba58c9ac5efa39729c9f7 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Thu, 22 Feb 2024 18:28:08 +0000 Subject: feature: Introduce a separate sidebar for the mobile --- packages/web/app/dashboard/layout.tsx | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'packages/web/app/dashboard/layout.tsx') diff --git a/packages/web/app/dashboard/layout.tsx b/packages/web/app/dashboard/layout.tsx index 9d3568a5..393ad8bb 100644 --- a/packages/web/app/dashboard/layout.tsx +++ b/packages/web/app/dashboard/layout.tsx @@ -1,3 +1,5 @@ +import { Separator } from "@/components/ui/separator"; +import MobileSidebar from "./components/ModileSidebar"; import Sidebar from "./components/Sidebar"; export default async function Dashboard({ @@ -6,11 +8,17 @@ export default async function Dashboard({ children: React.ReactNode; }>) { return ( -
-
+
+
-
{children}
+
+
+ + +
+ {children} +
); } -- cgit v1.2.3-70-g09d2