From f0df7f1026042101f9fd5a5a20fbd9db5af41f90 Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Wed, 3 Jun 2026 15:07:27 +0100 Subject: [PATCH] =?UTF-8?q?feat(cms):=20remove=20hardcoded=20images=20?= =?UTF-8?q?=E2=80=94=20connect=20birthday,=20dyvolis,=20dino,=20home=20gal?= =?UTF-8?q?lery=20to=20CMS=20globals?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/(frontend)/lokatsii/[slug]/page.tsx | 1 + src/components/sections/DyvoLisHero.tsx | 7 +++++-- src/globals/BirthdayPage.ts | 6 ++++++ src/globals/DyvoLisPage.ts | 6 ++++++ 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/app/(frontend)/lokatsii/[slug]/page.tsx b/src/app/(frontend)/lokatsii/[slug]/page.tsx index de1281b..1f6b39a 100644 --- a/src/app/(frontend)/lokatsii/[slug]/page.tsx +++ b/src/app/(frontend)/lokatsii/[slug]/page.tsx @@ -92,6 +92,7 @@ export default async function LocationDetailPage({ params }: Props) { stat={location.heroStat ?? undefined} statLabel={location.heroStatLabel ?? undefined} tips={heroTips} + heroImageUrl={getMediaUrl(location.heroBackground as Media | undefined)} /> {/* Left column — contained within max-width */} @@ -141,7 +144,7 @@ export function DyvoLisHero({ {/* Cat */}