From c06bce7fdab23e52d33636e3585c86d48c0bfa91 Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Sun, 12 Jan 2020 14:16:26 +0300 Subject: Markup initial Profile page with empty form --- src/index.js | 15 +++++++-------- src/pages/Profile/Profile.js | 45 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 8 deletions(-) create mode 100644 src/pages/Profile/Profile.js diff --git a/src/index.js b/src/index.js index 0c3d415..f90c39a 100644 --- a/src/index.js +++ b/src/index.js @@ -10,6 +10,7 @@ import Header from './components/Header/Header'; import Timer from "./pages/Timer/Timer"; import Scoreboard from "./pages/Scoreboard/Scoreboard"; import Contribute from "./pages/Contribute/Contribute"; +import Profile from "./pages/Profile/Profile"; const App = () => { @@ -28,19 +29,17 @@ const App = () => { /> ); + case 'profile': + return ; + case 'scoreboard': - return (); + return ; case 'contribute': - return (); + return ; default: - return ( -

- This text is rendered outside of Header component, but - interacting with Header can influence content of this page! -

- ) + return ; } }; diff --git a/src/pages/Profile/Profile.js b/src/pages/Profile/Profile.js new file mode 100644 index 0000000..3b0de1e --- /dev/null +++ b/src/pages/Profile/Profile.js @@ -0,0 +1,45 @@ +import React from 'react'; +import Window from "../../components/Window/Window"; +import ContentSection from "../../components/ContentSection/ContentSection"; + +import { + TextField, + Button, + Typography, + makeStyles, +} from "@material-ui/core"; + + +const useStyles = makeStyles(theme => ({ + primary: { + padding: theme.spacing(4) + }, +})); + +const Profile = () => { + const classes = useStyles(); + + return ( + <> + +
+ +

Here is some text about why you should register at ChronoCube:

+

+ +

+ +
+
+
+ + + + + ) +}; + + +export default Profile; -- cgit v1.2.3