-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathHomeFeatures.js
64 lines (62 loc) · 1.45 KB
/
HomeFeatures.js
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
58
59
60
61
62
63
64
import React from "react";
import Chip from "@material-ui/core/Chip";
import Grid from "@material-ui/core/Grid";
import Avatar from "@material-ui/core/Avatar";
import withStyles from "@material-ui/styles/withStyles";
import { Robot } from "mdi-material-ui";
const styles = theme => ({
featureChip: {
fontSize: "16px",
backgroundColor: "#fff",
border: "1pt solid #eee",
},
featureChipRight: {
fontSize: "16px",
backgroundColor: "#fff",
border: "1pt solid #eee",
float: "right",
},
featureGrid: {
marginBottom: "25px",
},
avi: {
width: "40px",
height: "40px",
color: "#fff",
backgroundColor: theme.palette.secondary.light,
},
});
const HomeFeatures = props => {
return (
<Grid
className={props.classes.featureGrid}
container
justify="center"
spacing={8}
>
<Grid item md={6}>
<Chip
avatar={
<Avatar className={props.classes.avi}>
<Robot />
</Avatar>
}
className={props.classes.featureChipRight}
label="Uses Material UI"
/>
</Grid>
<Grid item md={6}>
<Chip
avatar={
<Avatar className={props.classes.avi}>
<Robot />
</Avatar>
}
className={props.classes.featureChip}
label="Uses Material Icons"
/>
</Grid>
</Grid>
);
};
export default withStyles(styles)(HomeFeatures);