Component names now reflect filesystem location using / as path separator and : as namespace separator for shared components: ~sx-header → ~layouts/header ~layout-app-body → ~shared:layout/app-body ~blog-admin-dashboard → ~admin/dashboard 209 files, 4,941 replacements across all services. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
18 lines
692 B
Plaintext
18 lines
692 B
Plaintext
;; Federation layout defcomps — fully self-contained via IO primitives.
|
|
;; Registered via register_sx_layout("social", ...) in __init__.py.
|
|
|
|
;; Full page: root header + social header in header-child
|
|
(defcomp ~layouts/social-layout-full ()
|
|
(<> (~root-header-auto)
|
|
(~shared:layout/header-child-sx
|
|
:inner (~social/header
|
|
:nav (~social/nav :actor (federation-actor-ctx))))))
|
|
|
|
;; OOB (HTMX): social header oob + root header oob
|
|
(defcomp ~layouts/social-layout-oob ()
|
|
(<> (~shared:layout/oob-header-sx
|
|
:parent-id "root-header-child"
|
|
:row (~social/header
|
|
:nav (~social/nav :actor (federation-actor-ctx))))
|
|
(~root-header-auto true)))
|