From 396e81bd418da19fa8e074442d56f0a9add9f269 Mon Sep 17 00:00:00 2001 From: Jakub Knetl Date: Wed, 27 Dec 2023 14:21:42 +0100 Subject: [PATCH] Chapter 4 - add layout --- app/dashboard/layout.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 app/dashboard/layout.tsx diff --git a/app/dashboard/layout.tsx b/app/dashboard/layout.tsx new file mode 100644 index 0000000..6e8e4c7 --- /dev/null +++ b/app/dashboard/layout.tsx @@ -0,0 +1,12 @@ +import SideNav from '@/app/ui/dashboard/sidenav'; + +export default function Layout({ children }: { children: React.ReactNode }) { + return ( +
+
+ +
+
{children}
+
+ ); +} \ No newline at end of file