# fix
- Loading card
- Loading button
- Size image
- Mandatori form
- Share wa
## No Issuu
This commit is contained in:
2024-05-22 16:27:43 +08:00
parent 68e0a9a237
commit 10cf9c3a46
9 changed files with 78 additions and 47 deletions

View File

@@ -27,6 +27,7 @@ import _ from "lodash";
import ComponentJob_IsEmptyData from "../component/is_empty_data";
import { useState } from "react";
import { useWindowScroll } from "@mantine/hooks";
import ComponentGlobal_CardLoadingOverlay from "@/app_modules/component_global/loading_card";
export default function Job_Beranda({ listJob }: { listJob: MODEL_JOB[] }) {
const router = useRouter();
@@ -73,9 +74,9 @@ export default function Job_Beranda({ listJob }: { listJob: MODEL_JOB[] }) {
</Card.Section>
<Card.Section
onClick={() => {
setVisible(true);
setJobId(e.id);
router.push(RouterJob.main_detail + e.id);
visible ? "" : setJobId(e.id),
setVisible(true),
router.push(RouterJob.main_detail + e.id);
}}
mt={"lg"}
>
@@ -90,11 +91,7 @@ export default function Job_Beranda({ listJob }: { listJob: MODEL_JOB[] }) {
</Grid>
</Card.Section>
{visible && e.id === jobId ? (
<Overlay h={"100%"} opacity={0.1}>
<Center h={"100%"}>
<Loader color="gray" />
</Center>
</Overlay>
<ComponentGlobal_CardLoadingOverlay />
) : (
""
)}