
<div class="border-b border-gray-200 mb-6">
    <nav class="flex gap-0 -mb-px admin-tabs">
        <?php foreach ($subTabs as $subKey => $subLabel): ?>
            <a href="/admin/appearance?sub=<?= $subKey ?>"
               class="px-5 py-3 text-sm font-medium border-b-2 transition-colors <?= $activeSub === $subKey
                   ? 'border-primary-600 text-primary-600'
                   : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300' ?>">
                <?= $subLabel ?>
            </a>
        <?php endforeach; ?>
    </nav>
</div>

<?php HookSystem::doAction('admin.appearance_render.' . $activeSub, get_defined_vars()); ?>
