SXC content: docs/examples/home/reference pages + SX testing runner
New sxc/ content tree with 120 page files across docs, examples, home, and reference demos. sx/sx/testing/ adds page-runner.sx (317L) and index-runner.sx (394L) — SX-native test runner pages for browser-based evaluation. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
9
sx/sxc/reference/ref-data-sx-demo.sx
Normal file
9
sx/sxc/reference/ref-data-sx-demo.sx
Normal file
@@ -0,0 +1,9 @@
|
||||
(defcomp
|
||||
()
|
||||
(div
|
||||
(~tw :tokens "space-y-3")
|
||||
(div
|
||||
:data-sx "(div :class \"p-3 bg-violet-50 rounded\" (h3 :class \"font-semibold text-violet-800\" \"Client-rendered\") (p :class \"text-sm text-stone-600\" \"This was evaluated in the browser — no server request.\"))")
|
||||
(p
|
||||
(~tw :tokens "text-xs text-stone-400")
|
||||
"The content above is rendered client-side from the data-sx attribute.")))
|
||||
Reference in New Issue
Block a user