Changeset 6224462 in Klonkt for src/views/shell.ejs


Ignore:
Timestamp:
06/16/2026 10:56:49 PM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
09ac0a5
Parents:
9915786
Message:

Hub: show bottom tab (Home/Search/Login) on the hub landing too

The bottom tab fell under bareChrome → disappeared on the hub-home (no nav
on mobile). Now shown everywhere except auth screens. canCreatePost hardened
against a null site (hub landing without a site context) so the tab does not
crash for logged-in members.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/shell.ejs

    r9915786 r6224462  
    294294<%- include('partials/footer') %>
    295295
    296 <!-- Mobile bottom-tab navigation (auto-hidden ≥768px) — niet op landing/auth -->
    297 <% if (!bareChrome) { %>
     296<!-- Mobile bottom-tab navigation (auto-hidden ≥768px). Toont overal — óók op de
     297     hub-landing (zodat mobiel altijd Home/Zoek/Inloggen heeft) — behalve op de
     298     auth-focusschermen. -->
     299<% if (!(typeof bodyClass === 'string' && bodyClass.indexOf('on-auth') >= 0)) { %>
    298300<%- include('partials/bottom-tab') %>
    299301<% } %>
Note: See TracChangeset for help on using the changeset viewer.