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>
16 lines
820 B
Plaintext
16 lines
820 B
Plaintext
(defcomp ~essays/index/essays-index-content ()
|
|
(~docs/page :title "Essays"
|
|
(div :class "space-y-4"
|
|
(p :class "text-lg text-stone-600 mb-4"
|
|
"Opinions, rationales, and explorations around SX and the ideas behind it.")
|
|
(div :class "space-y-3"
|
|
(map (fn (item)
|
|
(a :href (get item "href")
|
|
:sx-get (get item "href") :sx-target "#main-panel" :sx-select "#main-panel"
|
|
:sx-swap "outerHTML" :sx-push-url "true"
|
|
:class "block rounded border border-stone-200 p-4 hover:border-violet-300 hover:bg-violet-50 transition-colors"
|
|
(div :class "font-semibold text-stone-800" (get item "label"))
|
|
(when (get item "summary")
|
|
(p :class "text-sm text-stone-500 mt-1" (get item "summary")))))
|
|
essays-nav-items)))))
|