Add All Skeleton Except Collaboration
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { ComponentGlobal_CardStyles } from "@/app_modules/_global/component";
|
||||
import { Stack, Center, Skeleton, Grid } from "@mantine/core";
|
||||
import CustomSkeleton from "@/app_modules/components/CustomSkeleton";
|
||||
import { Center, Grid, Stack } from "@mantine/core";
|
||||
|
||||
export function Event_ComponentSkeletonDetail() {
|
||||
return (
|
||||
@@ -8,26 +9,26 @@ export function Event_ComponentSkeletonDetail() {
|
||||
<Stack>
|
||||
<Grid align="center">
|
||||
<Grid.Col span={"content"}>
|
||||
<Skeleton radius={"100%"} h={50} w={50} />
|
||||
<CustomSkeleton radius={"100%"} h={50} w={50} />
|
||||
</Grid.Col>
|
||||
<Grid.Col span={"auto"}>
|
||||
<Skeleton h={20} w={"50%"} />
|
||||
<CustomSkeleton h={20} w={"50%"} />
|
||||
</Grid.Col>
|
||||
</Grid>
|
||||
</Stack>
|
||||
<Stack spacing={"xl"}>
|
||||
<Center>
|
||||
<Skeleton h={20} w={"50%"} />
|
||||
<CustomSkeleton h={20} w={"50%"} />
|
||||
</Center>
|
||||
<Skeleton h={20} w={"100%"} />
|
||||
<Skeleton h={20} w={"100%"} />
|
||||
<Skeleton h={20} w={"50%"} />
|
||||
<Skeleton h={20} w={"100%"} />
|
||||
<Skeleton h={20} w={"100%"} />
|
||||
<CustomSkeleton h={20} w={"100%"} />
|
||||
<CustomSkeleton h={20} w={"100%"} />
|
||||
<CustomSkeleton h={20} w={"50%"} />
|
||||
<CustomSkeleton h={20} w={"100%"} />
|
||||
<CustomSkeleton h={20} w={"100%"} />
|
||||
<Stack>
|
||||
<Skeleton h={20} w={"50%"} />
|
||||
<Skeleton h={20} w={"100%"} />
|
||||
<Skeleton h={20} w={"100%"} />
|
||||
<CustomSkeleton h={20} w={"50%"} />
|
||||
<CustomSkeleton h={20} w={"100%"} />
|
||||
<CustomSkeleton h={20} w={"100%"} />
|
||||
</Stack>
|
||||
</Stack>
|
||||
</ComponentGlobal_CardStyles>
|
||||
|
||||
@@ -4,8 +4,9 @@ import { API_RouteEvent } from "@/app/lib/api_user_router/route_api_event";
|
||||
import { IRealtimeData } from "@/app/lib/global_state";
|
||||
import { ComponentGlobal_NotifikasiBerhasil } from "@/app_modules/_global/notif_global/notifikasi_berhasil";
|
||||
import { ComponentGlobal_NotifikasiGagal } from "@/app_modules/_global/notif_global/notifikasi_gagal";
|
||||
import CustomSkeleton from "@/app_modules/components/CustomSkeleton";
|
||||
import notifikasiToUser_funCreate from "@/app_modules/notifikasi/fun/create/create_notif_to_user";
|
||||
import { Button, Skeleton, Stack } from "@mantine/core";
|
||||
import { Button, Stack } from "@mantine/core";
|
||||
import { useShallowEffect } from "@mantine/hooks";
|
||||
import { useState } from "react";
|
||||
import { WibuRealtime } from "wibu-pkg";
|
||||
@@ -49,7 +50,7 @@ export default function Event_DetailMain({
|
||||
/>
|
||||
|
||||
{isJoinSuccess == null ? (
|
||||
<Skeleton radius={"xl"} h={40} />
|
||||
<CustomSkeleton radius={"xl"} h={40} />
|
||||
) : isJoinSuccess ? (
|
||||
<Button disabled radius={"xl"} color="green">
|
||||
Anda Telah Ikut Serta
|
||||
|
||||
Reference in New Issue
Block a user