port of the new penguinui placing

This commit is contained in:
Priec
2026-06-18 10:51:07 +02:00
parent ee944ed5ce
commit 9a3c68eae5
7 changed files with 47 additions and 32 deletions

View File

@@ -59,7 +59,7 @@
class="fixed inset-y-0 left-0 z-40 flex w-60 flex-col border-r border-outline bg-surface-alt transition-transform duration-300 md:translate-x-0 dark:border-outline-dark dark:bg-surface-dark-alt">
{# Sidebar nav links — adapted from the vendored Penguin UI component
assets/views/penguinui/sidebar/simple-sidebar.html: Penguin's link
penguinui-components/sidebar/simple-sidebar.html: Penguin's link
treatment (hover:bg-primary/5, focus-visible:underline) with the active
state (bg-primary/10 + text-on-surface-strong) mapped onto our
data-nav / aria-current so markActiveNav() keeps driving it. #}