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>
21 lines
763 B
Plaintext
21 lines
763 B
Plaintext
;; Events account-nav-item fragment handler
|
|
;; returns: sx
|
|
;;
|
|
;; Renders tickets + bookings links for the account dashboard nav.
|
|
|
|
(defhandler account-nav-item (&key)
|
|
(let ((styles (or (jinja-global "styles") (dict)))
|
|
(nav-class (or (get styles "nav_button") ""))
|
|
(hx-select "#main-panel, #search-mobile, #search-count-mobile, #search-desktop, #search-count-desktop, #menu-items-nav-wrapper"))
|
|
(<>
|
|
(~shared:misc/nav-group-link
|
|
:href (app-url "account" "/tickets/")
|
|
:hx-select hx-select
|
|
:nav-class nav-class
|
|
:label "tickets")
|
|
(~shared:misc/nav-group-link
|
|
:href (app-url "account" "/bookings/")
|
|
:hx-select hx-select
|
|
:nav-class nav-class
|
|
:label "bookings"))))
|