LandingPage.js
1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import React from "react";
import { makeStyles } from "@material-ui/core/styles";
import { Link } from "react-router-dom";
const useStyles = makeStyles((theme) => ({
root: {
position: "fixed",
minHeight: "100vh",
minWidth: "100vw",
backgroundColor: "rgba(0,0,0,0.8)",
},
title: {
color: "white",
fontSize: 50,
textAlign: "center",
marginLeft: "auto",
marginRight: "auto",
marginTop: "17rem",
width: "15rem",
},
content: {
color: "white",
textAlign: "center",
marginTop: "1rem",
marginLeft: "auto",
marginRight: "auto",
width: "20rem",
},
start: {
color: "white",
textAlign: "center",
marginTop: "1rem",
marginLeft: "auto",
marginRight: "auto",
padding: "7px 0 7px 0",
width: "10rem",
backgroundColor: "rgba(225,225,225,0.1)",
border: "1px solid white",
borderRadius: "15px",
},
}));
export default function LandingPage() {
const classes = useStyles();
return (
<div className={classes.root}>
<p className={classes.title}>Do-gether</p>
<p className={classes.content}>Sharing your TODO-LIST with others!</p>
<div className={classes.start}>
<Link to="/login" style={{textDecoration: "none",color:"white"}}>
click here to join!
</Link>
</div>
</div>
);
}