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

$pageKey = 'promo_test';

$options1 = [
    'en' => [
        'title' => 'Full Featured Promo',
        'subtitle' => 'This is a test subtitle to check how it renders below the title.',
        'benefitsTitle' => 'Custom Benefits Title',
        'benefits' => [
            'Benefit 1: Something really cool',
            'Benefit 2: Another awesome feature',
            'Benefit 3: You definitely need this',
            'Benefit 4: <b>HTML</b> is supported here with self::h allowing some tags',
        ],
//        'footer' => 'This is a test footer with <code>code</code> and other <a href="#" class="text-primary hover:underline">links</a>.'
    ]
];
$content = \Components\Ui\PromoPage::render($options1);


echo layout($pageKey, $content);
