diff --git a/app/(dashboard)/DashboardLayoutClient.tsx b/app/(dashboard)/DashboardLayoutClient.tsx
index 751c62ab..20f51671 100644
--- a/app/(dashboard)/DashboardLayoutClient.tsx
+++ b/app/(dashboard)/DashboardLayoutClient.tsx
@@ -9,7 +9,10 @@ import {
Button,
Divider,
Drawer,
+ List,
ListItemButton,
+ ListItemIcon,
+ ListItemText,
Stack,
Typography,
useTheme,
@@ -67,65 +70,41 @@ export default function DashboardLayoutClient({ user, children }: { user: User;
- {/* 2-column squircle nav grid */}
-
+
{NAV_ITEMS.map((item) => {
const selected = pathname === item.href;
const Icon = item.icon;
return (
- isMobile && setMobileOpen(false)}
sx={{
- display: "flex",
- flexDirection: "column",
- alignItems: "center",
- justifyContent: "center",
- gap: 0.75,
- aspectRatio: "1",
- borderRadius: "22%",
- textDecoration: "none",
- cursor: "pointer",
- bgcolor: selected
- ? "primary.main"
- : "rgba(255,255,255,0.04)",
+ mb: 0.5,
+ borderRadius: 3,
color: selected ? "primary.contrastText" : "text.secondary",
- border: "1px solid",
- borderColor: selected
- ? "primary.main"
- : "rgba(255,255,255,0.06)",
- transition: "all 0.15s ease",
- "&:hover": {
- bgcolor: selected
- ? "primary.dark"
- : "rgba(255,255,255,0.08)",
- color: selected ? "primary.contrastText" : "text.primary",
- borderColor: selected
- ? "primary.dark"
- : "rgba(255,255,255,0.12)",
+ "& .MuiListItemIcon-root": {
+ color: selected ? "inherit" : "text.secondary",
+ minWidth: 40,
},
}}
>
-
-
+
+
+
- {item.label}
-
-
+ />
+
);
})}
-
+