d: api gambar
This commit is contained in:
amel
2024-09-12 11:14:12 +08:00
parent c23b94ff07
commit 7ae49bc068
28 changed files with 39 additions and 39 deletions

View File

@@ -182,7 +182,7 @@ export default function CreateUserCalender({ onClose }: { onClose: (val: any) =>
<Indicator inline size={25} offset={7} position="bottom-end" color="red" withBorder label={<IoClose />}>
<Avatar style={{
border: `2px solid ${WARNA.biruTua}`
}} src={`/api/file/img?jenis=image&cat=user&file=${v.img}`} alt="it's me" size="lg" />
}} src={`https://wibu-storage.wibudev.com/api/files/${v.img}`} alt="it's me" size="lg" />
</Indicator>
</Center>
<Text ta={"center"} lineClamp={1}>{v.name}</Text>
@@ -226,7 +226,7 @@ export default function CreateUserCalender({ onClose }: { onClose: (val: any) =>
xl: "xs"
}}>
<Grid.Col span={2}>
<Avatar src={`/api/file/img?jenis=image&cat=user&file=${v.img}`} alt="it's me" size="lg" />
<Avatar src={`https://wibu-storage.wibudev.com/api/files/${v.img}`} alt="it's me" size="lg" />
</Grid.Col>
<Grid.Col span={10}>
<Flex justify='space-between' align={"center"}>