Fix: voting status
Deskripsi: - Perubahan router status & riwayat
This commit is contained in:
3
src/app_modules/event/component/index.ts
Normal file
3
src/app_modules/event/component/index.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import { Event_ComponentSkeletonDetailData } from "./skeleton/comp_skeleton_detail_data";
|
||||
|
||||
export { Event_ComponentSkeletonDetailData };
|
||||
@@ -0,0 +1,35 @@
|
||||
"use client";
|
||||
|
||||
import { ComponentGlobal_CardStyles } from "@/app_modules/_global/component";
|
||||
import { Stack, Title, Grid, Text, Center, Skeleton } from "@mantine/core";
|
||||
import { data } from "autoprefixer";
|
||||
|
||||
export function Event_ComponentSkeletonDetailData() {
|
||||
return (
|
||||
<>
|
||||
<ComponentGlobal_CardStyles marginBottom={"16px"}>
|
||||
<Stack px={"sm"} spacing={"lg"}>
|
||||
<Center>
|
||||
<Skeleton radius={"xl"} h={20} />
|
||||
</Center>
|
||||
{Array.from(new Array(4)).map((e, i) => (
|
||||
<Grid key={i}>
|
||||
<Grid.Col span={4}>
|
||||
<Skeleton radius={"xl"} h={20} />
|
||||
</Grid.Col>
|
||||
<Grid.Col span={1}>:</Grid.Col>
|
||||
<Grid.Col span={"auto"}>
|
||||
<Skeleton radius={"xl"} h={20} />
|
||||
</Grid.Col>
|
||||
</Grid>
|
||||
))}
|
||||
|
||||
<Stack spacing={"xs"}>
|
||||
<Skeleton radius={"xl"} h={20} w={200} />
|
||||
<Skeleton radius={"xl"} h={20} />
|
||||
</Stack>
|
||||
</Stack>
|
||||
</ComponentGlobal_CardStyles>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user