;; 404 Not Found page content (defcomp ~not-found/content (&key (path :as string?)) (div :class "max-w-3xl mx-auto px-4 py-12 text-center" (h1 :style (tw "text-stone-800 text-3xl font-bold") "404") (p :class "mt-4" :style (tw "text-stone-500 text-lg") "Page not found") (when path (p :class "mt-2" :style (tw "text-stone-400 text-sm font-mono") path)) (a :href "/sx/" :sx-get "/sx/" :sx-target "#main-panel" :sx-select "#main-panel" :sx-swap "outerHTML" :sx-push-url "true" :class "inline-block mt-6 px-4 py-2 rounded border transition-colors" :style (tw "text-violet-700 text-sm border-violet-200") "Back to home")))