-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcontact.html
483 lines (398 loc) · 20.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
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
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Newage Dispatch</title>
<link rel="icon" type="image/png" href="image/title logo.png">
<!-- CSS FILES -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/bootstrap-icons.css" rel="stylesheet">
<link href="css/newage.css" rel="stylesheet">
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" />
<style>
.about_main {
background-image: url("image/Slider image/shipping.jpg");
background-repeat: no-repeat;
background-size: cover;
background-position: center;
height: 60vh;
background-color: rgba(50, 79, 108, 0.6);
background-blend-mode: overlay;
padding: 20px !important;
}
.contact {
background-image: url("image/contact.jpg");
background-repeat: no-repeat;
background-size: cover;
background-position: center;
height: 60vh;
background-color: rgba(0, 9, 17, 0.6);
background-blend-mode: overlay;
padding: 20px !important;
}
@media screen and (max-width: 981px) {
.phoneMargin {
margin-top: 13px !important;
}
.mapframe {
width: 350px !important;
}
}
</style>
</head>
<body>
<header class="site-header">
<div class="container">
<div class="row">
<div class="col-lg-8 col-12 d-flex flex-wrap">
<p class="d-flex me-4 mb-0">
<i class="bi-geo-alt me-2"></i>
784 S. Clearwater Loop #4091 Post Falls, ID 83854
</p>
<p class="d-flex mb-0">
<i class="bi-envelope me-2"></i>
<a href="mailto:[email protected]">
</a>
</p>
</div>
<div class="col-lg-3 col-12 ms-auto d-lg-block d-none">
<ul class="social-icon">
<li class="social-icon-item">
<a href="https://www.facebook.com/newagellc" class="social-icon-link bi-facebook"
target="_blank"></a>
</li>
<li class="social-icon-item">
<a href="https://www.instagram.com/newage_dispatch" class="social-icon-link bi-instagram"
target="_blank"></a>
</li>
<li class="social-icon-item">
<a href="https://www.linkedin.com/company/newage-dispatch"
class="social-icon-link bi-linkedin" target="_blank"></a>
</li>
</ul>
</div>
</div>
</div>
</header>
<nav class="navbar navbar-expand-lg bg-light shadow-lg">
<div class="container">
<a class="navbar-brand" href="#">
<img src="image/Orange & Blue Express Delivery Logistic Logo (2).png" class="logo img-fluid" alt="">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="services.html">Services</a>
</li>
<li class="nav-item">
<a class="nav-link" href="pricing&plan.html">Packages & Pricing</a>
</li>
<li class="nav-item">
<a class="nav-link " href="about.html">About</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="contact.html">Contact</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="about_main">
<nav style="--bs-breadcrumb-divider: '>';" aria-label="breadcrumb">
<ol class="breadcrumb pt-3 mx-4">
<li class="breadcrumb-item text-white"><a href="index.html"
style="color: var(--primary-color);">Home</a></li>
<li class="breadcrumb-item" aria-current="page" style="color: var(--white-color);">Contact</li>
</ol>
</nav>
<div class="about_heading">
<h1 class="text-white "><span style="color: var(--primary-color);">Contact </span>Us</h1>
</div>
</div>
<main>
<!-- <div class="container">
<div class="col-lg-12 col-12">
<h2 class="mb-3 mt-3 text-center" style="color: var(--primary-color);">Contact Information</h2>
</div>
<div class="row mb-5">
<div class="col-lg-4 box text-center">
<div class="d-flex align-items-center justify-content-center">
<li class="circle-icon">
<i class="fas fa-envelope fa-lg" style="color: black;"></i>
</li>
<div>
<h5 style="color: #5a6f80 !important; margin: 0;">Email Address</h5>
<p><a href="mailto:[email protected]" class="contact-info">
</a></p>
</div>
</div>
</div>
<div class="col-lg-4 box px-3 text-center">
<div class="d-flex align-items-center justify-content-center">
<li class="circle-icon">
<i class="fas fa-phone fa-lg" style="color: black;"></i>
</li>
<div>
<h5 style="color: #5a6f80 !important; margin: 0;">Phone Number</h5>
<p><a href="tel:+1 (501) 441-5130" class="contact-info">
+1 (501) 441-5130
</a></p>
</div>
</div>
</div>
<div class="col-lg-4 box text-center">
<div class="d-flex align-items-center justify-content-center">
<li class="circle-icon">
<i class="bi-geo-alt me-2 fa-lg" style="color: black;"></i>
</li>
<div>
<h5 style="color: #5a6f80 !important; margin: 0;">Office Address</h5>
<p><a href="#map" class="contact-info">
7820 W Capitol Ave #1305 Little Rock, AR 72203
</a></p>
</div>
</div>
</div>
</div>
</div> -->
<section class="mt-5">
<div class="container">
<div class="row">
<div class="col-lg-4 col-12 ms-auto mb-2 mb-lg-0 p-0 pt-5">
<div class="contact-info-wrap featured-block d-flex justify-content-center align-items-center ">
<div class="contact-inf mt-3 mb-3">
<h4 class="mb-3" style="color: var(--secondary-color);">Contact Infomation</h4>
<p class="d-flex mb-2 contact-in">
<i class="bi-geo-alt me-2"></i>
784 S. Clearwater Loop #4091 Post Falls, ID 83854
</p>
<p class="d-flex mb-2 contact-in">
<i class="bi-telephone me-2"></i>
<a href="tel: +1 208 928 3938" class="contact-in">
+1 208 928 3938 </a>
</p>
<p class="d-flex contact-in">
<i class="bi-envelope me-2"></i>
<a href="mailto:[email protected]" class="contact-in">
</a>
</p>
<a href="contact.html#map" class="custom-btn btn mt-3"
style="border: 1px rgba(62, 3, 3, 0.2) solid;">Get Direction</a>
</div>
</div>
</div>
<div class="col-lg-5 col-12 mx-auto">
<section class="mt-5 mb-5 " id="map">
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2685.3255961656664!2d-117.0121042!3d47.6975159!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x5361dce0e3fc6871%3A0xf4f40a591a50f4fd!2s784%20Clearwater%20Loop%20%234091%2C%20Post%20Falls%2C%20ID%2083854%2C%20USA!5e0!3m2!1sen!2s!4v1705629802318!5m2!1sen!2s"
width="400" height="300" style="border:0;" allowfullscreen="" loading="lazy"
referrerpolicy="no-referrer-when-downgrade" class="mapframe"></iframe>
</section>
</div>
</div>
</div>
<!-- Contact Form -->
<div class="container">
<div class="row">
<div class="col-sm-6 px-5 py-5">
<div class="contact-info-wrap featured-block d-flex justify-content-center align-items-center ">
<div class="contact-inf mt-3 mb-3">
<p>By providing my phone number to Newage Dispatch, I agree and acknowledge that Newage
Dispatch
may send text messages to my wireless phone number for any purpose. Message and data
rates
may apply. Message frequency will vary, and you will be able to Opt-out by replying
“STOP”.
For more information on how your data will be handled please visit <a
href="privacy.html">privacy policy</a>
</p>
</div>
</div>
</div>
<div class="col-sm-6">
<form class="" id="contactForm">
<div class="row">
<div class="col-lg-6">
<div class="form-group">
<label for="name">Name:</label>
<input type="text" class="form-control" id="name" aria-describedby="emailHelp"
placeholder="Enter Name" required>
</div>
</div>
<div class="col-lg-6">
<div class="form-group phoneMargin">
<label for="contact">Phone No:</label>
<input type="text" class="form-control" id="contact"
aria-describedby="emailHelp" placeholder="Enter phone no" required>
</div>
</div>
</div>
<div class="form-group mt-3">
<label for="email">Email:</label>
<input type="email" class="form-control" id="email" aria-describedby="emailHelp"
placeholder="Enter email" required>
</div>
<div class="form-group mt-3">
<label for="Description">Description</label>
<textarea class="form-control" id="description" required cols="50"
style="height: 120px;"></textarea>
</div>
<div class="form-group mt-3">
<input type="checkbox" name="agree" id="" required>
<label for="agree">I agree</label>
</div>
<button type="submit" class="btn btn-primary mt-3">Send</button>
</form>
</div>
</div>
</div>
</section>
</main>
<div class="contact mt-5">
<div class="contact_heading">
<h5 class="text-white text-center">Truck dispatch services available. Get a quote now! Fast, reliable, and
affordable
solutions.</h5> <br>
</div>
</div>
<footer class="site-footer">
<div class="container">
<div class="row">
<div class="col-lg-3 col-12 mb-4">
<img src="image/logo (500 × 400 px) (1).png" class="logo1 img-fluid" alt="" style="height: 95%;">
</div>
<div class="col-lg-4 col-md-6 col-12 mb-4">
<h5 class="site-footer-title mb-3">Quick Links</h5>
<ul class="footer-menu">
<li class="footer-menu-item"><a href="about.html" class="footer-menu-link">About Company</a>
</li>
<li class="footer-menu-item"><a href="services.html" class="footer-menu-link">Our Services</a>
</li>
<li class="footer-menu-item"><a href="privacy.html" class="footer-menu-link">Our Privacy Policy</a>
</li>
<li class="footer-menu-item"><a href="pricing&plan.html" class="footer-menu-link">Packages &
Pricing</a></li>
<li class="footer-menu-item"><a href="contact.html" class="footer-menu-link">Contact Us</a></li>
<!-- <li class="footer-menu-item"><a href="#" class="footer-menu-link">Company Achievement</a></li> -->
</ul>
</div>
<div class="col-lg-4 col-md-6 col-12 mx-auto">
<h5 class="site-footer-title mb-3">Contact Infomation</h5>
<p class="text-white d-flex mb-2">
<i class="bi-telephone me-2"></i>
<a href="tel: +1 208 928 3938" class="site-footer-link">
+1 208 928 3938
</a>
</p>
<p class="text-white d-flex">
<i class="bi-envelope me-2"></i>
<a href="mailto:[email protected]" class="site-footer-link">
[email protected] </a>
</p>
<p class="text-white d-flex mt-3">
<i class="bi-geo-alt me-2"></i>
784 S. Clearwater Loop #4091 Post Falls, ID 83854
</p>
<a href="contact.html#map" class="custom-btn btn mt-3">Get Direction</a>
</div>
</div>
</div>
<div class="site-footer-bottom">
<div class="container">
<div class="row">
<div class="col-lg-6 col-md-7 col-12">
<p class="copyright-text mb-0">Copyright © 2024 <a href="index.html"> Newage Dispatch</a>
Transportation
& Logistics LLC.</p>
</div>
<div class="col-lg-6 col-md-5 col-12 d-flex justify-content-center align-items-center mx-auto">
<ul class="social-icon">
<li class="social-icon-item">
<a href="https://www.facebook.com/newagellc" class="social-icon-link bi-facebook"
target="_blank"></a>
</li>
<li class="social-icon-item">
<a href="https://www.instagram.com/newage_dispatch"
class="social-icon-link bi-instagram" target="_blank"></a>
</li>
<li class="social-icon-item">
<a href="https://www.linkedin.com/company/newage-dispatch"
class="social-icon-link bi-linkedin" target="_blank"></a>
</li>
</ul>
</div>
</div>
</div>
</div>
</footer>
<!-- Include Firebase SDK -->
<script src="https://www.gstatic.com/firebasejs/9.1.3/firebase-app-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/9.1.3/firebase-database-compat.js"></script>
<!-- Your existing HTML code for the form -->
<script>
const firebaseConfig = {
apiKey: "AIzaSyDavl2c0jOvV_ffHyCMfsWZjeAAP44WNIY",
authDomain: "contactform-f485f.firebaseapp.com",
databaseURL: "https://contactform-f485f-default-rtdb.firebaseio.com",
projectId: "contactform-f485f",
storageBucket: "contactform-f485f.appspot.com",
messagingSenderId: "650025216203",
appId: "1:650025216203:web:215b14ee37ebeae14c934e"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
// Reference database
const contactFormDB = firebase.database().ref("contactForm");
document.getElementById("contactForm").addEventListener("submit", submitForm);
function submitForm(e) {
e.preventDefault();
var name = getElementVal('name');
var phoneNo = getElementVal('contact');
var email = getElementVal('email');
var description = getElementVal('description');
var date = new Date().toString(); // Update this line
saveMessages(name, phoneNo, email, description, date);
}
const saveMessages = (name, phoneNo, email, description, date) => {
var newContactForm = contactFormDB.push();
newContactForm.set({
name: name,
phoneNo: phoneNo,
email: email,
description: description,
date: date,
}).then(() => {
// Handle success, if needed
alert("Your message has been sent.");
location.reload();
}).catch((error) => {
// Handle errors, if any
console.error("Error saving data to Firebase:", error);
});
};
const getElementVal = (id) => {
var element = document.getElementById(id);
return element ? element.value : '';
};
</script>
<!-- JAVASCRIPT FILES -->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.sticky.js"></script>
<script src="js/counter.js"></script>
<script src="js/custom.js"></script>
</body>
</html>