diff --git a/src/app/(frontend)/lokatsii/page.tsx b/src/app/(frontend)/lokatsii/page.tsx index 5e42181..506fe8b 100644 --- a/src/app/(frontend)/lokatsii/page.tsx +++ b/src/app/(frontend)/lokatsii/page.tsx @@ -36,8 +36,11 @@ const FALLBACK_IMAGES: Record = { dynopark: '/images/figma/loc-dinopark.webp', dyvolis: '/images/figma/loc-divo-lis.webp', maze: '/images/figma/loc-maze.webp', + 'dzerkalnyi-labiryt': '/images/figma/loc-maze.webp', tir: '/images/figma/loc-tir.webp', + tyr: '/images/figma/loc-tir.webp', playground: '/images/figma/loc-playground.webp', + maiydanchyk: '/images/figma/loc-playground.webp', } const COLORS = ['#396817', '#2d5414', '#1a3009', '#2a5a12', '#1d4710'] diff --git a/src/components/sections/DinoGallery.tsx b/src/components/sections/DinoGallery.tsx index 7736c95..3eaec91 100644 --- a/src/components/sections/DinoGallery.tsx +++ b/src/components/sections/DinoGallery.tsx @@ -7,8 +7,14 @@ interface DinoGalleryProps { images?: string[] } +const FALLBACK_GALLERY = [ + '/images/figma/2c6a3e5e-7346-4c3e-b8a0-fae1facb87ad.jpg', + '/images/figma/2936ec5e-4f99-441e-9bf2-34f23c283170.jpg', + '/images/figma/7a2627b2-b6ce-4325-a0b1-fbc3393aca4c.png', +] + export function DinoGallery({ images }: DinoGalleryProps) { - const photos = images && images.length > 0 ? images : [] + const photos = images && images.length > 0 ? images : FALLBACK_GALLERY const [active, setActive] = useState(0) const n = photos.length diff --git a/src/components/sections/DinoHero.tsx b/src/components/sections/DinoHero.tsx index 84a0993..5a62527 100644 --- a/src/components/sections/DinoHero.tsx +++ b/src/components/sections/DinoHero.tsx @@ -118,36 +118,20 @@ export function DinoHero({ }} /> {/* Hero dino image */} - {heroImageUrl && ( - Динозавр динопарку - )} - {/* Placeholder when no image uploaded yet */} - {!heroImageUrl && ( -
- -
- )} + Динозавр динопарку {/* Mobile hero */} @@ -156,13 +140,12 @@ export function DinoHero({ className="mx-auto flex aspect-square items-center justify-center rounded-full" style={{ background: 'radial-gradient(circle at 40% 40%, #f7d060 0%, #f0b429 70%)' }} > - {heroImageUrl ? ( - - ) : ( - - )} + diff --git a/src/components/sections/Locations.tsx b/src/components/sections/Locations.tsx index 365708e..6c408d6 100644 --- a/src/components/sections/Locations.tsx +++ b/src/components/sections/Locations.tsx @@ -12,8 +12,11 @@ const FALLBACK_IMAGES: Record = { dynopark: '/images/figma/loc-dinopark-v2.webp', dyvolis: '/images/figma/loc-divo-lis-v2.webp', maze: '/images/figma/loc-maze-v2.webp', + 'dzerkalnyi-labiryt': '/images/figma/loc-maze-v2.webp', tir: '/images/figma/loc-tir-v2.webp', + tyr: '/images/figma/loc-tir-v2.webp', playground: '/images/figma/loc-playground-v2.webp', + maiydanchyk: '/images/figma/loc-playground-v2.webp', } const STATIC_LOCATIONS: LocationData[] = [