fix admin

deskripsi:
- ui layout admin
- navbar & header responsive
This commit is contained in:
2025-04-10 17:42:31 +08:00
parent 47a3f4bb81
commit 94e202db8d
4 changed files with 216 additions and 169 deletions

View File

@@ -0,0 +1,32 @@
import { Box, NavLink, Text } from "@mantine/core";
import _ from "lodash";
import { newListAdminPage } from "../new_list_page";
export function Admin_V3_SkeletonNavbar() {
const listPage = newListAdminPage.slice(0, -1);
return (
<>
{listPage.map((parent) => (
<Box key={parent.id}>
<NavLink
disabled
style={{
color: "gray",
transition: "0.5s",
}}
sx={{
":hover": {
backgroundColor: "transparent",
},
}}
label={<Text>{parent.name}</Text>}
icon={parent.icon}
>
{!_.isEmpty(parent.child) &&
parent.child.map((child) => <Box key={child.id} />)}
</NavLink>
</Box>
))}
</>
);
}