<?php
// pages/coupons_promo.php
require_once BEEZUI_ROOT . '/components/index.php';
require_once BEEZUI_ROOT . '/pages/layout.php';

$pageKey = 'coupons';

$options = [
    'en' => [
        'title' => 'Coupon Management',
        'subtitle' => 'Smart coupon generation for automated campaigns',
        'benefits' => [
            'Automatic generation of unique coupon codes',
            'Detailed coupon tracking and usage analytics',
            'Flexible validity and automatic expiration logic',
            'Seamless integration with automation flows',
        ],
    ],
    'de' => [
        'title' => 'Gutschein-Verwaltung',
        'subtitle' => 'Smarte Gutscheingenerierung für automatisierte Kampagnen',
        'benefits' => [
            'Automatische Generierung individueller Gutscheincodes',
            'Detailliertes Gutschein-Tracking und Nutzungsanalysen',
            'Flexible Gültigkeit und automatische Ablauflogik',
            'Nahtlose Integration in Automations-Flows',
        ],
    ]
];

$content = \Components\Ui\PromoPage::render($options);
echo layout($pageKey, $content);
