-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo-auto-services-contact.html
699 lines (623 loc) · 35.4 KB
/
demo-auto-services-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
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
<!DOCTYPE html>
<html>
<head>
<!-- Basic -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Demo Auto Services | Porto - Responsive HTML5 Template</title>
<meta name="keywords" content="HTML5 Template" />
<meta name="description" content="Porto - Responsive HTML5 Template">
<meta name="author" content="okler.net">
<!-- Favicon -->
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" />
<link rel="apple-touch-icon" href="img/apple-touch-icon.png">
<!-- Mobile Metas -->
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, shrink-to-fit=no">
<link id="googleFonts" href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800&display=swap" rel="stylesheet" type="text/css">
<!-- Vendor CSS --> <link rel="stylesheet" href="vendor/bootstrap/css/bootstrap.min.css"> <link rel="stylesheet" href="vendor/fontawesome-free/css/all.min.css"> <link rel="stylesheet" href="vendor/animate/animate.compat.css"> <link rel="stylesheet" href="vendor/simple-line-icons/css/simple-line-icons.min.css"> <link rel="stylesheet" href="vendor/owl.carousel/assets/owl.carousel.min.css"> <link rel="stylesheet" href="vendor/owl.carousel/assets/owl.theme.default.min.css"> <link rel="stylesheet" href="vendor/magnific-popup/magnific-popup.min.css">
<!-- Theme CSS -->
<link rel="stylesheet" href="css/theme.css">
<link rel="stylesheet" href="css/theme-elements.css">
<link rel="stylesheet" href="css/theme-blog.css">
<link rel="stylesheet" href="css/theme-shop.css">
<!-- Demo CSS --> <link rel="stylesheet" href="css/demos/demo-auto-services.css"> <!-- Skin CSS --> <link id="skinCSS" rel="stylesheet" href="css/skins/skin-auto-services.css">
<!-- Theme Custom CSS -->
<link rel="stylesheet" href="css/custom.css">
<!-- Head Libs -->
<script src="vendor/modernizr/modernizr.min.js"></script>
</head>
<body>
<div class="body">
<div class="notice-top-bar bg-primary" data-sticky-start-at="100">
<button class="hamburguer-btn hamburguer-btn-light notice-top-bar-close m-0 active" data-set-active="false">
<span class="close">
<span></span>
<span></span>
</span>
</button>
<div class="container">
<div class="row justify-content-center py-2">
<div class="col-9 col-md-12 text-center">
<p class="text-color-light mb-0"><strong>DEAL OF THE WEEK</strong> - Free Diagnosis & Break Checks - <strong><a href="#" class="text-color-light text-decoration-none custom-text-underline-1">Make an Appointment</a></strong></p>
</div>
</div>
</div>
</div>
<header id="header" data-plugin-options="{'stickyEnabled': true, 'stickyEnableOnBoxed': true, 'stickyEnableOnMobile': true, 'stickyStartAt': 54, 'stickySetTop': '-54px', 'stickyChangeLogo': false}">
<div class="header-body header-body-bottom-border-fixed box-shadow-none border-top-0">
<div class="header-top header-top-small-minheight header-top-simple-border-bottom">
<div class="container py-2">
<div class="header-row justify-content-between">
<div class="header-column col-auto px-0">
<div class="header-row">
<div class="header-nav-top">
<ul class="nav nav-pills position-relative">
<li class="nav-item d-none d-sm-block">
<span class="d-flex align-items-center font-weight-medium ws-nowrap text-3 pl-0"><a href="mailto:porto@domain.com" class="text-decoration-none text-color-dark text-color-hover-primary"><i class="icons icon-envelope font-weight-bold position-relative text-4 top-3 mr-1"></i> porto@domain.com</a></span>
</li>
<li class="nav-item nav-item-left-border nav-item-left-border-remove nav-item-left-border-sm-show">
<span class="d-flex align-items-center font-weight-medium text-color-dark ws-nowrap text-3"><i class="icons icon-clock font-weight-bold position-relative text-3 top-1 mr-2"></i> Mon - Sat 9:00am - 6:00pm</span>
</li>
</ul>
</div>
</div>
</div>
<div class="header-column justify-content-end col-auto px-0 d-none d-md-flex">
<div class="header-row">
<nav class="header-nav-top">
<ul class="header-social-icons social-icons social-icons-clean social-icons-icon-gray social-icons-medium custom-social-icons-divider">
<li class="social-icons-facebook">
<a href="http://www.facebook.com/" target="_blank" title="Facebook"><i class="fab fa-facebook-f"></i></a>
</li>
<li class="social-icons-twitter">
<a href="http://www.twitter.com/" target="_blank" title="Twitter"><i class="fab fa-twitter"></i></a>
</li>
<li class="social-icons-linkedin">
<a href="http://www.linkedin.com/" target="_blank" title="Linkedin"><i class="fab fa-linkedin-in"></i></a>
</li>
</ul>
</nav>
</div>
</div>
</div>
</div>
</div>
<div class="header-container container">
<div class="header-row">
<div class="header-column w-100">
<div class="header-row justify-content-between">
<div class="header-logo z-index-2 col-lg-2 px-0">
<a href="demo-auto-services.html">
<img alt="Porto" width="123" height="48" data-sticky-width="82" data-sticky-height="40" data-sticky-top="84" src="img/demos/auto-services/logo.png">
</a>
</div>
<div class="header-nav header-nav-links justify-content-end pr-lg-4 mr-lg-3">
<div class="header-nav-main header-nav-main-arrows header-nav-main-dropdown-no-borders header-nav-main-effect-3 header-nav-main-sub-effect-1">
<nav class="collapse">
<ul class="nav nav-pills" id="mainNav">
<li><a href="demo-auto-services.html" class="nav-link">Home</a></li>
<li><a href="demo-auto-services-about-us.html" class="nav-link">About</a></li>
<li class="dropdown">
<a href="demo-auto-services-services.html" class="nav-link dropdown-toggle">Services</a>
<ul class="dropdown-menu">
<li><a href="demo-auto-services-services-detail.html" class="dropdown-item">Brake Repair</a></li>
<li><a href="demo-auto-services-services-detail.html" class="dropdown-item">Check Engine</a></li>
<li><a href="demo-auto-services-services-detail.html" class="dropdown-item">Suspension Repair</a></li>
<li><a href="demo-auto-services-services-detail.html" class="dropdown-item">Transmission Repair</a></li>
<li><a href="demo-auto-services-services-detail.html" class="dropdown-item">A/C Repair</a></li>
</ul>
</li>
<li><a href="demo-auto-services-products.html" class="nav-link">Products</a></li>
<li><a href="demo-auto-services-blog.html" class="nav-link">Blog</a></li>
<li><a href="demo-auto-services-appointment.html" class="nav-link">Appointment</a></li>
<li><a href="demo-auto-services-contact.html" class="nav-link active">Contact</a></li>
</ul>
</nav>
</div>
</div>
<ul class="header-extra-info custom-left-border-1 d-none d-xl-block">
<li class="d-none d-sm-inline-flex ml-0">
<div class="header-extra-info-icon">
<i class="icons icon-phone text-3 text-color-dark position-relative top-3"></i>
</div>
<div class="header-extra-info-text line-height-2">
<span class="text-1 font-weight-semibold text-color-default">CALL US NOW</span>
<strong class="text-4"><a href="tel:+1234567890" class="text-color-hover-primary text-decoration-none">+123 4567 890</a></strong>
</div>
</li>
</ul>
<div class="d-flex col-auto pr-0 pl-0 pl-xl-3">
<div class="header-nav-features pl-0 ml-1">
<div class="header-nav-feature header-nav-features-search d-inline-flex position-relative top-3 border border-top-0 border-bottom-0 custom-remove-mobile-border-left px-4 mr-2">
<a href="#" class="header-nav-features-toggle text-decoration-none" data-focus="headerSearch">
<i class="icons icon-magnifier header-nav-top-icon text-5 font-weight-bold position-relative top-3"></i>
</a>
<div class="header-nav-features-dropdown header-nav-features-dropdown-mobile-fixed border-radius-0" id="headerTopSearchDropdown">
<form role="search" action="page-search-results.html" method="get">
<div class="simple-search input-group">
<input class="form-control text-1 rounded" id="headerSearch" name="q" type="search" value="" placeholder="Search...">
<span class="input-group-append rounded">
<button class="btn" type="submit">
<i class="icons icon-magnifier header-nav-top-icon"></i>
</button>
</span>
</div>
</form>
</div>
</div>
<div class="header-nav-feature header-nav-features-cart header-nav-features-cart-big d-inline-flex top-2 ml-2">
<a href="#" class="header-nav-features-toggle">
<img src="img/icons/icon-cart-big.svg" height="30" alt="" class="header-nav-top-icon-img">
<span class="cart-info">
<span class="cart-qty">1</span>
</span>
</a>
<div class="header-nav-features-dropdown" id="headerTopCartDropdown">
<ol class="mini-products-list">
<li class="item">
<a href="#" title="Product Short Name" class="product-image"><img src="img/demos/auto-services/products/product-1.jpg" alt="Product Short Name"></a>
<div class="product-details">
<p class="product-name">
<a href="#">Product Short Name </a>
</p>
<p class="qty-price">
1X <span class="price">$49</span>
</p>
<a href="#" title="Remove This Item" class="btn-remove"><i class="fas fa-times"></i></a>
</div>
</li>
</ol>
<div class="totals">
<span class="label">Total:</span>
<span class="price-total"><span class="price">$49</span></span>
</div>
<div class="actions">
<a class="btn btn-dark" href="#">View Cart</a>
<a class="btn btn-primary" href="#">Checkout</a>
</div>
</div>
</div>
</div>
</div>
<button class="btn header-btn-collapse-nav ml-4" data-toggle="collapse" data-target=".header-nav-main nav">
<i class="fas fa-bars"></i>
</button>
</div>
</div>
</div>
</div>
</div>
</header>
<div role="main" class="main">
<section class="page-header page-header-modern bg-color-light-scale-1 page-header-lg">
<div class="container">
<div class="row">
<div class="col-md-8 order-2 order-md-1 align-self-center p-static">
<h1 class="text-color-dark font-weight-bold">Contact</h1>
</div>
<div class="col-md-4 order-1 order-md-2 align-self-center">
<ul class="breadcrumb d-flex justify-content-md-end text-3-5">
<li><a href="demo-auto-services.html" class="text-color-default text-color-hover-primary text-decoration-none">HOME</a></li>
<li class="active">CONTACT US</li>
</ul>
</div>
</div>
</div>
</section>
<div class="container py-4 my-5">
<div class="row align-items-center">
<div class="col-lg-5 col-xl-4 offset-xl-1 mb-5 mb-lg-0">
<div class="overflow-hidden">
<h2 class="text-color-dark font-weight-bold line-height-3 text-5-5 mb-0 appear-animation" data-appear-animation="maskUp" data-appear-animation-delay="250">123 Street Name, Los Angeles, CA</h2>
</div>
<div class="overflow-hidden">
<a href="#get-direction" data-hash data-hash-offset="100" class="d-inline-block custom-text-underline-1 font-weight-bold border-color-primary text-decoration-none text-3-5 appear-animation" data-appear-animation="maskUp" data-appear-animation-delay="500">GET DIRECTIONS</a>
</div>
<ul class="list list-unstyled text-color-dark font-weight-bold text-4 py-2 my-4 appear-animation" data-appear-animation="fadeInUpShorter" data-appear-animation-delay="750">
<li class="d-flex align-items-center mb-2">
<i class="icons icon-envelope text-color-dark mr-2"></i>
Email: <a href="mailto:porto@domain.com" class="text-color-dark text-color-hover-primary text-decoration-none ml-1">porto@domain.com</a>
</li>
<li class="d-flex align-items-center mb-0">
<i class="icons icon-phone text-color-dark mr-2"></i>
Phone: <a href="tel:1234567890" class="text-color-dark text-color-hover-primary text-decoration-none ml-1">+123 4567 890</a>
</li>
</ul>
<p class="mb-0 appear-animation" data-appear-animation="fadeInUpShorter" data-appear-animation-delay="1000">We are here to help you with your auto repair and service needs. Come in, give us a call or send us an email. We will get back to you as soon as we can during regular business hours.</p>
</div>
<div class="col-lg-6 col-xl-5 offset-lg-1 appear-animation" data-appear-animation="fadeInUpShorter" data-appear-animation-delay="1250">
<form class="contact-form custom-form-style-1" action="php/contact-form.php" method="POST">
<div class="contact-form-success alert alert-success d-none mt-4">
<strong>Success!</strong> Your message has been sent to us.
</div>
<div class="contact-form-error alert alert-danger d-none mt-4">
<strong>Error!</strong> There was an error sending your message.
<span class="mail-error-message text-1 d-block"></span>
</div>
<div class="form-row row-gutter-sm">
<div class="form-group col mb-3">
<input type="text" value="" data-msg-required="Please enter your name." maxlength="100" class="form-control" name="name" id="name" required placeholder="First Name">
</div>
</div>
<div class="form-row row-gutter-sm">
<div class="form-group col mb-3">
<input type="email" value="" data-msg-required="Please enter your email address." data-msg-email="Please enter a valid email address." maxlength="100" class="form-control" name="email" id="email" required placeholder="E-mail Address">
</div>
</div>
<div class="form-row">
<div class="form-group col mb-3">
<textarea maxlength="5000" data-msg-required="Please enter your message." rows="4" class="form-control" name="message" id="message" required placeholder="Message"></textarea>
</div>
</div>
<div class="form-row appear-animation" data-appear-animation="fadeInUpShorterPlus" data-appear-animation-delay="1500">
<div class="form-group col mb-0">
<button type="submit" class="btn btn-primary btn-modern font-weight-bold custom-btn-border-radius custom-btn-arrow-effect-1 text-3 px-5 py-3" data-loading-text="Loading...">
SUBMIT
<svg class="ml-2" version="1.1" viewBox="0 0 15.698 8.706" width="17" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<polygon stroke="#FFF" stroke-width="0.1" fill="#FFF" points="11.354,0 10.646,0.706 13.786,3.853 0,3.853 0,4.853 13.786,4.853 10.646,8 11.354,8.706 15.698,4.353 "/>
</svg>
</button>
</div>
</div>
</form>
</div>
</div>
</div>
<section id="get-direction" class="section bg-light border-0 box-shadow-1 position-relative z-index-1 py-4 m-0">
<div class="container py-2">
<div class="row align-items-center justify-content-lg-center justify-content-xl-start">
<div class="col-lg-3 col-xl-2 offset-xl-1 mb-2 mb-lg-0">
<h2 class="text-color-dark font-weight-bold text-4-5 mb-0 appear-animation" data-appear-animation="fadeInRightShorterPlus" data-appear-animation-delay="250" data-plugin-options="{'accY': -100}">GET DIRECTIONS:</h2>
</div>
<div class="col-lg-8">
<form class="custom-get-direction-form custom-form-style-1 appear-animation" data-appear-animation="fadeInRightShorterPlus" data-appear-animation-delay="500" data-plugin-options="{'accY': -100}" action="" method="post">
<div class="d-flex align-items-stretch">
<input type="text" class="custom-get-direction-address form-control w-100" data-msg-required="Please enter Starting Address." name="getDirectionAddress" value="" placeholder="Enter Your Starting Address" required>
<button type="submit" class="btn btn-dark btn-modern font-weight-bold custom-btn-border-radius text-3 btn-px-4 ml-3 my-1" data-loading-text="...">GO</button>
</div>
</form>
</div>
<div class="col-lg-11 col-xl-10 offset-xl-1 custom-get-direction-error alert alert-danger d-none mt-4 mx-3 mx-sm-auto">
<p class="text-center mb-0">There's an error and we couldn't find your address.<br><strong class="custom-get-direction-error-message d-none"></strong></p>
</div>
</div>
</div>
</section>
<!-- Google Maps - Go to the bottom of the page to change settings and map location. -->
<div class="position-relative appear-animation" data-appear-animation="fadeInUpShorterPlus" data-appear-animation-delay="750">
<div class="custom-directions-panel position-absolute top-0 left-0 w-100pct w-md-50pct w-lg-25pct h-100 mh-100 overflow-auto z-index-1"></div>
<div id="googlemaps" class="google-map m-0" style="min-height: 500px;"></div>
</div>
<section class="section bg-transparent position-relative border-0 z-index-1 m-0 p-0">
<div class="container py-4">
<div class="row align-items-center text-center py-5">
<div class="col-sm-4 col-lg-2 mb-5 mb-lg-0">
<img src="img/logos/logo-8.png" alt class="img-fluid" style="max-width: 90px;" />
</div>
<div class="col-sm-4 col-lg-2 mb-5 mb-lg-0">
<img src="img/logos/logo-9.png" alt class="img-fluid" style="max-width: 140px;" />
</div>
<div class="col-sm-4 col-lg-2 mb-5 mb-lg-0">
<img src="img/logos/logo-10.png" alt class="img-fluid" style="max-width: 140px;" />
</div>
<div class="col-sm-4 col-lg-2 mb-5 mb-sm-0">
<img src="img/logos/logo-11.png" alt class="img-fluid" style="max-width: 140px;" />
</div>
<div class="col-sm-4 col-lg-2 mb-5 mb-sm-0">
<img src="img/logos/logo-12.png" alt class="img-fluid" style="max-width: 100px;" />
</div>
<div class="col-sm-4 col-lg-2">
<img src="img/logos/logo-13.png" alt class="img-fluid" style="max-width: 100px;" />
</div>
</div>
</div>
<svg class="custom-svg-3" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 193 495">
<path fill="#1C5FA8" d="M193,25.73L18.95,247.93c-13.62,17.39-10.57,42.54,6.82,56.16L193,435.09V25.73z"/>
<path fill="none" stroke="#FFF" stroke-width="1.5" stroke-miterlimit="10" d="M196,53.54L22.68,297.08c-12.81,18-8.6,42.98,9.4,55.79L196,469.53V53.54z"/>
</svg>
</section>
</div>
<footer id="footer" class="border-0 mt-0">
<div class="container py-5">
<div class="row py-3">
<div class="col-md-4 mb-5 mb-md-0">
<div class="feature-box flex-column flex-xl-row align-items-center align-items-lg-start text-center text-lg-left">
<div class="feature-box-icon bg-transparent mb-4 mb-xl-0 p-0">
<img width="45" src="img/demos/auto-services/icons/icon-location.svg" alt="" data-icon data-plugin-options="{'onlySVG': true, 'extraClass': 'svg-fill-color-light position-relative bottom-3'}" />
</div>
<div class="feature-box-info line-height-1 pl-2">
<span class="d-block font-weight-bold text-color-light text-5 mb-2">Address</span>
<p class="text-color-light text-4 line-height-4 font-weight-light mb-0">123 Street Name, Los Angeles, CA</p>
</div>
</div>
</div>
<div class="col-md-4 mb-5 mb-md-0">
<div class="feature-box flex-column flex-xl-row align-items-center align-items-lg-start text-center text-lg-left">
<div class="feature-box-icon bg-transparent mb-4 mb-xl-0 p-0">
<i class="icons icon-phone text-9 text-color-light position-relative top-4"></i>
</div>
<div class="feature-box-info line-height-1 pl-2">
<span class="d-block font-weight-bold text-color-light text-5 pb-1 mb-1">Call Us Now</span>
<a href="tel:1234567890" class="text-color-light text-4 line-height-7 text-decoration-none">+123 4567 890</a>
<span class="text-color-light text-4 px-2">/</span>
<a href="tel:1234567890" class="text-color-light text-4 line-height-7 text-decoration-none">+123 4567 890</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="feature-box flex-column flex-xl-row align-items-center align-items-lg-start text-center text-lg-left">
<div class="feature-box-icon bg-transparent mb-4 mb-xl-0 p-0">
<img width="45" src="img/demos/auto-services/icons/car-winch.svg" alt="" data-icon data-plugin-options="{'onlySVG': true, 'extraClass': 'svg-fill-color-light position-relative bottom-3'}" />
</div>
<div class="feature-box-info line-height-1 pl-xl-3">
<span class="d-block font-weight-bold text-color-light text-5 pb-1 mb-1">24/7 Assistance</span>
<a href="tel:1234567890" class="text-color-light text-4 line-height-7 text-decoration-none">+123 4567 890</a>
<span class="text-color-light text-4 px-2">/</span>
<a href="tel:1234567890" class="text-color-light text-4 line-height-7 text-decoration-none">+123 4567 890</a>
</div>
</div>
</div>
</div>
</div>
<hr class="bg-light opacity-2 my-0">
<div class="container pb-5">
<div class="row text-center text-md-left py-4 my-5">
<div class="col-md-6 col-lg-3 align-self-center text-center text-md-left text-lg-center mb-5 mb-lg-0">
<a href="demo-auto-services.html" class="text-decoration-none">
<img src="img/demos/auto-services/logo-light.png" class="img-fluid" alt="" />
</a>
</div>
<div class="col-md-6 col-lg-3 mb-5 mb-lg-0">
<h5 class="text-transform-none font-weight-bold text-color-light text-4-5 mb-4">About Us</h5>
<ul class="list list-unstyled">
<li class="pb-1 mb-2">
<span class="d-block font-weight-semibold line-height-1 text-color-grey text-3-5">ADDRESS</span>
<a href="demo-auto-services-contact.html#get-direction" class="text-color-light custom-text-underline-1 font-weight-medium text-3-5">GET DIRECTIONS</a>
</li>
<li class="pb-1 mb-2">
<span class="d-block font-weight-semibold line-height-1 text-color-grey text-3-5 mb-1">PHONE</span>
<ul class="list list-unstyled font-weight-light text-3-5 mb-0">
<li class="text-color-light line-height-3 mb-0">
Sales: <a href="tel:+1234567890" class="text-decoration-none text-color-light text-color-hover-default">+123 4567 890</a>
</li>
<li class="text-color-light line-height-3 mb-0">
Services: <a href="tel:+1234567890" class="text-decoration-none text-color-light text-color-hover-default">+123 4567 890</a>
</li>
</ul>
</li>
<li class="pb-1 mb-2">
<span class="d-block font-weight-semibold line-height-1 text-color-grey text-3-5">EMAIL</span>
<a href="mailto:mail@example.com" class="text-decoration-none font-weight-light text-3-5 text-color-light text-color-hover-default">mail@example.com</a>
</li>
</ul>
<ul class="social-icons social-icons-medium">
<li class="social-icons-instagram">
<a href="http://www.instagram.com/" class="no-footer-css" target="_blank" title="Instagram"><i class="fab fa-instagram"></i></a>
</li>
<li class="social-icons-twitter mx-2">
<a href="http://www.twitter.com/" class="no-footer-css" target="_blank" title="Twitter"><i class="fab fa-twitter"></i></a>
</li>
<li class="social-icons-facebook">
<a href="http://www.facebook.com/" class="no-footer-css" target="_blank" title="Facebook"><i class="fab fa-facebook-f"></i></a>
</li>
</ul>
</div>
<div class="col-md-6 col-lg-2 mb-5 mb-md-0">
<h5 class="text-transform-none font-weight-bold text-color-light text-4-5 mb-4">Auto Services</h5>
<ul class="list list-unstyled mb-0">
<li class="mb-0"><a href="demo-auto-services-services-detail.html">Brake Repair</a></li>
<li class="mb-0"><a href="demo-auto-services-services-detail.html">Check Engine</a></li>
<li class="mb-0"><a href="demo-auto-services-services-detail.html">Suspension Repair</a></li>
<li class="mb-0"><a href="demo-auto-services-services-detail.html">Transmission Repair</a></li>
<li class="mb-0"><a href="demo-auto-services-services-detail.html">A/C Repair</a></li>
<li class="mb-0"><a href="demo-auto-services-services-detail.html">Oil Change</a></li>
<li class="mb-0"><a href="demo-auto-services-services-detail.html">Electrical Diagnostics</a></li>
<li class="mb-0"><a href="demo-auto-services-services-detail.html">Tune Up</a></li>
<li class="mb-0"><a href="demo-auto-services-services-detail.html">Fuel System Repair</a></li>
</ul>
</div>
<div class="col-md-6 col-lg-3 offset-lg-1">
<h5 class="text-transform-none font-weight-bold text-color-light text-4-5 mb-4">Opening Hours</h5>
<ul class="list list-unstyled list-inline custom-list-style-1 mb-0">
<li>Mon - Fri: 8:30 am to 5:00 pm</li>
<li>Saturday: 9:30 am to 1:00 pm</li>
<li>Sunday: Closed</li>
</ul>
</div>
</div>
</div>
<div class="footer-copyright bg-light py-4">
<div class="container py-2">
<div class="row">
<div class="col">
<p class="text-center text-3 mb-0">Porto Auto Services © 2021. All Rights Reserved.</p>
</div>
</div>
</div>
</div>
</footer>
</div>
<!-- Vendor --> <script src="vendor/jquery/jquery.min.js"></script> <script src="vendor/jquery.appear/jquery.appear.min.js"></script> <script src="vendor/jquery.easing/jquery.easing.min.js"></script> <script src="vendor/jquery.cookie/jquery.cookie.min.js"></script> <script src="vendor/popper/umd/popper.min.js"></script> <script src="vendor/bootstrap/js/bootstrap.min.js"></script> <script src="vendor/jquery.validation/jquery.validate.min.js"></script> <script src="vendor/jquery.easy-pie-chart/jquery.easypiechart.min.js"></script> <script src="vendor/jquery.gmap/jquery.gmap.min.js"></script> <script src="vendor/lazysizes/lazysizes.min.js"></script> <script src="vendor/isotope/jquery.isotope.min.js"></script> <script src="vendor/owl.carousel/owl.carousel.min.js"></script> <script src="vendor/magnific-popup/jquery.magnific-popup.min.js"></script> <script src="vendor/vide/jquery.vide.min.js"></script> <script src="vendor/vivus/vivus.min.js"></script>
<!-- Theme Base, Components and Settings --> <script src="js/theme.js"></script>
<!-- Current Page Vendor and Views -->
<!-- Current Page Vendor and Views -->
<script src="js/views/view.contact.js"></script>
<!-- Demo -->
<script src="js/demos/demo-auto-services.js"></script>
<!-- Theme Custom --> <script src="js/custom.js"></script>
<!-- Theme Initialization Files -->
<script src="js/theme.init.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY"></script>
<script>
/*
Map Settings
Find the Latitude and Longitude of your address:
- https://www.latlong.net/
- http://www.findlatitudeandlongitude.com/find-address-from-latitude-and-longitude/
*/
// Map Markers
var mapMarkers = [{
address: "New York, NY 10017",
html: "<strong>Porto Auto Services</strong><br>New York, NY 10017",
icon: {
image: "img/demos/auto-services/map-pin.png",
iconsize: [31, 40],
iconanchor: [14, 40]
},
popup: false
}];
// Map Initial Location
var initLatitude = 40.75198;
var initLongitude = -73.96978;
// Map Extended Settings
var mapSettings = {
controls: {
draggable: (($.browser.mobile) ? false : true),
panControl: true,
zoomControl: true,
mapTypeControl: true,
scaleControl: true,
streetViewControl: true,
overviewMapControl: true
},
scrollwheel: false,
markers: mapMarkers,
latitude: initLatitude,
longitude: initLongitude,
zoom: 13
};
var map = $('#googlemaps').gMap(mapSettings),
mapRef = $('#googlemaps').data('gMap.reference');
// Map text-center At
var mapCenterAt = function(options, e) {
e.preventDefault();
$('#googlemaps').gMap("centerAt", options);
}
var mapRef = $('#googlemaps').data('gMap.reference');
// Styles from https://snazzymaps.com/
var styles = [{"featureType":"water","elementType":"geometry","stylers":[{"color":"#e9e9e9"},{"lightness":17}]},{"featureType":"landscape","elementType":"geometry","stylers":[{"color":"#f5f5f5"},{"lightness":20}]},{"featureType":"road.highway","elementType":"geometry.fill","stylers":[{"color":"#ffffff"},{"lightness":17}]},{"featureType":"road.highway","elementType":"geometry.stroke","stylers":[{"color":"#ffffff"},{"lightness":29},{"weight":0.2}]},{"featureType":"road.arterial","elementType":"geometry","stylers":[{"color":"#ffffff"},{"lightness":18}]},{"featureType":"road.local","elementType":"geometry","stylers":[{"color":"#ffffff"},{"lightness":16}]},{"featureType":"poi","elementType":"geometry","stylers":[{"color":"#f5f5f5"},{"lightness":21}]},{"featureType":"poi.park","elementType":"geometry","stylers":[{"color":"#dedede"},{"lightness":21}]},{"elementType":"labels.text.stroke","stylers":[{"visibility":"on"},{"color":"#ffffff"},{"lightness":16}]},{"elementType":"labels.text.fill","stylers":[{"saturation":36},{"color":"#333333"},{"lightness":40}]},{"elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"transit","elementType":"geometry","stylers":[{"color":"#f2f2f2"},{"lightness":19}]},{"featureType":"administrative","elementType":"geometry.fill","stylers":[{"color":"#fefefe"},{"lightness":20}]},{"featureType":"administrative","elementType":"geometry.stroke","stylers":[{"color":"#fefefe"},{"lightness":17},{"weight":1.2}]}];
var styledMap = new google.maps.StyledMapType(styles, {
name: 'Styled Map'
});
mapRef.mapTypes.set('map_style', styledMap);
mapRef.setMapTypeId('map_style');
// -- GET DIRECTION --------------------------------------------------------
var $getDirectionForm = $('.custom-get-direction-form'),
$directionPanel = $('.custom-directions-panel'),
directionsRenderer = new google.maps.DirectionsRenderer(),
directionsService = new google.maps.DirectionsService();
directionsRenderer.setMap( mapRef );
directionsRenderer.setPanel( $directionPanel[0] );
$getDirectionForm.on('submit', function(e){
e.preventDefault();
calculateAndDisplayRoute(directionsService, directionsRenderer, mapRef, true);
});
$(window).afterResize(function(){
calculateAndDisplayRoute(directionsService, directionsRenderer, mapRef);
});
function calculateAndDisplayRoute(directionsService, directionsRenderer, mapRef, scrollTo) {
var $addressInput = $('.custom-get-direction-address'),
start = $addressInput.val(), // The address entered on input field
end = 'New York, NY 10017'; // Address of destination
if( !$addressInput.val() ) {
return;
}
// Generate the route
directionsService.route(
{
origin: start,
destination: end,
travelMode: google.maps.TravelMode.DRIVING,
},
(response, status) => {
if (status === "OK") {
setMapAndPanelSize();
directionsRenderer.setDirections(response);
} else {
setDirectionErrorMessages( status );
}
if( scrollTo ) {
$('html, body').animate({
scrollTop: $('#get-direction').offset().top - $('#header').outerHeight()
}, 1000);
}
}
);
}
function setMapAndPanelSize() {
var $googleMap = $('#googlemaps'),
$directionPanel = $('.custom-directions-panel'),
$errorWrapper = $('.custom-get-direction-error'),
panelWidth = $directionPanel.width();
$errorWrapper
.addClass( 'd-none' )
.removeClass( 'animated fadeIn' );
if( $(window).width() < 768 ) {
$directionPanel
.removeClass( 'position-absolute mh-100' )
.attr( 'style', 'max-height: 300px;' );
$googleMap
.css({
'width': '',
'margin-left': ''
});
} else {
$directionPanel
.addClass( 'position-absolute mh-100' )
.css( 'max-height', '' );
$googleMap
.attr( 'style', $googleMap.attr('style') + 'width: calc( 100% - '+ panelWidth +'px ) !important; margin-left: '+ panelWidth +'px !important;' );
}
}
function setDirectionErrorMessages( status ) {
var $errorWrapper = $('.custom-get-direction-error'),
$errorMessage = $('.custom-get-direction-error-message');
$errorWrapper
.removeClass( 'd-none' )
.addClass( 'animated fadeIn' );
var error = '';
switch ( status ) {
case 'NOT_FOUND':
error = 'Address not found. Please try again.';
break;
case 'ZERO_RESULTS':
error = 'By some reason we couldn\'t generate a route for this address.';
break;
default:
error = status;
break;
}
$errorMessage
.text( 'ERROR: ' + error )
.removeClass( 'd-none' );
}
</script>
</body>
</html>