Initial commit
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 4m2s
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 4m2s
This commit is contained in:
13
client/src/pages/Home/Home.jsx
Normal file
13
client/src/pages/Home/Home.jsx
Normal file
@ -0,0 +1,13 @@
|
||||
import "./styles.sass";
|
||||
import {StateContext} from "@/common/contexts/StateContext";
|
||||
import {useContext} from "react";
|
||||
|
||||
export const Home = () => {
|
||||
const {setCurrentState} = useContext(StateContext);
|
||||
|
||||
return (
|
||||
<div className="home-page">
|
||||
<h2>ToneGuessr</h2>
|
||||
</div>
|
||||
);
|
||||
}
|
1
client/src/pages/Home/index.js
Normal file
1
client/src/pages/Home/index.js
Normal file
@ -0,0 +1 @@
|
||||
export {Home as default} from "./Home";
|
8
client/src/pages/Home/styles.sass
Normal file
8
client/src/pages/Home/styles.sass
Normal file
@ -0,0 +1,8 @@
|
||||
.home-page
|
||||
display: flex
|
||||
align-items: center
|
||||
justify-content: center
|
||||
height: 100vh
|
||||
|
||||
h2
|
||||
font-size: 48pt
|
Reference in New Issue
Block a user