-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcontact.html
More file actions
319 lines (251 loc) · 11.8 KB
/
contact.html
File metadata and controls
319 lines (251 loc) · 11.8 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
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
310
311
312
313
314
315
316
317
318
319
<!DOCTYPE html>
<html lang="en">
<head>
<title>Contact Form</title>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@emailjs/browser@3/dist/email.min.js"></script>
<script type="text/javascript">
(function() {
// https://dashboard.emailjs.com/admin/account
emailjs.init('xQE06hLHtmTcweeBj');
})();
</script>
<script type="text/javascript">
window.onload = function() {
document.getElementById('contact-form').addEventListener('submit', function(event) {
event.preventDefault();
// generate a five digit number for the contact_number variable
// this.contact_number.value = Math.random() * 100000 | 0;
// these IDs from the previous steps
emailjs.sendForm('EmailJS Form Webmail', 'contact_form', this)
.then(function() {
console.log('SUCCESS!');
}, function(error) {
console.log('FAILED...', error);
});
});
}
</script>
<!--
<script type="text/javascript">
(function ($) {
"use strict";
/*==================================================================
[ Validate ]*/
var name = $('.validate-input input[name="name"]');
var email = $('.validate-input input[name="email"]');
var subject = $('.validate-input input[name="subject"]');
var message = $('.validate-input textarea[name="message"]');
$('.validate-form').on('submit',function(){
var check = true;
if($(name).val().trim() == ''){
showValidate(name);
check=false;
}
if($(subject).val().trim() == ''){
showValidate(subject);
check=false;
}
if($(email).val().trim().match(/^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{1,5}|[0-9]{1,3})(\]?)$/) == null) {
showValidate(email);
check=false;
}
if($(message).val().trim() == ''){
showValidate(message);
check=false;
}
return check;
});
$('.validate-form .input1').each(function(){
$(this).focus(function(){
hideValidate(this);
});
});
function showValidate(input) {
var thisAlert = $(input).parent();
$(thisAlert).addClass('alert-validate');
}
function hideValidate(input) {
var thisAlert = $(input).parent();
$(thisAlert).removeClass('alert-validate');
}
})(jQuery);
-->
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Q5VE4SE401"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-Q5VE4SE401');
</script>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>ESUC - Contact</title>
<meta content="" name="description">
<meta content="" name="keywords">
<!-- Favicons -->
<link href="assets/img/favicon.ico" rel="icon">
<link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon">
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<!-- Vendor CSS Files -->
<link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet">
<link href="assets/vendor/aos/aos.css" rel="stylesheet">
<link href="assets/vendor/glightbox/css/glightbox.min.css" rel="stylesheet">
<link href="assets/vendor/swiper/swiper-bundle.min.css" rel="stylesheet">
<link href="assets/vendor/remixicon/remixicon.css" rel="stylesheet">
<!-- Contact form stylesheets (from template)-->
<link rel="stylesheet" type="text/css" href="contact_form/vendor/animate/animate.css">
<link rel="stylesheet" type="text/css" href="contact_form/vendor/css-hamburgers/hamburgers.min.css">
<link rel="stylesheet" type="text/css" href="contact_form/vendor/select2/select2.min.css">
<link rel="stylesheet" type="text/css" href="contact_form/css/util.css">
<link rel="stylesheet" type="text/css" href="contact_form/css/main.css">
<!-- Template Main CSS File -->
<link href="assets/css/main.css" rel="stylesheet">
<!-- =======================================================
* Template Name: Nova - v1.2.1
* Template URL: https://bootstrapmade.com/nova-bootstrap-business-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
======================================================== -->
</head>
<body class="page-contact">
<!-- ======= Header ======= -->
<header id="header" class="header d-flex align-items-center fixed-top">
<div class="container-fluid container-xl d-flex align-items-center justify-content-between">
<a href="index.html" class="logo d-flex align-items-center">
<!-- Uncomment the line below if you also wish to use an image logo -->
<img src="assets/img/logo.png" alt="ESUC Logo">
<!-- <h1 class="d-flex align-items-center">ESUC</h1> -->
</a>
<i class="mobile-nav-toggle mobile-nav-show bi bi-list"></i>
<i class="mobile-nav-toggle mobile-nav-hide d-none bi bi-x"></i>
<nav id="navbar" class="navbar">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="engineering_calendar.html">Calendar</a></li>
<li><a href="photos.html">Photos</a></li>
<li><a href="board.html">Board</a></li>
<li><a href="sponsors.html">Sponsors</a></li>
<li class="dropdown"><a href="events.html"><span>Events</span> <i class="bi bi-chevron-down dropdown-indicator"></i></a>
<ul>
<li><a href="https://www.esuc.ucla.edu/eweek/" target="_blank" rel="noopener" class="esuc">Bruin Engineers Week</a></li>
<li><a href="https://www.esuc.ucla.edu/winter-orgs/" target="_blank" rel="noopener" class="esuc">W-SOAP</a></li>
<li><a href="https://www.esuc.ucla.edu/ewd-2025/" target="_blank" rel="noopener" class="esuc">EWD 2025</a></li>
<!-- <li class="dropdown"><a href="#"><span>Deep Dropdown</span> <i class="bi bi-chevron-down dropdown-indicator"></i></a>
<ul>
<li><a href="#">Deep Dropdown 1</a></li>
<li><a href="#">Deep Dropdown 2</a></li>
<li><a href="#">Deep Dropdown 3</a></li>
<li><a href="#">Deep Dropdown 4</a></li>
<li><a href="#">Deep Dropdown 5</a></li>
</ul>
</li> -->
</ul>
</li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav><!-- .navbar -->
</div>
</header><!-- End Header -->
<main id="main">
<!-- ======= Breadcrumbs ======= -->
<div class="breadcrumbs d-flex align-items-center" style="background-image: url('assets/img/photos/board/board4.jpg');">
<div class="container position-relative d-flex flex-column align-items-center">
<h2>Contact</h2>
<ol>
<li><a href="index.html">Home</a></li>
<li>Contact</li>
</ol>
</div>
</div><!-- End Breadcrumbs -->
<!-- ======= Contact Section ======= -->
<section id="contact" class="contact">
<div class="contact1">
<div class="container-contact1">
<div class="contact1-pic js-tilt" data-tilt>
<div class="container justify-content-center" data-aos="fade-up">
<div class="info-item d-flex justify-content-center">
<i class="bi bi-geo-alt flex-shrink-0"></i>
<div>
<h4>Location:</h4>
<p>5800 Boelter Hall, UCLA</p>
</div>
</div><!-- End Info Item -->
<div class="info-item d-flex justify-content-center">
<i class="bi bi-envelope flex-shrink-0"></i>
<div>
<h4>Email:</h4>
<p><a href="mailto:esuc.ucla@gmail.com" target="_blank" rel="noopener">esuc.ucla@gmail.com</a></p>
</div>
</div><!-- End Info Item -->
</div>
</div>
<form class="contact1-form validate-form" id = "contact-form">
<div class="container" data-aos="fade-up">
<span class="contact1-form-title">
Contact the Board
</span>
<div class="wrap-input1 validate-input" data-validate = "Name is required">
<input class="input1" type="text" name="from_name" placeholder="Name">
<span class="shadow-input1"></span>
</div>
<div class="wrap-input1 validate-input" data-validate = "Valid email is required: ex@abc.xyz">
<input class="input1" type="text" name="reply_to" placeholder="Your Email">
<span class="shadow-input1"></span>
</div>
<div class="wrap-input1 validate-input" data-validate = "Subject is required">
<input class="input1" type="text" name="subject" placeholder="Subject">
<span class="shadow-input1"></span>
</div>
<div class="wrap-input1 validate-input" data-validate = "Message is required">
<textarea class="input1" name="message" placeholder="Message"></textarea>
<span class="shadow-input1"></span>
</div>
<div class="container-contact1-form-btn">
<button class="contact1-form-btn" type = "submit" value = "Send">
<span>
Send Email
<i class="fa fa-long-arrow-right" aria-hidden="true"></i>
</span>
</button>
</div>
</div>
</form>
</div>
</div>
</section><!-- End Contact Section -->
</main><!-- End #main -->
<!-- ======= Footer ======= -->
<footer id="footer">
<div class="container d-md-flex py-4">
<!--
<div class="me-md-auto text-center text-md-start">
<div class="credits">
Developed by <strong><a href="https://www.philipdo.dev/">Philip Do</a>, Rahul Mallick, Rahul Ravi, & William Zhou</strong>
</div>
</div> -->
<div class="social-links text-center text-md-right pt-3 pt-md-0">
<a href="https://forms.gle/1HVUK9Wc1mYgN6EEA" class="esuc"><i class="bi bi-envelope"></i></a>
<a href="https://linktr.ee/esuc" target="_blank" rel="noopener" class="uip-urp"><i class="bi bi-files"></i></a>
<a href="https://www.instagram.com/esucla/" target="_blank" rel="noopener" class="instagram"><i class="bi bi-instagram"></i></a>
<a href="https://github.com/ESUC" target="_blank" rel="noopener" class="linkedin"><i class="bi bi-github"></i></a>
</div>
</div>
</footer><!-- End Footer -->
<a href="#" class="scroll-top d-flex align-items-center justify-content-center"><i class="bi bi-arrow-up-short"></i></a>
<div id="preloader"></div>
<!-- Vendor JS Files -->
<script src="assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="assets/vendor/aos/aos.js"></script>
<script src="assets/vendor/glightbox/js/glightbox.min.js"></script>
<script src="assets/vendor/swiper/swiper-bundle.min.js"></script>
<script src="assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
<script src="assets/vendor/php-email-form/validate.js"></script>
<!-- Template Main JS File -->
<script src="assets/js/main.js"></script>
</body>
</html>