-
Notifications
You must be signed in to change notification settings - Fork 0
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
2c53beb
commit 51bbcec
Showing
10 changed files
with
82 additions
and
36 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.
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
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 +1 @@ | ||
Js.Console.log("yo"); | ||
ReactDOMRe.renderToElementWithId(<MainPage />, "main-page-app"); |
This file was deleted.
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,45 @@ | ||
[@react.component] | ||
let make = () => | ||
<MaterialUi_WithStyles | ||
classes=[ | ||
{ | ||
name: "errorLogoContainer", | ||
styles: ReactDOMRe.Style.make(~textAlign="right", ()), | ||
}, | ||
{ | ||
name: "errorLogo", | ||
styles: | ||
ReactDOMRe.Style.make(~maxHeight="75px", ~maxWidth="60px", ()), | ||
}, | ||
...SharedClasses.classes, | ||
] | ||
render={classes => | ||
MaterialUi.( | ||
<section> | ||
<Container maxWidth=`Md> | ||
<Paper className=classes##pageTopMargin> | ||
<Grid container=true spacing=V4> | ||
<Grid item=true xs=`V4 className=classes##errorLogoContainer> | ||
<img src="/icons/dead.svg" className=classes##errorLogo /> | ||
</Grid> | ||
<Grid item=true xs=`V8> | ||
<Typography variant=`H3> | ||
{React.string("Oops!")} | ||
</Typography> | ||
</Grid> | ||
<Grid item=true xs=`V2 /> | ||
<Grid item=true xs=`V8> | ||
<Typography variant=`Body1> | ||
{React.string( | ||
"It looks like something went wrong! Please wait a few minutes and try again.", | ||
)} | ||
</Typography> | ||
</Grid> | ||
<Grid item=true xs=`V2 /> | ||
</Grid> | ||
</Paper> | ||
</Container> | ||
</section> | ||
) | ||
} | ||
/>; |
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
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,8 @@ | ||
[@react.component] | ||
let make = () => | ||
<MaterialUi_WithStyles | ||
classes=SharedClasses.classes | ||
render={classes => | ||
MaterialUi.(<section> <Container maxWidth=`Md /> </section>) | ||
} | ||
/>; |
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,15 @@ | ||
type style = { | ||
name: String.t, | ||
styles: ReactDOMRe.Style.t, | ||
}; | ||
|
||
let classes: list(MaterialUi_WithStyles.style) = [ | ||
{ | ||
name: "buttonMargin", | ||
styles: ReactDOMRe.Style.make(~marginLeft="6px", ~marginRight="6px", ()), | ||
}, | ||
{ | ||
name: "pageTopMargin", | ||
styles: ReactDOMRe.Style.make(~marginTop="7vh", ()), | ||
}, | ||
]; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.