<?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' => [
            'Visual template builder',
            'Pre-designed layouts and content blocks',
            'Responsive design for mobile and desktop',
            'Direct access to your shop products',
        ],
    ],
    'de' => [
        'title' => 'Visueller E-Mail-Editor',
        'subtitle' => 'Gestalten Sie beeindruckende E-Mails mit unserem visuellen Editor',
        'benefits' => [
            'Visueller Vorlagen-Builder',
            'Vorgestaltete Layouts und Inhaltsblöcke',
            'Responsives Design für Mobilgeräte und Desktop',
            'Direkter Zugriff auf Ihre Shop-Produkte',
        ],
    ]
];

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