-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathContact.js
More file actions
98 lines (95 loc) · 2.59 KB
/
Copy pathContact.js
File metadata and controls
98 lines (95 loc) · 2.59 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
import React from "react";
import { makeStyles } from "@material-ui/core/styles";
import Avatar from "@material-ui/core/Avatar";
import TextField from "@material-ui/core/TextField";
import Button from "@material-ui/core/Button";
import Facebook from "./images/Facebook.svg";
import Github from "./images/Github.svg";
import Instagram from "./images/Instagram.svg";
import Slack from "./images/Slack.png";
const useStyles = makeStyles((theme) => ({
background: {
backgroundColor: "#0f3057",
},
heading1: {
paddingLeft: "37%",
paddingTop: "10%",
},
heading2: {
paddingLeft: "30%",
},
root: {
display: "flex",
paddingLeft: "41%",
paddingRight: "41%",
"& > *": {
margin: theme.spacing(2),
},
},
input: {
paddingLeft: "30%",
paddingRight: "30%",
},
}));
export default function ImageAvatars() {
const classes = useStyles();
return (
<div className={classes.background}>
<h1 className={classes.heading1}>Stay Connected With OpenCode</h1>
<div className={classes.root}>
<Avatar alt="F">
<a href="https://www.facebook.com/OpenCodeCommunity/">
<img width="100%" height="100%" src={Facebook} alt="F" />
</a>
</Avatar>
<Avatar alt="G">
<a href=" https://github.com/opencodenitr">
<img width="100%" height="100%" src={Github} alt="G" />
</a>
</Avatar>
<Avatar alt="I">
<a href="https://www.instagram.com/opencode.nitr/">
<img width="100%" height="100%" src={Instagram} alt="I" />
</a>
</Avatar>
<Avatar alt="S">
<a href="http://bit.ly/NITRDevs">
<img width="100%" height="100%" src={Slack} alt="M" />
</a>
</Avatar>
</div>
<h1 className={classes.heading2}>
Please provide any comments or suggestions below!
</h1>
<div className={classes.input}>
<TextField
id="outlined-textarea"
label="Email:"
placeholder="Enter you email here!"
multiline
fullWidth
margin="normal"
variant="outlined"
/>
<TextField
id="outlined-textarea"
label="Comments:"
placeholder="Please enter your comments here!"
multiline
fullWidth
margin="normal"
variant="outlined"
/>
<Button
onClick={() => alert("Thanks for the feedback")}
variant="contained"
color="secondary"
>
Submit
</Button>
</div>
</div>
);
}