Changeset 3cd1aaa in Klonkt for src/assets/css/style.css


Ignore:
Timestamp:
06/17/2026 12:03:39 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
44cf44d
Parents:
108fd5f
Message:

Hub: chrome in #pcms-chrome slot + out-of-band swap on htmx → header always correct, audio never jumps

The site chrome (topnav/profile header/view-switcher) now lives in a fixed
slot #pcms-chrome. On every htmx partial, render.js renders that chrome
out-of-band (chrome.ejs with oob=true) so htmx replaces it with the chrome
of the NEW page/artist — while the audio player (separate in document.body)
stays alive. Result: hub-home has no header (hero=header, empty slot), each
artist gets its own header (no stale "Studio Noord on Luna"), and music
never jumps on navigation. Solo/circle: chrome refreshes identically (no-op
in terms of content).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/assets/css/style.css

    r108fd5f r3cd1aaa  
    20282028    margin-bottom: 1.5rem;
    20292029}
    2030 /* Hub-landing (body.on-hub): verberg de site-chrome. In hub-modus staan masthead
    2031    + view-switcher altijd in de DOM (zodat htmx tussen hub-home en artiest-sites
    2032    kan schakelen zonder full-reload); hier toggelen we hun zichtbaarheid. De
    2033    hub-home heeft z'n eigen kop/nav in de content. */
    2034 body.on-hub .masthead,
    2035 body.on-hub .view-switcher-wrap { display: none !important; }
    20362030.view-switcher {
    20372031    display: flex;
Note: See TracChangeset for help on using the changeset viewer.