fix: move theme toggle into shared top-bar controls

This commit is contained in:
2026-05-17 23:41:00 -04:00
parent b9f1a115d2
commit 03c9e3c5a3
8 changed files with 180 additions and 165 deletions
+1 -5
View File
@@ -13,11 +13,7 @@
<header class="theme-surface shadow-sm">
<div class="max-w-7xl mx-auto px-4 py-4 flex justify-between items-center">
<a href="<?php echo url('/home'); ?>" class="text-2xl font-bold theme-text hover:opacity-90 transition"><?php echo APP_NAME; ?></a>
<div class="flex items-center space-x-4">
<a href="<?php echo url('/settings'); ?>" class="theme-text-muted hover:opacity-90">
<i class="bi bi-gear-fill text-2xl"></i>
</a>
</div>
<?php $showSettings = true; include __DIR__ . '/partials/topbar-controls.php'; ?>
</div>
</header>