<?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' => [
            'Automated Double Opt-In (DOI) email workflows',
            'Customizable confirmation landing pages',
            'Seamless integration with your shop signup forms',
            'GDPR compliant subscriber handling',
        ],
    ],
    'de' => [
        'title' => 'Newsletter Anmeldung mit Double-Opt-In-Flow',
        'subtitle' => 'Professionelle Anmeldebestätigung und Lead-Management',
        'benefits' => [
            'Automatisierte Double-Opt-In (DOI) E-Mail-Workflows',
            'Anpassbare Bestätigungs-Landingpages',
            'Nahtlose Integration in Ihre Shop-Anmeldeformulare',
            'DSGVO-konforme Abonnentenverwaltung',
        ],
    ]
];

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