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

$pageKey = 'doi_flow';

$options = [
    'en' => [
        'title' => 'Double Opt-In Flow',
        'subtitle' => 'Professional signup confirmation and lead management',
        'benefits' => [
            'Conform Email Double Opt-In flow',
            'Individually customizable confirmation emails',
            'Easy integration with your shop frontend',
            'Legally secure and GDPR compliant management',
        ],
    ],
    'de' => [
        'title' => 'Newsletter Anmeldung mit Double-Opt-In-Flow',
        'subtitle' => 'Professionelle Anmeldebestätigung und Lead-Management',
        'benefits' => [
            'Gesetzes-konformes Double-Opt-In Verfahren',
            'Individuell anpassbare Bestätigungs-E-Mails',
            'Einfache Integration in Ihr Shop-Frontend',
            'Rechtssichere und DSGVO-konforme Verwaltung',
        ],
    ]
];

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