Changeset 9f81a09 in Klonkt for src/views/partials/topnav.ejs


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/topnav.ejs

    r43dbf9c r9f81a09  
    6464          <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 8v13H3V8"/><rect x="1" y="3" width="22" height="5" rx="1"/><line x1="10" y1="12" x2="14" y2="12"/></svg>
    6565          <span class="nav-label">Archief</span>
    66         </a>
    67       <% } %>
    68 
    69       <% if (typeof tenancy !== 'undefined' && tenancy === 'circle') { %>
    70         <a class="nav-link" href="<%= _siteUrlBase %>/cirkel"
    71            hx-get="<%= _siteUrlBase %>/cirkel?partial=1" hx-target="#pcms-main"
    72            hx-swap="innerHTML" hx-push-url="<%= _siteUrlBase %>/cirkel"
    73            hx-indicator="#pcms-loading">
    74           <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="8" cy="9" r="3.2"/><circle cx="16.5" cy="15" r="3.2"/><path d="M10.6 10.9l3.3 2.4"/></svg>
    75           <span class="nav-label">Cirkel</span>
    7666        </a>
    7767      <% } %>
Note: See TracChangeset for help on using the changeset viewer.