22let make = () => {
33 <main class = "min-h-screen bg-slate-50 text-slate-900 flex items-center justify-center p-6" >
44 <div
5- class = "max-w-2xl w-full bg-white rounded-2xl shadow-sm border border-slate-200 p-8 space-y-8" >
5+ class = "max-w-2xl w-full bg-white rounded-2xl shadow-sm border border-slate-200 p-8 space-y-8"
6+ >
67 <header class = "space-y-2" >
78 <p class = "text-xs uppercase tracking-widest text-slate-500" >
89 {View .text ("xote · ssr template" )}
910 </p >
10- <h1 class = "text-3xl font-semibold" >{View .text ("Welcome to xote" )}</h1 >
11+ <h1 class = "text-3xl font-semibold" > {View .text ("Welcome to xote" )} </h1 >
1112 <p class = "text-slate-600" >
1213 {View .text (
1314 "A clean slate for building reactive UIs in ReScript, rendered on the server and hydrated on the client." ,
1415 )}
1516 </p >
1617 </header >
1718 <section class = "space-y-2" >
18- <h2 class = "text-sm font-medium text-slate-700" >{View .text ("Tech stack" )}</h2 >
19+ <h2 class = "text-sm font-medium text-slate-700" > {View .text ("Tech stack" )} </h2 >
1920 <ul class = "text-sm text-slate-600 space-y-1 list-disc pl-5" >
2021 <li > {View .text ("ReScript v12 — typed language compiling to clean JavaScript" )} </li >
2122 <li > {View .text ("xote — fine-grained reactivity with SSR + hydration" )} </li >
@@ -24,10 +25,10 @@ let make = () => {
2425 </ul >
2526 </section >
2627 <section class = "space-y-2" >
27- <h2 class = "text-sm font-medium text-slate-700" >
28- { View . text ( "Reactive counter demo" )}
29- </ h2 >
30- <div class = "border border-slate-200 rounded-lg" > < Counter /> < /div >
28+ <h2 class = "text-sm font-medium text-slate-700" > { View . text ( "Reactive counter demo" )} </ h2 >
29+ < div class = "border border-slate-200 rounded-lg" >
30+ < Counter / >
31+ </div >
3132 <p class = "text-xs text-slate-500" >
3233 {View .text ("State is rendered on the server and survives hydration via SSRState." )}
3334 </p >
0 commit comments