diff options
| author | realtradam <[email protected]> | 2024-03-09 18:02:08 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2024-03-09 18:02:08 -0500 |
| commit | f02c76e4d922a2696f7ab69e0735be9048942d7b (patch) | |
| tree | 7adaf500fc89fe8dddd996822480afc6012d8068 /app/javascript/components/Home.jsx | |
| parent | fdd9a2ef16b9401048f0c6b743c09ddcb52a8516 (diff) | |
| download | gameHolster-f02c76e4d922a2696f7ab69e0735be9048942d7b.tar.gz gameHolster-f02c76e4d922a2696f7ab69e0735be9048942d7b.zip | |
Configure react as the frontend
Diffstat (limited to 'app/javascript/components/Home.jsx')
| -rw-r--r-- | app/javascript/components/Home.jsx | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app/javascript/components/Home.jsx b/app/javascript/components/Home.jsx new file mode 100644 index 0000000..b6c21e2 --- /dev/null +++ b/app/javascript/components/Home.jsx @@ -0,0 +1,23 @@ +import React from "react"; +import { Link } from "react-router-dom"; + +export default () => ( + <div className="vw-100 vh-100 primary-color d-flex align-items-center justify-content-center"> + <div className="jumbotron jumbotron-fluid bg-transparent"> + <div className="container secondary-color"> + <h1 className="display-4">Games!</h1> + <p className="lead"> + All the games I have worked on that run on the web! + </p> + <hr className="my-4" /> + <Link + to="/games" + className="btn btn-lg custom-button" + role="button" + > + View Games + </Link> + </div> + </div> + </div> +); |
