Changeset 0908b8f in Klonkt for src/views/partials/bottom-tab.ejs


Ignore:
Timestamp:
06/16/2026 01:40:49 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
6e9a95b
Parents:
57929aa
Message:

Circles: Circle nav link (desktop + mobile) when tenancy=circle

Without a menu entry /cirkel was unreachable in the UI — now a 'Circle' link
next to Archive (desktop) + in the bottom tab (mobile), only in circle mode.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/partials/bottom-tab.ejs

    r57929aa r0908b8f  
    5656    <span class="bottom-tab-label">Zoek</span>
    5757  </button>
     58
     59  <!-- Cirkel (alleen in circle-modus) -->
     60  <% if (typeof tenancy !== 'undefined' && tenancy === 'circle') { %>
     61    <a class="bottom-tab-item<%= _active === 'cirkel' ? ' is-active' : '' %>"
     62       href="<%= _siteUrlBase %>/cirkel"
     63       hx-get="<%= _siteUrlBase %>/cirkel?partial=1" hx-target="#pcms-main" hx-swap="innerHTML"
     64       hx-push-url="<%= _siteUrlBase %>/cirkel" hx-indicator="#pcms-loading">
     65      <svg class="bottom-tab-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>
     66      <span class="bottom-tab-label">Cirkel</span>
     67    </a>
     68  <% } %>
    5869
    5970  <!-- Plus (FAB-style, only when user can post) -->
Note: See TracChangeset for help on using the changeset viewer.