Fix stale href in specs-explorer.sx

Convert /language/specs/<slug> to SX expression URL format.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-12 10:28:42 +00:00
parent 2076e1805f
commit f759cd6688

View File

@@ -35,8 +35,8 @@
(div
(h1 :class "text-2xl font-bold text-stone-800" title)
(p :class "text-sm text-stone-500 mt-1" desc))
(a :href (str "/language/specs/" slug)
:sx-get (str "/language/specs/" slug)
(a :href (str "/(language.(spec." slug "))")
:sx-get (str "/(language.(spec." slug "))")
:sx-target "#main-panel" :sx-select "#main-panel"
:sx-swap "outerHTML" :sx-push-url "true"
:class "text-sm text-violet-600 hover:text-violet-800 font-medium"