feat(web): C4 conditional nav with when and media columns

Filter nav/sidebar/footer by auth/guest/hide and emit responsive media CSS; stamp _logged_in from session on listen.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-09-04 13:54:53 +08:00
1 parent 7670673a39
commit 027b19c5db
9 files changed
+523 -77

No files matched your search

+2
View File
@@ -218,6 +218,8 @@ Default `?v=` bump for head scripts/styles that omit a per-row `version` column.
+ `components`
Assemble nav / sidebar / footer from a page table (`|组件|样式|` or `|src|style|`).
Nav bind tables may include optional `媒体`/`media` (responsive show) and `当`/`when`
(`auth` / `guest` / `hide`) columns — see C4 conditional nav.
**> web_compose_components page=`self` components=`components`**