Fix Seeder Image, Menu Landing Page - Desa
This commit is contained in:
@@ -61,7 +61,7 @@ function Semua() {
|
||||
<Grid gutter={0}>
|
||||
<GridCol span={{ base: 12, md: 6 }}>
|
||||
<Image
|
||||
src={featuredData.image?.link || '/images/placeholder.jpg'}
|
||||
src={featuredData.image?.link || '/images/placeholderx.jpg'}
|
||||
alt={featuredData.judul || 'Berita Utama'}
|
||||
height={400}
|
||||
fit="cover"
|
||||
|
||||
@@ -83,7 +83,7 @@ function MaskotDesa() {
|
||||
className="hover:scale-105 hover:shadow-lg"
|
||||
>
|
||||
<Image
|
||||
src={img.image.link}
|
||||
src={img.image?.link || '/no-image.jpg'}
|
||||
alt={img.label}
|
||||
w="100%"
|
||||
h={200}
|
||||
|
||||
Reference in New Issue
Block a user