All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m20s
Replace all 676 inline sexp() string calls across 7 services with render(component_name, **kwargs) calls backed by 46 external .sexpr component definition files (587 defcomps total). - Add render() function to shared/sexp/jinja_bridge.py - Add load_service_components() helper and update load_sexp_dir() for *.sexpr - Update parser keyword regex to support HTMX hx-on::event syntax - Convert remaining inline HTML in route files to render() calls - Add shared/sexp/templates/misc.sexp for cross-service utility components Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
13 lines
514 B
Plaintext
13 lines
514 B
Plaintext
;; Cart calendar entry components
|
|
|
|
(defcomp ~cart-cal-entry (&key name date-str cost)
|
|
(li :class "flex items-start justify-between text-sm"
|
|
(div (div :class "font-medium" (raw! name))
|
|
(div :class "text-xs text-stone-500" (raw! date-str)))
|
|
(div :class "ml-4 font-medium" (raw! cost))))
|
|
|
|
(defcomp ~cart-cal-section (&key items-html)
|
|
(div :class "mt-6 border-t border-stone-200 pt-4"
|
|
(h2 :class "text-base font-semibold mb-2" "Calendar bookings")
|
|
(ul :class "space-y-2" (raw! items-html))))
|