Changeset b200738 in Klonkt


Ignore:
Timestamp:
06/20/2026 07:41:43 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
da4387b
Parents:
d219d56
Message:

fix(downloads+agenda): downloads list gets header+pill; Solo/Circle grey

  • on-downloads (the often-pinned downloads list) no longer headerless → profile header + nav pill, like a normal page. The email capture (/download/:id) stays a focus page without header.
  • On both calendar and downloads pages, Solo/Circle + Timeline/Grid also grey (no active feed view there).

Co-Authored-By: Claude <noreply@…>

Location:
src/views/partials
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/views/partials/chrome.ejs

    rd219d56 rb200738  
    2121// Zelfstandige premium-feature-pagina's hebben hun eigen kop → geen profielkop/
    2222// switcher, wél de topnav (Robin 2026-06-18: "bovenste weg, behoud de nav").
    23 // NB: on-shows (agenda) hoort hier NIET bij — daar willen we de volledige chrome
    24 // (profielkop + de Tijdlijn/Grid-pill met Agenda actief) juist BEHOUDEN.
     23// NB: on-shows (agenda) én on-downloads (de downloads-LIJST) horen hier NIET bij —
     24// die willen de volledige chrome (profielkop + pill) behouden. De downloads-lijst is
     25// vaak gepind en prominent, dus hij mag niet kaal zijn. De losse e-mail-capture
     26// (/download/:id → on-download) blijft wél een focus-pagina zonder kop.
    2527var _featurePage = typeof bodyClass === 'string' &&
     28  bodyClass.indexOf('on-downloads') < 0 &&
    2629  ['on-epk', 'on-download', 'on-linkbio', 'on-newsletter'].some(function (c) { return bodyClass.indexOf(c) >= 0; });
    2730var _headerless = hubLanding || _isChat || _featurePage;
  • src/views/partials/shared-styles.ejs

    rd219d56 rb200738  
    9191body.on-post[data-grid-cols="3"] .grid-cols-btn[data-cols="3"],
    9292body.on-post[data-grid-cols="4"] .grid-cols-btn[data-cols="4"],
    93 /* Op de agendapagina is Agenda het actieve item → Tijdlijn/Grid (+cols) grijs. */
     93/* Op de agenda- én downloads-pagina is er geen actieve feed-weergave → Tijdlijn/
     94   Grid (+cols) grijs. (Agenda blijft via .vs-agenda.is-active wél gemarkeerd.) */
    9495body.on-shows[data-feed-view="timeline"] .view-switch-btn[data-view="timeline"],
    9596body.on-shows[data-feed-view="grid"] .view-switch-btn[data-view="grid"],
    9697body.on-shows[data-grid-cols="2"] .grid-cols-btn[data-cols="2"],
    9798body.on-shows[data-grid-cols="3"] .grid-cols-btn[data-cols="3"],
    98 body.on-shows[data-grid-cols="4"] .grid-cols-btn[data-cols="4"] {
     99body.on-shows[data-grid-cols="4"] .grid-cols-btn[data-cols="4"],
     100body.on-downloads[data-feed-view="timeline"] .view-switch-btn[data-view="timeline"],
     101body.on-downloads[data-feed-view="grid"] .view-switch-btn[data-view="grid"],
     102body.on-downloads[data-grid-cols="2"] .grid-cols-btn[data-cols="2"],
     103body.on-downloads[data-grid-cols="3"] .grid-cols-btn[data-cols="3"],
     104body.on-downloads[data-grid-cols="4"] .grid-cols-btn[data-cols="4"] {
    99105  background: transparent;
    100106  color: var(--ink-muted, var(--ink-soft));
    101107  border-color: var(--rule);
     108}
     109/* Solo/Cirkel ook neutraal op agenda/downloads (base-regel gebruikt !important). */
     110body.on-shows .view-switcher-wrap .feed-scope-btn.is-active,
     111body.on-downloads .view-switcher-wrap .feed-scope-btn.is-active {
     112  background: transparent !important;
     113  color: var(--ink-muted, var(--ink-soft)) !important;
    102114}
    103115
Note: See TracChangeset for help on using the changeset viewer.