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

$pageKey = 'editor_templates';

$options = [
    'en' => [
        'title' => 'Visual Email Editor',
        'subtitle' => 'Design stunning emails with our visual editor',
        'benefits' => [
            'Intuitive visual template builder',
            'Professional layouts and content blocks',
            'Fully responsive design for all devices',
            'Direct integration of your shop products',
        ],
    ],
    'de' => [
        'title' => 'Visueller E-Mail-Editor',
        'subtitle' => 'Gestalten Sie beeindruckende E-Mails mit unserem visuellen Editor',
        'benefits' => [
            'Intuitiver visueller Template-Builder',
            'Professionelle Layouts und Inhaltsblöcke',
            'Vollständig responsives Design für alle Endgeräte',
            'Direkte Integration Ihrer Shop-Produkte',
        ],
    ]
];

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