
<div class="mb-6 border-b border-gray-200">
    <nav class="flex gap-1 -mb-px admin-tabs">
        <?php foreach ($subTabs as $subKey => $subLabel): ?>
            <a href="/admin/settings?tab=maintenance&sub=<?= $subKey ?>"
               class="px-4 py-2.5 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
$subFile = __DIR__ . '/_settings_maintenance_' . $activeSub . '.php';
if (file_exists($subFile)) {
    require $subFile;
}
?>
