;; Federation layout defcomps — read ctx values from env free variables. ;; `actor` is injected into env by the layout registration in __init__.py. ;; Full page: root header + social header in header-child (defcomp ~social-layout-full () (<> (~root-header) (~header-child-sx :inner (~federation-social-header :nav (~federation-social-nav :actor actor))))) ;; OOB (HTMX): social header oob + root header oob (defcomp ~social-layout-oob () (<> (~oob-header-sx :parent-id "root-header-child" :row (~federation-social-header :nav (~federation-social-nav :actor actor))) (~root-header :oob true)))