@@ -7,28 +7,11 @@ import CardHeader from '@material-ui/core/CardHeader';
7
7
import CssBaseline from '@material-ui/core/CssBaseline' ;
8
8
import Grid from '@material-ui/core/Grid' ;
9
9
import StarIcon from '@material-ui/icons/StarBorder' ;
10
-
11
10
import Typography from '@material-ui/core/Typography' ;
12
- import Link from '@material-ui/core/Link' ;
13
11
import { makeStyles } from '@material-ui/core/styles' ;
14
12
import Container from '@material-ui/core/Container' ;
15
- import Box from '@material-ui/core/Box' ;
16
- import { createTheme } from '@material-ui/core/styles' ;
17
- import NavigationBar from '@/components/navigationBar/navigationBar' ;
18
13
import { useHistory } from 'react-router-dom' ;
19
14
20
- function Copyright ( ) {
21
- return (
22
- < Typography variant = "body2" color = "textSecondary" align = "center" >
23
- { 'Copyright © ' }
24
- < Link color = "inherit" href = "https://material-ui.com/" >
25
- Your Website
26
- </ Link > { ' ' }
27
- { new Date ( ) . getFullYear ( ) }
28
- { '.' }
29
- </ Typography >
30
- ) ;
31
- }
32
15
33
16
const useStyles = makeStyles ( ( theme ) => ( {
34
17
'@global' : {
@@ -38,19 +21,6 @@ const useStyles = makeStyles((theme) => ({
38
21
listStyle : 'none' ,
39
22
} ,
40
23
} ,
41
- // appBar: {
42
- // borderBottom: `1px solid ${theme.palette.divider}`,
43
- // backgroundColor:"#224878"
44
- // },
45
- // toolbar: {
46
- // flexWrap: 'wrap',
47
- // },
48
- // toolbarTitle: {
49
- // flexGrow: 1,
50
- // },
51
- // link: {
52
- // margin: theme.spacing(1, 1.5),
53
- // },
54
24
heroContent : {
55
25
padding : theme . spacing ( 8 , 0 , 6 ) ,
56
26
} ,
@@ -60,7 +30,6 @@ const useStyles = makeStyles((theme) => ({
60
30
color :"#FFFFFF" ,
61
31
62
32
} ,
63
-
64
33
itemTitle : {
65
34
whiteSpace : 'pre-wrap'
66
35
} ,
@@ -112,24 +81,7 @@ const tiers = [
112
81
buttonVariant : 'outlined' ,
113
82
} ,
114
83
] ;
115
- // const footers = [
116
- // {
117
- // title: 'Company',
118
- // description: ['Team', 'History', 'Contact us', 'Locations'],
119
- // },
120
- // {
121
- // title: 'Features',
122
- // description: ['Cool stuff', 'Random feature', 'Team feature', 'Developer stuff', 'Another one'],
123
- // },
124
- // {
125
- // title: 'Resources',
126
- // description: ['Resource', 'Resource name', 'Another resource', 'Final resource'],
127
- // },
128
- // {
129
- // title: 'Legal',
130
- // description: ['Privacy policy', 'Terms of use'],
131
- // },
132
- // ];
84
+
133
85
134
86
export default function Home ( ) {
135
87
const classes = useStyles ( ) ;
@@ -189,14 +141,6 @@ export default function Home() {
189
141
190
142
/>
191
143
< CardContent >
192
- { /* <div className={classes.cardPricing}>
193
- <Typography component="h2" variant="h3" color="inherit">
194
- ${tier.price}
195
- </Typography>
196
- <Typography variant="h6" color="#FFFFFF">
197
- /mo
198
- </Typography>
199
- </div> */ }
200
144
< ul className = { classes . itemTitle } >
201
145
{ tier . description . map ( ( line ) => (
202
146
< Typography variant = "subtitle1" align = "center" key = { line } >
@@ -215,31 +159,6 @@ export default function Home() {
215
159
) ) }
216
160
</ Grid >
217
161
</ Container >
218
- { /* Footer */ }
219
- { /* <Container maxWidth="md" component="footer" className={classes.footer}>
220
- <Grid container spacing={4} justifyContent="space-evenly">
221
- {footers.map((footer) => (
222
- <Grid item xs={6} sm={3} key={footer.title}>
223
- <Typography variant="h6" color="textPrimary" gutterBottom>
224
- {footer.title}
225
- </Typography>
226
- <ul>
227
- {footer.description.map((item) => (
228
- <li key={item}>
229
- <Link href="#" variant="subtitle1" color="textSecondary">
230
- {item}
231
- </Link>
232
- </li>
233
- ))}
234
- </ul>
235
- </Grid>
236
- ))}
237
- </Grid>
238
- <Box mt={5}>
239
- <Copyright />
240
- </Box>
241
- </Container> */ }
242
- { /* End footer */ }
243
162
</ React . Fragment >
244
163
) ;
245
164
}
0 commit comments