From 3d828279caba89abe3114e2706a81d026b07722a Mon Sep 17 00:00:00 2001 From: ngc2207 Date: Sun, 2 Feb 2025 01:31:57 +0800 Subject: [PATCH] feat(layout): create dashboard layout structure --- src/app/(dashboard)/layout.tsx | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/app/(dashboard)/layout.tsx diff --git a/src/app/(dashboard)/layout.tsx b/src/app/(dashboard)/layout.tsx new file mode 100644 index 0000000..3b1654c --- /dev/null +++ b/src/app/(dashboard)/layout.tsx @@ -0,0 +1,26 @@ +import { Navbar } from "@/components/navbar"; +import { Sidebar } from "@/components/sidebar"; + +interface DashboardLayoutProps { + children: React.ReactNode; +} + +const DashboardLayout = ({ children }: DashboardLayoutProps) => { + return ( +
+
+
+ +
+
+
+ +
{children}
+
+
+
+
+ ); +}; + +export default DashboardLayout;