Refresh nav on auth changes and show session info

This commit is contained in:
2026-04-06 17:20:47 +02:00
parent a0da39b697
commit 76d8180f41
5 changed files with 58 additions and 9 deletions
+3 -1
View File
@@ -3,7 +3,9 @@ import { navBar } from './nav-bar.js';
export function appShell(appName) {
return `
<div class="app-shell d-flex flex-column min-vh-100">
${navBar(appName)}
<div id="app-nav">
${navBar(appName)}
</div>
<main id="route-view" class="flex-grow-1"></main>
<div class="toast-stack" x-data="alertsData()">
<template x-for="alert in alerts" :key="alert.id">