Ignore:
Timestamp:
06/16/2026 01:56:56 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
d2c43f9
Parents:
43dbf9c
Message:

Circles: Solo/Circle scope toggle in the switcher bar (left) + Circle nav link removed

  • view-switcher: Solo/Circle segmented toggle on the left (circle mode only), full navigation (body-class/grid-CSS guaranteed correct).
  • style.css: feed-scope buttons + on-cirkel added to grid-toggle rules (grid/timeline now also switches on /cirkel).
  • topnav + bottom-tab: the standalone Circle nav link removed (replaced by the toggle).

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

File:
1 edited

Legend:

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

    r43dbf9c r9f81a09  
    55<div class="view-switcher-wrap">
    66  <div class="container">
     7    <% if (typeof tenancy !== 'undefined' && tenancy === 'circle') {
     8         var _onCirkel = (typeof bodyClass === 'string' && bodyClass.indexOf('on-cirkel') >= 0);
     9         var _sb = (typeof siteUrlBase !== 'undefined' && siteUrlBase) ? siteUrlBase : '';
     10    %>
     11    <div class="feed-scope" role="tablist" aria-label="Solo of cirkel">
     12      <a class="feed-scope-btn<%= _onCirkel ? '' : ' is-active' %>" href="<%= _sb %>/"
     13         role="tab" aria-selected="<%= _onCirkel ? 'false' : 'true' %>">Solo</a>
     14      <a class="feed-scope-btn<%= _onCirkel ? ' is-active' : '' %>" href="<%= _sb %>/cirkel"
     15         role="tab" aria-selected="<%= _onCirkel ? 'true' : 'false' %>">Cirkel</a>
     16    </div>
     17    <% } %>
    718    <div class="view-switcher" role="tablist" aria-label="Weergave">
    819      <button type="button" class="view-switch-btn" data-view="timeline" role="tab"
Note: See TracChangeset for help on using the changeset viewer.