-
Notifications
You must be signed in to change notification settings - Fork 6
/
contactus.html
201 lines (189 loc) · 6.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
<!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">
<!-- 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>
<!-- 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:acm@gmail.com" style="text-decoration: none; color: white;">acm@gmail.com</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>