Skip to content

Commit 682f48f

Browse files
committed
simplify landing page
1 parent 9af5f02 commit 682f48f

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

src/layouts/LandingPageLayout.res

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
1-
open LandingPage
1+
module Intro = {
2+
@react.component
3+
let make = () => {
4+
<section className="flex justify-center">
5+
<div className="max-w-1060 flex flex-col items-center px-5 sm:px-8 lg:box-content">
6+
<h1 className="hl-title text-center max-w-212">
7+
{React.string("Fast, Simple, Fully Typed JavaScript from the Future")}
8+
</h1>
9+
<h2 className="body-lg text-center text-gray-60 my-4 max-w-md">
10+
{React.string(`ReScript is a robustly typed language that compiles to efficient
11+
and human-readable JavaScript. It comes with a lightning fast
12+
compiler toolchain that scales to any codebase size.`)}
13+
</h2>
14+
<div className="mt-4 mb-2">
15+
<ReactRouter.Link to=#"docs/manual/installation">
16+
<Button> {React.string("Get started")} </Button>
17+
</ReactRouter.Link>
18+
</div>
19+
</div>
20+
</section>
21+
}
22+
}
223

324
module PlaygroundHero = {
425
type example = {

0 commit comments

Comments
 (0)