This repository has been archived by the owner on May 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3fa3199
commit 632547a
Showing
4 changed files
with
96 additions
and
5 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
[@react.component] | ||
let make = () => | ||
<div className="App"> {"Hello World" |> ReasonReact.string} </div>; | ||
let make = () => <Form />; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
let str = ReasonReact.string; | ||
|
||
[@react.component] | ||
let make = () => | ||
<div className="section is-fullheight"> | ||
<div className="container"> | ||
<div className="column is-4 is-offset-4"> | ||
<div className="box"> | ||
<form> | ||
<div className="field"> | ||
<label className="label"> {"Email Address" |> str} </label> | ||
<div className="control"> | ||
<input | ||
className="input" | ||
type_="email" | ||
name="email" | ||
required=true | ||
/> | ||
</div> | ||
</div> | ||
<div className="field"> | ||
<label className="label"> {"Password" |> str} </label> | ||
<div className="control"> | ||
<input | ||
className="input" | ||
type_="password" | ||
name="password" | ||
required=true | ||
/> | ||
</div> | ||
</div> | ||
<button | ||
type_="submit" className="button is-block is-info is-fullwidth"> | ||
{"Login" |> str} | ||
</button> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div>; |