Changeset b200738 in Klonkt for src/views/partials/chrome.ejs


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@…>

File:
1 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;
Note: See TracChangeset for help on using the changeset viewer.