Deskripsi:
- Upload foto profil ke storage
- Upload background profile ke storge
## No Issue
This commit is contained in:
2024-09-25 14:04:18 +08:00
parent 5670feb08c
commit 827b7c7bc1
54 changed files with 812 additions and 936 deletions

View File

@@ -19,7 +19,13 @@ export default function AdminJob_DetailPoster({
<Stack>
<ComponentAdminGlobal_BackButton />
<Center>
<Image onLoad={() => setLoading(false)} alt="Foto" src={APIs.GET + imageId} mah={500} maw={300} />
<Image
onLoad={() => setLoading(false)}
alt="Foto"
src={APIs.GET({ fileId: imageId })}
mah={500}
maw={300}
/>
{isLoading ? (
<Center h={"100%"}>
<ComponentGlobal_Loader size={30} variant="dots" />

View File

@@ -49,7 +49,7 @@ export function ComponentAdminMap_DetailDataDrawer({
radius={"md"}
width={300}
alt="Photo"
src={APIs.GET + data?.imageId}
src={APIs.GET({ fileId: data?.imageId as string })}
/>
</AspectRatio>

View File

@@ -90,8 +90,8 @@ export function UiAdminMap_MapBoxView({
}}
src={
e.pinId === null
? APIs.GET + e.Portofolio.logoId
: APIs.GET + e.pinId
? APIs.GET({ fileId: e.Portofolio.logoId })
: APIs.GET({ fileId: e.pinId })
}
/>
</Stack>