-
Notifications
You must be signed in to change notification settings - Fork 2
/
contact.html
219 lines (184 loc) · 6.1 KB
/
contact.html
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
<!DOCTYPE html>
<head>
<html lang="en">
<title>Contact</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat">
<link rel="icon" type="image/ico" sizes="32x32" href="favicon.ico">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="css/hackgwinnett.css">
<style>
body,
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "Lato", sans-serif
}
.w3-bar,
h1,
button {
font-family: "Montserrat", sans-serif
}
.fa-anchor,
.fa-coffee {
font-size: 200vw
}
textarea {
height: relative;
border: none;
}
.comment {
float: left;
width: 100%;
height: auto;
}
.commenter {
float: left;
}
.commenter img {
width: 35px;
height: 35px;
}
.comment-text-area {
float: left;
width: 100%;
height: auto;
}
.textinput {
float: left;
width: 100%;
min-height: 100px;
outline: none;
resize: none;
border: 1px solid grey;
}
input {
border: none;
width: 600px;
}
#contactTitle {
color: rgb(45, 45, 45);
font-weight: bolder;
font-size: 55px;
}
#subject,
#body {
background-color: rgb(180, 200, 180);
color: rgb(45, 45, 45);
font-family: Arial, Helvetica, sans-serif;
font-size: 17px;
}
#subject {
width: 40%;
min-height: 20px;
width: 600px;
outline: none;
resize: none;
}
#body {
width: 85%;
min-height: 200px;
width: 600px;
outline: none;
resize: none;
}
#divider {
height: 7px;
width: 350px;
}
#footer {
background-color: rgb(180, 200, 180);
}
body {
display: flex;
flex-direction: column;
height: 100vh;
justify-content: center;
}
@media only screen and (max-width: 768px) {
input, textarea {
width: 80vw !important;
}
}
</style>
</head>
<body>
<!-- Navbar -->
<div class="w3-top" style="flex-grow: 0">
<div class="w3-bar w3-green w3-card w3-left-align w3-large">
<a class="w3-bar-item w3-button w3-hide-medium w3-hide-large w3-right w3-padding-large w3-hover-white w3-large w3-green"
href="javascript:void(0);" onclick="myFunction()" title="Toggle Navigation Menu"><i class="fa fa-bars"></i></a>
<a href="index.html"><img id="homeImage" , src="images/homelogo.png" , class="w3-bar-block w3-hover-white" /></a>
<a href="q&a.html" class="w3-bar-item w3-button w3-hide-small w3-padding-large w3-hover-white">FAQ</a>
<a href="location.html" class="w3-bar-item w3-button w3-hide-small w3-padding-large w3-hover-white">Location</a>
<a href="contact.html" class="w3-bar-item w3-button w3-hide-small w3-padding-large w3-hover-white">Contact</a>
<a href="https://github.com/hackgwinnett"
class="w3-bar-item w3-button w3-hide-small w3-padding-large w3-hover-white" target="_blank">Github</a>
<a href="git.html" class="w3-bar-item w3-button w3-hide-small w3-padding-large w3-hover-white">Tools</a>
<a href="bulletin.html" class="w3-bar-item w3-button w3-hide-small w3-padding-large w3-hover-white">Bulletin</a>
<a href="https://hackgwinnett.github.io/blog"
class="w3-bar-item w3-button w3-hide-small w3-padding-large w3-hover-white">Blog</a>
</div>
<!-- Navbar on small screens -->
<div id="navDem" class="w3-bar-block w3-white w3-hide w3-hide-large w3-hide-medium">
<a href="index.html" class="w3-bar-item w3-button w3-padding-large">Home</a>
<a href="q&a.html" class="w3-bar-item w3-button w3-padding-large">FAQ</a>
<a href="location.html" class="w3-bar-item w3-button w3-padding-large">Location</a>
<a href="contact.html" class="w3-bar-item w3-button w3-padding-large">Contact</a>
<a href="https://github.com/hackgwinnett" class="w3-bar-item w3-button w3-padding-large">Github</a>
<a href="git.html" class="w3-bar-item w3-button w3-padding-large">Tools</a>
<a href="bulletin.html" class="w3-bar-item w3-button w3-padding-large">Archive</a>
<a href="https://hackgwinnett.github.io/blog" class="w3-bar-item w3-button w3-padding-large">Blog</a>
</div>
</div>
<!-- Header -->
<header class="w3-container w3-green w3-center" style="flex-grow: 1; display: flex; justify-content: center; align-items: center">
<form style="margin: 20px;">
<h1 id="contactTitle">Contact</h1>
<img id="divider" src="images/line.png" />
<br />
<br />
<br />
<input id="subject" placeholder="Subject" />
<br />
<br />
<div class="container" style="padding: 0; margin-bottom: 20px">
<div class="comment">
<textarea id="body" , placeholder="Body"></textarea>
</div>
</div>
<button id="reg-button" class="w3-button w3-round-large w3-padding-medium w3-large" ,
onclick="sendEmail()">Email</button>
</form>
</header>
</div>
</div>
</div>
<!-- Footer -->
<div id="footer" , class="w3-xlarge w3-padding-32 w3-center">
<a target="_blank" href="https://www.instagram.com/hackgwinnett/" class="fa fa-instagram w3-hover-opacity"></a>
</div>
<script>
// Used to toggle the menu on small screens when clicking on the menu button
function myFunction() {
var x = document.getElementById("navDemo");
if (x.className.indexOf("w3-show") == -1) {
x.className += " w3-show";
} else {
x.className = x.className.replace(" w3-show", "");
}
}
function sendEmail() {
var subject = document.getElementById("subject").value;
var body = document.getElementById("body").value;
window.open("mailto:[email protected]?subject=" + subject + "&body=" + body);
}
</script>
</body>
</html>