Changeset 79bba6e in Klonkt for src/views/pages/hub-home.ejs
- Timestamp:
- 06/17/2026 12:29:16 AM (3 months ago)
- Branches:
- main
- Children:
- cbd1761
- Parents:
- 44cf44d
- File:
-
- 1 edited
-
src/views/pages/hub-home.ejs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/hub-home.ejs
r44cf44d r79bba6e 1 1 <div class="hub<%= hub.heroImage ? ' hub--img' : '' %>"> 2 2 3 <%# ── Minimale nav (alleen auth) — over de hero, geen brand/switcher ── %> 4 <nav class="hub-nav"> 5 <div class="hub-nav-inner container"> 6 <% if (user) { %> 7 <% if (typeof canSeeBeheer !== 'undefined' && canSeeBeheer) { %> 8 <a class="hub-nav-link" href="/admin" 9 hx-get="/admin?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" 10 hx-push-url="/admin" hx-indicator="#pcms-loading">Beheer</a> 11 <% } %> 12 <a class="hub-nav-link" href="/account" 13 hx-get="/account?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" 14 hx-push-url="/account" hx-indicator="#pcms-loading"><%= user.username %></a> 15 <a class="hub-nav-link" href="/auth/logout">Uitloggen</a> 16 <% } else { %> 17 <a class="hub-nav-link" href="/auth/login">Inloggen</a> 18 <% } %> 19 </div> 20 </nav> 21 22 <%# ── HERO (label) — de pagina begint hier, geen header erboven ────── %> 3 <%# ── HERO (label) — de mini topnav-balk staat erboven (chrome.ejs); 4 de hero zelf is de "grote" header van de hub-home ──────────────── %> 23 5 <header class="hub-hero<%= hub.heroImage ? ' has-img' : '' %>"<% if (hub.heroImage) { %> style="--hero-img:url('<%= hub.heroImage %>'); --hero-ov:<%= ((hub.heroOverlay == null ? 45 : hub.heroOverlay)/100).toFixed(2) %>"<% } %>> 24 6 <div class="hub-hero-inner container">
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)