-
-
+ {/* Mobile Menu Button */}
+
+
- {menu.map(({ href, title }) => (
-
-
-
-
-
- ))}
-
-
-
+
+
+
+
+ {/* Mobile Drawer */}
+
+ {this.renderMenuItems()}
+
+
+ {/* Desktop Sidebar */}
+
+
+ {this.renderMenuItems()}
+
+
+
+ {/* Main Content */}
+
{children}
(this.modalShown = false)} />
-
-
+
+
);
}
}
diff --git a/pages/dashboard/index.tsx b/pages/dashboard/index.tsx
index 283c12a..7ecef60 100644
--- a/pages/dashboard/index.tsx
+++ b/pages/dashboard/index.tsx
@@ -37,14 +37,28 @@ const DashboardPage: FC