Deskripsi:
- Tampilan map
- Tampilan portofolio
- Kirim file ke wibu storage
## No Image
This commit is contained in:
2024-09-21 04:53:19 +08:00
parent 128da1eb32
commit 56548b4258
43 changed files with 620 additions and 589 deletions

View File

@@ -18,6 +18,7 @@ import {
import { MODEL_JOB } from "../../model/interface";
import { useState } from "react";
import ComponentGlobal_Loader from "@/app_modules/_global/component/loader";
import { ComponentGlobal_LoadImage } from "@/app_modules/_global/component";
export default function ComponentJob_DetailData({
data,
@@ -44,36 +45,37 @@ export default function ComponentJob_DetailData({
<Card.Section px={"xs"} pb={"lg"}>
<Stack spacing={"xl"}>
{data.imageId ? (
<Stack align="center">
{isLoading ? (
<Paper
style={{ zIndex: 1, position: "relative" }}
w={200}
h={300}
bg={AccentColor.blackgray}
>
<Center h={"100%"}>
<ComponentGlobal_Loader size={30} variant="dots" />
</Center>
</Paper>
) : (
""
)}
<Image
style={{ zIndex: 2, position: "relative" }}
onLoad={() => {
setIsLoading(false);
}}
onError={() => {
setIsLoading(false);
}}
alt="Image"
src={APIs.GET + data?.imageId}
maw={200}
/>
</Stack>
<ComponentGlobal_LoadImage url={APIs.GET + data?.imageId} />
) : (
// <Stack align="center">
// {isLoading ? (
// <Paper
// style={{ zIndex: 1, position: "relative" }}
// w={200}
// h={300}
// bg={AccentColor.blackgray}
// >
// <Center h={"100%"}>
// <ComponentGlobal_Loader size={30} variant="dots" />
// </Center>
// </Paper>
// ) : (
// ""
// )}
// <Image
// style={{ zIndex: 2, position: "relative" }}
// onLoad={() => {
// setIsLoading(false);
// }}
// onError={() => {
// setIsLoading(false);
// }}
// alt="Image"
// src={APIs.GET + data?.imageId}
// maw={200}
// />
// </Stack>
""
)}