Fix All Image Add Lazy Loading

This commit is contained in:
2025-09-19 10:41:18 +08:00
parent 9f72e94557
commit 068d8b1077
180 changed files with 390 additions and 323 deletions

View File

@@ -177,6 +177,7 @@ function EditKontakDarurat() {
borderRadius: '8px',
border: '1px solid #ddd',
}}
loading="lazy"
/>
</Box>
)}

View File

@@ -89,6 +89,7 @@ function DetailKontakDarurat() {
alt="gambar"
radius="md"
maw={300}
loading="lazy"
/>
) : (
<Text fz="md" c="dimmed">-</Text>

View File

@@ -180,6 +180,7 @@ function CreateKontakDarurat() {
borderRadius: '8px',
border: '1px solid #ddd',
}}
loading="lazy"
/>
</Box>
)}

View File

@@ -110,7 +110,7 @@ function ListKontakDarurat({ search }: { search: string }) {
<Text truncate fz="sm" c="dimmed" lineClamp={1} dangerouslySetInnerHTML={{ __html: item.deskripsi }} />
</TableTd>
<TableTd>
<Image w={100} src={item.image?.link} alt="image" radius="md" />
<Image w={100} src={item.image?.link} alt="image" radius="md" loading="lazy"/>
</TableTd>
<TableTd>
<Button