Ignore:
Timestamp:
06/20/2026 07:22:21 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
68b27a4
Parents:
cf7c2d9
Message:

feat(nav): Agenda IN the Timeline/Grid pill (Agenda · Timeline · Grid)

Agenda link moved to the first item inside the view-switcher pill, with
exactly the same sizing as the Timeline/Grid buttons. Own class (.vs-agenda),
so the view-toggle handler doesn't touch it — navigation via the global
link-boost.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/partials/view-switcher.ejs

    rcf7c2d9 rd7b5a6c  
    55<div class="view-switcher-wrap">
    66  <div class="container">
    7     <% if (typeof premiumUnlocked !== 'undefined' && premiumUnlocked) {
    8          var _sbA = (typeof siteUrlBase !== 'undefined' && siteUrlBase) ? siteUrlBase : '';
    9     %>
    10     <a class="vs-agenda" href="<%= _sbA %>/shows" aria-label="Agenda — evenementen">
    11       <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="4" width="18" height="18" rx="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/></svg>
    12       <span>Agenda</span>
    13     </a>
    14     <% } %>
    157    <% if (typeof tenancy !== 'undefined' && tenancy === 'circle') {
    168         var _onCirkel = (typeof bodyClass === 'string' && bodyClass.indexOf('on-cirkel') >= 0);
     
    2517    <% } %>
    2618    <div class="view-switcher" role="tablist" aria-label="Weergave">
     19      <% if (typeof premiumUnlocked !== 'undefined' && premiumUnlocked) {
     20           var _sbA = (typeof siteUrlBase !== 'undefined' && siteUrlBase) ? siteUrlBase : '';
     21      %>
     22      <a class="vs-agenda" href="<%= _sbA %>/shows" aria-label="Agenda — evenementen">
     23        <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="4" width="18" height="18" rx="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/></svg>
     24        <span>Agenda</span>
     25      </a>
     26      <% } %>
    2727      <button type="button" class="view-switch-btn" data-view="timeline" role="tab"
    2828              aria-selected="<%= (typeof site !== 'undefined' && site && site.feed_view_default === 'grid') ? 'false' : 'true' %>">
Note: See TracChangeset for help on using the changeset viewer.