Add app layout with sidebar and header

This commit is contained in:
Gogs
2026-07-06 21:35:19 +02:00
parent 79d0976b80
commit 52aa07ab98
11 changed files with 314 additions and 75 deletions
+9
View File
@@ -0,0 +1,9 @@
<aside class="sidebar">
<nav class="sidebar-nav">
<a href="/" class="<?= ($view ?? '') === 'today' ? 'active' : '' ?>">🏠 Heute</a>
<a href="/?view=now" class="<?= ($view ?? '') === 'now' ? 'active' : '' ?>"> Jetzt</a>
<a href="/?view=favorites" class="<?= ($view ?? '') === 'favorites' ? 'active' : '' ?>"> Favoriten</a>
<a href="/?view=channels" class="<?= ($view ?? '') === 'channels' ? 'active' : '' ?>">📺 Sender</a>
<a href="/?view=settings" class="<?= ($view ?? '') === 'settings' ? 'active' : '' ?>"> Einstellungen</a>
</nav>
</aside>