[0.9.1] FORK_IA_UX v6: show the hive only on the home, keep content pages clean

The hexagon hive was rendered in the header on EVERY page (~210px), pushing real
content far down on Peers/Market/Inbox/etc. Now a middleware flag
(__OASIS_SHOW_HIVE__ = path is /activity or /) gates renderHiveNav so the hive is
the home hub only; other pages get just the fixed topbar and their content up top.
Personal/Community and the bottombar still navigate everywhere.
This commit is contained in:
s1to 2026-08-07 19:04:25 +02:00
parent 634625d134
commit 423e973f02
2 changed files with 4 additions and 2 deletions

View file

@ -1332,8 +1332,8 @@ const template = (titlePrefix, ...elements) => {
div(
{ class: uxMode === "ainav" ? "header ainav-only" : "header" },
renderMobileTopbar(),
// hive de vuelta en el header (bajo el topbar); Personal/Community filtran estos hexágonos
renderHiveNav()
// hive (hexágonos) SOLO en la home; en el resto de páginas el top queda limpio (solo topbar)
((typeof global !== "undefined" && global.__OASIS_SHOW_HIVE__) ? renderHiveNav() : "")
),
(() => {
const updateFlagPath = path.join(__dirname, '../server/.update_required');