forked from Anchal33/ACM-Chapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
contactus.html
309 lines (295 loc) · 10.6 KB
/
contactus.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
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
<!DOCTYPE html>
<html lang="en">
<head>
<title>ACM | Contact Us</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<<<<<<< HEAD
<!-- navbar toggler -->
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#nav" aria-controls="nav"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navigation__icon">
</span>
</label>
</button>
<div class="collapse navbar-collapse flex-row-reverse" id="nav">
<<<<<<< HEAD
<ul class="navbar-nav">
<li class="nav-item ">
<a class="nav-link" href="#about">About Us</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#events">Events</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#team">Office Bearers</a>
</li>
<li class="nav-item">
<a class="nav-link" href="contactus.html">Contact</a>
</li>
</ul>
=======
<ul class="navbar-nav">
<li class="nav-item mr-2">
<a class="nav-link" href="index.html">About Us</a>
</li>
<li class="nav-item mr-2">
<a class="nav-link" href="events.html">Events</a>
</li>
<li class="nav-item mr-2">
<a class="nav-link" href="officebearers.html">Office Bearers</a>
</li>
<li class="nav-item mr-2">
<a class="nav-link" href="gallery.html">Gallery</a>
</li>
<li class="nav-item mr-2">
<a class="nav-link" href="contactus.html">Contact</a>
</li>
</ul>
>>>>>>> 5d42d0b5e1ea0ee2b0beef6e05a0942d7110aa75
</div>
</nav>
<div class="hero-text-box">
<h1 class="heading">Contact Us</h1>
<p id="hero-para">
Facing issues or doubts ???
</p>
</div>
</header>
<div class="outer">
<div class="bottom">
<div class="top-poly"></div>
<div class="middle">
<div class="upper">
<h1>GET IN TOUCH</h1>
<p>
Lorem ipsum dolor sit, amet consectetur adipisicing elit.
</p>
</div>
<div class="top">
<form method="POST" name="contact-form" class="contact-form">
<div class="left">
<h6 class="drop">Drop a message</h6>
<div class="columns">
<div class="left-column">
<label>Full Name</label><br />
<input type="text" name="Name" /><br />
<label>Email</label><br />
<input type="email" name="Email" /><br />
</div>
<div class="right-column">
<label>Phone</label><br />
<input type="text" name="Phone" /><br />
<label>Subject</label><br />
<input type="text" name="Subject" /><br />
</div>
</div>
<label>Message</label><br />
<textarea rows="1" name="Query"></textarea><br />
<button class="btn">Send Message</button>
</div>
</form>
<div class="right">
<p class="header1">Contact Information LocationMap</p>
<p>
<i class="fa fa-map-marker" class="icon" aria-hidden="true"></i
>Lorem ipsum dolor sit amet consectetur adipisicing elit
</p>
<p>
<i class="fa fa-phone" class="icon" aria-hidden="true"></i
>+1234567890
</p>
<p>
<i class="fa fa-envelope" class="icon" aria-hidden="true"></i
><a href="mailto:[email protected]">[email protected]</a>
</p>
<p>
<i class="fa fa-globe" class="icon" aria-hidden="true"></i
><a href="">www.acm.com</a>
</p>
=======
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.14.0/css/all.css"
integrity="sha384-HzLeBuhoNPvSl5KYnjx0BT+WB0QEEqLprO+NBkkk5gbc67FTaL7XIGa2w1L0Xbgc" crossorigin="anonymous" />
<link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css" />
<link href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;1,300&display=swap"
rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&family=Roboto&family=Source+Sans+Pro&display=swap"
rel="stylesheet" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" />
<!-- Styles -->
<link rel="stylesheet" href="./css/contactus.css">
<link rel="stylesheet" href="./css/normalize.css" />
<link rel="stylesheet" href="./css/queries.css" />
</head>
<body>
<!-- Header -->
<header>
<nav class="navbar navbar-expand-lg">
<a class="navbar-brand" href="index.html">CHITKARA ACM<small>Student Chapter</small></a>
>>>>>>> 4d10746308726ef065de37011eb6663f421a74f1
<!-- navbar toggler -->
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#nav" aria-controls="nav"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navigation__icon">
</span>
</label>
</button>
<div class="collapse navbar-collapse flex-row-reverse" id="nav">
<ul class="navbar-nav">
<li class="nav-item mr-2">
<a class="nav-link" href="about.html">About Us</a>
</li>
<li class="nav-item mr-2">
<a class="nav-link" href="events.html">Events</a>
</li>
<li class="nav-item mr-2">
<a class="nav-link" href="officebearers.html">Office Bearers</a>
</li>
<li class="nav-item mr-2">
<a class="nav-link" href="gallery.html">Gallery</a>
</li>
<li class="nav-item mr-2">
<a class="nav-link" href="contactus.html">Contact</a>
</li>
</ul>
</div>
</nav>
<!-- <div class="hero-text-box">
<h1 class="heading">Gallery</h1>
<p id="hero-para">
Dive into best elements from Chitkara ACM family
</p>
<p class="heading"><a href="#gallery" id="contactusbtn">Take Me There</a></p>
</div> -->
</header>
<!-- Form -->
<div style="width: 100%;">
<div id="background-blue">
<div id="contact-form">
<div id="form">
<p id="drop"><b>Drop a message:</b></p>
<form method="POST" name="contact-form" class="contact-form">
<div id="contact-form-div-container">
<div class="contact-form-div">
<label>Name</label>
<input type="text" name="Name"><br><br>
<label>Email</label>
<input type="email" name="Email"><br><br>
</div>
<div class="contact-form-div">
<label>Phone</label>
<input type="number" name="Phone"><br><br>
<label>Subject</label>
<input type="text" name="Subject"><br><br>
</div>
</div>
<div class="contact-form-div">
<label>Message</label>
<textarea rows="1"></textarea>
</div>
<button type="submit" class="btn">Send Message</button>
</form>
</div>
<div id="info">
<p style="margin-top: 20px;">Contact Information LocationMap</p>
<p><i class="fa fa-map-marker" class="icon" aria-hidden="true"></i>Lorem ipsum dolor sit amet consectetur adipisicing elit</p>
<p><i class="fa fa-phone" class="icon" aria-hidden="true"></i>+1234567890</p>
<p><i class="fa fa-envelope" class="icon" aria-hidden="true"></i><a href="mailto:[email protected]" style="text-decoration: none; color: white;">[email protected]</a></p>
<p><i class="fa fa-globe" class="icon" aria-hidden="true"></i><a href="" style="text-decoration: none; color: white;">www.acm.com</a></p>
</div>
</div>
</div>
<div id="background-white">
</div>
</div>
<!-- Footer -->
<img src="css/images/waveFooter.png" width="100%">
<footer id="footer">
<div class="row">
<h3 class="line">CONNECT SOCIALLY</h3>
<ul class="social-links">
<li>
<a href="#"> <i class="ion-social-facebook"></i> </a>
</li>
<li>
<a href="#"> <i class="ion-social-twitter"></i> </a>
</li>
<li>
<a href="#"> <i class="ion-social-googleplus"></i> </a>
</li>
<li>
<a href="#"> <i class="ion-social-instagram"></i> </a>
</li>
</ul>
</div>
<div class="info">
<table>
<thead>
<tr>
<td>
<a class="foot-links" href="#about">About Us</a>
</td>
<td>
<a class="foot-links" href="#events">Events</a>
</td>
<td>
<a class="foot-links" href="#team">Office Bearers</a>
</td>
<td>
<a class="foot-links1" href="gallery.html">Gallery</a>
</td>
</tr>
</thead>
</table>
</div>
<div class="row">
<p>
Copyright © 2020 by CHITKARA University. All rights reserved.
</p>
</div>
</footer>
<!-- sticky navbar -->
<script>
const navbar = document.querySelector("nav"),
navposition = navbar.offsetTop;
document.addEventListener("scroll", () => {
if (window.pageYOffset > navposition) {
navbar.classList.add("sticky");
}
else {
navbar.classList.remove("sticky")
}
})
</script>
<!-- Internal script -->
<script src="script.js" charset="utf-8" defer></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script>
const scriptURL =
"https://script.google.com/macros/s/AKfycbxtDbsC7SbNnd0ISQ0Xf90T1mx4GVDsvY-bPa9KJjYPtCBxrvE/exec";
const form = document.forms["contact-form"];
$(".btn-success").click(function () {
$(".popup").removeClass("active");
$(".popup__content").removeClass("active");
location.reload(true);
});
form.addEventListener("submit", (e) => {
e.preventDefault();
console.log("h11");
$(".popup").addClass("active");
$(".popup__content").addClass("active");
e.preventDefault();
fetch(scriptURL, { method: "POST", body: new FormData(form) });
});
</script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"
></script>
</body>
</html>