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

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

View File

@@ -104,6 +104,7 @@ function DetailInfoWabahPenyakit() {
alt="gambar wabah"
radius="md"
mt="xs"
loading="lazy"
/>
) : (
<Text fz="md" c="dimmed">-</Text>

View File

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

View File

@@ -115,7 +115,7 @@ function ListInfoWabahPenyakit({ search }: { search: string }) {
</Text>
</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