@@ -75,7 +75,7 @@ export {
7575 <div className = "relative w-full pt-6 pb-8 sm:px-8 md:px-16 max-w-[1400px]" >
7676 // Playground widget
7777 <div
78- className = "relative z-2 flex flex-col md:flex-row bg-gray-90 mx-auto sm:rounded-lg max-w-[1280px] "
78+ className = "relative z-2 flex flex-col md:flex-row bg-gray-90 mx-auto sm:rounded-lg max-w-1280 "
7979 >
8080 //Left Side (ReScript)
8181 <div className = "md:w-1/2" >
@@ -105,11 +105,12 @@ export {
105105
106106 /* ---Link to Playground--- */
107107 <div >
108- // <ReactRouter.Link
109- // to={(`/try?code=${encodeURIComponent(example.res)}}` :> ReactRouter.Link.to)}
110- // className="captions md:px-0 border-b border-gray-40 hover:border-gray-60 text-gray-60">
111- // {React.string("Edit this example in Playground")}
112- // </ReactRouter.Link>
108+ <ReactRouter .Link .String
109+ to = {` /try?code=${encodeURIComponent(example.res)}}` }
110+ className = "captions md:px-0 border-b border-gray-40 hover:border-gray-60 text-gray-60"
111+ >
112+ {React .string ("Edit this example in Playground" )}
113+ </ReactRouter .Link .String >
113114 </div >
114115 //
115116 <div className = "hidden md:block" >
@@ -236,7 +237,7 @@ module QuickInstall = {
236237 }
237238 @react.component
238239 let make = () => {
239- <div className = "w-full max-w-[400px] " >
240+ <div className = "w-full max-w-400 " >
240241 <h2 className = "hl-3 lg:mt-12" > {React .string ("Quick Install" )} </h2 >
241242 <div className = "captions x text-gray-40 mb-2 mt-1" >
242243 {React .string (
@@ -595,17 +596,15 @@ module CuratedResources = {
595596 descr : "Get started with ViteJS and ReScript." ,
596597 href : "https://github.com/rescript-lang/create-rescript-app/blob/master/templates/rescript-template-vite/README.md" ,
597598 },
598- // {
599- // imgSrc: "/nodejs_starter_logo.svg",
600- // title: <>
601- // <div> {React.string("ReScript & ")} </div>
602- // <div className="text-gray-40" style={ReactDOM.Style.make(~color="#699D65", ())}>
603- // {React.string("NodeJS")}
604- // </div>
605- // </>,
606- // descr: "Get started with ReScript targeting the Node platform.",
607- // href: "/",
608- // },
599+ {
600+ imgSrc : "/nodejs_starter_logo.svg" ,
601+ title : <>
602+ <div > {React .string ("ReScript & " )} </div >
603+ <div className = "text-gray-40" style = {{color : "#699D65" }}> {React .string ("NodeJS" )} </div >
604+ </>,
605+ descr : "Get started with ReScript targeting the Node platform." ,
606+ href : "/" ,
607+ },
609608 ]
610609
611610 @react.component
@@ -624,7 +623,7 @@ module CuratedResources = {
624623 <div className = "body-lg text-center z-2 relative text-gray-40 max-w-48 mx-auto bg-gray-100" >
625624 {React .string ("Guides and Docs" )}
626625 </div >
627- <hr className = "bg-gray-80 h-px border-0 relative top-[-12px] " />
626+ <hr className = "bg-gray-80 h-px border-0 relative - top-3 " />
628627 </div >
629628
630629 //divider
@@ -653,7 +652,7 @@ module CuratedResources = {
653652 <div className = "body-lg text-center z-2 relative text-gray-40 w-32 mx-auto bg-gray-100" >
654653 {React .string ("Templates" )}
655654 </div >
656- <hr className = "bg-gray-80 h-px border-0 relative top-[-12px] " />
655+ <hr className = "bg-gray-80 h-px border-0 relative - top-3 " />
657656 </div >
658657 <div
659658 className = "grid grid-flow-col grid-cols-2 lg:grid-cols-3 lg:grid-rows-1 gap-2 md:gap-4 lg:gap-8 max-w-1280 px-5 md:px-8 mx-auto"
0 commit comments