Fix: admin job

Deskripsi:
- Fix image job dari server wibu
## No Issue
This commit is contained in:
2024-11-05 13:49:06 +08:00
parent d624d61a33
commit 3aea046046
15 changed files with 276 additions and 180 deletions

View File

@@ -0,0 +1,61 @@
import {
Divider,
Grid,
Group,
Navbar,
ScrollArea,
Skeleton,
Stack,
} from "@mantine/core";
export function Admin_ComponentSkeletonNavbar() {
return (
<>
<Navbar.Section h={"6vh"}>
<Stack spacing={"lg"}>
<Grid>
<Grid.Col span={7}>
<Skeleton height={30} radius="xl" />
</Grid.Col>
<Grid.Col span={5}>
<Stack h={"100%"} justify="center">
<Group position="right" spacing={5}>
<Skeleton circle height={30} />
<Skeleton circle height={30} />
</Group>
</Stack>
</Grid.Col>
</Grid>
<Divider />
</Stack>
</Navbar.Section>
<Navbar.Section h={"88vh"} grow component={ScrollArea} py={"sm"}>
<Stack spacing={"lg"}>
{Array.from(new Array(20)).map((e, i) => (
<Grid key={i}>
<Grid.Col span={"content"}>
<Stack h={"100%"} justify="center">
<Group position="right" spacing={5}>
<Skeleton circle height={30} />
</Group>
</Stack>
</Grid.Col>
<Grid.Col span={"auto"}>
<Skeleton height={30} radius="xl" />
</Grid.Col>
</Grid>
))}
</Stack>
</Navbar.Section>
<Navbar.Section h={"6vh"}>
<Stack spacing={"lg"}>
<Divider />
<Skeleton height={20} radius="xl" />
</Stack>
</Navbar.Section>
</>
);
}

View File

@@ -1,5 +1,7 @@
import { Admin_ComponentLoadImageLandscape } from "./_component/comp_admin_load_image";
import { Admin_ComponentSkeletonNavbar } from "./_component/comp_admin_skeleton_navbar";
import { Admin_UiImagePreview } from "./_ui/ui_admin_image_preview";
export { Admin_ComponentLoadImageLandscape };
export { Admin_UiImagePreview };
export { Admin_ComponentSkeletonNavbar };