diff --git a/sx/sx/geography/index.sx b/sx/sx/geography/index.sx index 54b3b92..1575b30 100644 --- a/sx/sx/geography/index.sx +++ b/sx/sx/geography/index.sx @@ -2,7 +2,7 @@ ;; Describes the rendering pipeline: OCaml evaluator → wire formats → client (defcomp ~geography/index-content () :affinity :server - (<> + (div :class "max-w-4xl mx-auto px-6 pb-8 pt-4" (h2 :class "text-3xl font-bold text-stone-800 mb-4" "Geography") (p :class "text-lg text-stone-600 mb-8" "Where code runs and how it gets there. Geography maps the rendering pipeline from server-side evaluation through wire formats to client-side hydration.") diff --git a/sx/sx/page-functions.sx b/sx/sx/page-functions.sx index cf4b627..b507a8c 100644 --- a/sx/sx/page-functions.sx +++ b/sx/sx/page-functions.sx @@ -61,7 +61,7 @@ (define geography (fn (content) - (if (nil? content) nil content))) + (if (nil? content) '(~geography/index-content) content))) (define applications (fn (content)