diff --git a/src/components/sections/BirthdayPricing.tsx b/src/components/sections/BirthdayPricing.tsx index ebd23a1..72bebb4 100644 --- a/src/components/sections/BirthdayPricing.tsx +++ b/src/components/sections/BirthdayPricing.tsx @@ -6,57 +6,6 @@ const IMG_CHECK = '/images/figma/check-mark.webp' const IMG_PATTERN_GREEN = '/images/figma/card-pattern-light.png' // lighter green on transparent → visible on dark green bg const IMG_PATTERN_ORANGE = '/images/figma/card-pattern-dark.png' // dark green on transparent → visible on orange bg -const STATIC_PACKAGES: BirthdayPackageCMS[] = [ - { - id: 'standard', - name: 'Стандарт', - slug: 'standard', - price: 4500, - featured: false, - features: [ - { text: 'Вхід для іменинника + 5 дітей' }, - { text: 'Анімаційна програма (1 год)' }, - { text: 'Декорації столу' }, - { text: 'Торт від кондитера' }, - ], - ctaHref: '/dni-narodzhennia#order-form', - ctaLabel: 'Обрати пакет', - }, - { - id: 'premium', - name: 'Преміум', - slug: 'premium', - price: 8900, - featured: true, - badge: 'Найпопулярніший', - features: [ - { text: 'Вхід для іменинника + 10 дітей' }, - { text: 'Анімаційна програма (3 год)' }, - { text: 'Повна декорація локації' }, - { text: 'Фотозона та фотограф' }, - { text: 'Сюрприз-подарунок кожному' }, - ], - ctaHref: '/dni-narodzhennia#order-form', - ctaLabel: 'Обрати пакет', - }, - { - id: 'vip', - name: 'VIP', - slug: 'vip', - price: 15000, - featured: false, - features: [ - { text: 'Вхід для іменинника + 20 гостей' }, - { text: 'Індивідуальний сценарій' }, - { text: 'Квест по всьому парку' }, - { text: 'Відео-звіт свята' }, - { text: 'Персональний менеджер' }, - ], - ctaHref: '/dni-narodzhennia#order-form', - ctaLabel: 'Обрати пакет', - }, -] - interface BirthdayPricingProps { packages?: BirthdayPackageCMS[] title?: string @@ -64,7 +13,7 @@ interface BirthdayPricingProps { } export function BirthdayPricing({ packages, title, intro }: BirthdayPricingProps) { - const activePackages = packages && packages.length > 0 ? packages : STATIC_PACKAGES + const activePackages = packages ?? [] return (