-
Notifications
You must be signed in to change notification settings - Fork 1
/
contact-us.html
298 lines (283 loc) · 11.2 KB
/
contact-us.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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required Meta Tags -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- Page Title -->
<title>Contact Us</title>
<!-- Favicon -->
<link rel="shortcut icon" href="assets/images/logo/favicon.svg" type="image/x-icon">
<!-- CSS Files -->
<link rel="stylesheet" href="assets/css/animate-3.7.0.css">
<link rel="stylesheet" href="assets/css/font-awesome-4.7.0.min.css">
<link rel="stylesheet" href="assets/css/bootstrap-4.1.3.min.css">
<link rel="stylesheet" href="assets/css/owl-carousel.min.css">
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body>
<!-- Preloader Starts -->
<div class="preloader">
<div class="spinner"></div>
</div>
<!-- Preloader End -->
<!-- Header Area Starts -->
<header class="header-area header-area2">
<div class="container">
<div class="row">
<div class="col-lg-2">
<div class="logo-area">
<a href="index.html"><img src="assets/images/logo/logo.png" alt="logo" width="150px"></a>
</div>
</div>
<div class="col-lg-10">
<div class="custom-navbar">
<span></span>
<span></span>
<span></span>
</div>
<div class="main-menu main-menu2">
<ul>
<li class="active"><a href="index.html">home</a></li>
<li><a href="about.html">about</a></li>
<li><a href="menu.html">menu</a></li>
<li><a href="blog-home.html">blog</a></li>
<li><a href="contact-us.html">contact</a></li>
<li><a href="cart.html">cart</a></li>
</ul>
</div>
</div>
</div>
</div>
</header>
<!-- Header Area End -->
<!-- Banner Area Starts -->
<section class="banner-area banner-area2 contact-bg text-center">
<div class="container">
<div class="row">
<div class="col-lg-12">
<h1><i>Contact Us</i></h1>
<p class="pt-2"><i>T&C Professional juice</i></p>
</div>
</div>
</div>
</section>
<!-- Banner Area End -->
<!-- Map Area Starts -->
<section class="map-area section-padding">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="embed-responsive embed-responsive-21by9">
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3978.4502220110935!2d101.13803091408978!3d4.326215545997034!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x31cae2bd416a11f1%3A0xc0480fb3b6c7b6d2!2s271%2C%20Jalan%20Perak%209%2C%2031900%20Kampar%2C%20Negeri%20Perak!5e0!3m2!1sen!2smy!4v1599630065781!5m2!1sen!2smy"
class="embed-responsive-item" frameborder="0" style="border:0;" allowfullscreen="true" aria-hidden="false"
tabindex="0"></iframe>
</div>
</div>
</div>
</div>
</section>
<!-- Map Area End -->
<div class="container row mx-auto">
<!-- Contact Form Starts -->
<section class="contact-form section-padding3 col-md-6">
<div class="container pt-5">
<div class="d-flex">
<div class="into-icon">
<i class="fa fa-home"></i>
</div>
<div class="info-text">
<h5>Perak, Malaysia</h5>
<p>Kampar</p>
</div>
</div>
<div class="d-flex">
<div class="into-icon">
<i class="fa fa-phone"></i>
</div>
<div class="info-text">
<h5>(123) 456 78 90</h5>
<p>Mon to Fri 9am to 6 pm</p>
</div>
</div>
<div class="d-flex">
<div class="into-icon">
<i class="fa fa-envelope-o"></i>
</div>
<div class="info-text">
<h5>tcprofessional@gmail.com</h5>
<p>Send us your query anytime!</p>
</div>
</div>
<div class="d-flex">
<div class="into-icon">
<a href="support.html">
<i class="fa fa-whatsapp"></i>
</a>
</div>
<div class="info-text">
<h5>60 12-516 8868</h5>
<p>Click the symbol on the left to whatsapp us today~~~</p>
</div>
</div>
</div>
</section>
<!-- Contact Form End -->
<!-- Feedback Form Starts-->
<section id="feedback-form" class="section-padding3 col-md-6">
<form action="" method="get" onsubmit="whatsAppFeedback(event)">
<div class="form-group">
<label for="name">Your Name</label>
<input type="text" name="name" id="name" class="form-control" placeholder="Enter your name here.">
</div>
<div class="form-group">
<label for="email">Your Email</label>
<input type="email" name="email" id="email" class="form-control" placeholder="Provide us a valid email.">
</div>
<div class="form-group">
<label for="states">State</label>
<select name="state" id="state" class="form-control" required>
<option value="">Select State</option>
<option value="Perak">Perak</option>
<option value="Selangor">Selangor</option>
<option value="Penang">Penang</option>
<option value="Kedah">Kedah</option>
<option value="Kelantan">Kelantan</option>
<option value="Perlis">Perlis</option>
<option value="Terrenganu">Terrenganu</option>
</select>
</div>
<div class="form-group">
<label for="feedback">Your feedback</label>
<textarea id="feedback" name="feedback" class="form-control" placeholder="What is in your mind now?" rows="5"></textarea>
</div>
<div class="d-flex">
<button type="submit" class="genric-btn primary circle arrow" data-toggle="tooltip" data-placement="top" title="Talk to our representative now." >Feedback</button>
</div>
</form>
</section>
<!-- Feedback Form Ends -->
</div>
<!-- Footer Area Starts -->
<footer class="footer-area">
<div class="footer-widget section-padding">
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="single-widget single-widget1">
<a href="index.html"><img src="assets/images/logo/logo.png" alt="logo" width="150px"></a>
<p class="mt-3">T&C Professional Juice sell a lot of healthy fruit juice with natural ingredients~ If u
like fruit
juice, what are you waiting for? Hurry up and buy ur own T&C juice now~</p>
</div>
</div>
<div class="col-md-4">
<div class="single-widget single-widget2 my-5 my-md-0">
<h5 class="mb-4">contact us</h5>
<div class="d-flex">
<div class="into-icon">
<i class="fa fa-map-marker"></i>
</div>
<div class="info-text">
<p>271, Jalan Perak 9, 31900 Kampar, Negeri Perak</p>
</div>
</div>
<div class="d-flex">
<div class="into-icon">
<i class="fa fa-phone"></i>
</div>
<div class="info-text">
<p>(123) 456 78 90</p>
</div>
</div>
<div class="d-flex">
<div class="into-icon">
<i class="fa fa-envelope-o"></i>
</div>
<div class="info-text">
<p>tcprofessional@gmail.com</p>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="single-widget single-widget3">
<h5 class="mb-4">opening hours</h5>
<p>Monday ...................... Closed</p>
<p>Tue-Fri .............. 10 am - 12 pm</p>
<p>Sat-Sun ............... 8 am - 11 pm</p>
<p>Holidays ............. 10 am - 12 pm</p>
</div>
</div>
</div>
</div>
</div>
<div class="footer-copyright">
<div class="container">
<div class="row">
<div class="col-lg-7 col-md-6">
<span>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
Copyright ©
<script>document.write(new Date().getFullYear());</script> All rights reserved | This
template is made with <i class="fa fa-heart-o" aria-hidden="true"></i> by <a href="https://colorlib.com"
target="_blank">Colorlib</a>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. --></span>
</div>
<div class="col-lg-5 col-md-6">
<div class="social-icons">
<ul>
<li class="no-margin">Follow Us</li>
<li><a href="https://www.facebook.com/"><i class="fa fa-facebook"></i></a></li>
<li><a href="https://twitter.com/"><i class="fa fa-twitter"></i></a></li>
<li><a href="https://www.google.com/"><i class="fa fa-google-plus"></i></a></li>
<li><a href="https://www.pinterest.com/"><i class="fa fa-pinterest"></i></a></li>
<li><a href="https://www.instagram.com/?hl=en"><i class="fa fa-instagram"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</footer>
<!-- Footer Area End -->
<!-- WhatsApp floating window starts -->
<div id="myWhatsApp"></div>
<!-- WhatsApp floating window ends -->
<!-- Javascript -->
<script src="assets/js/vendor/jquery-2.2.4.min.js"></script>
<script src="assets/js/vendor/bootstrap.bundle.min.js"></script>
<script src="assets/js/vendor/wow.min.js"></script>
<script src="assets/js/vendor/owl-carousel.min.js"></script>
<script src="assets/js/vendor/jquery.datetimepicker.full.min.js"></script>
<script src="assets/js/vendor/jquery.nice-select.min.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDpfS1oRGreGSBU5HHjMmQ3o5NLw7VdJ6I"></script>
<script src="assets/js/vendor/gmaps.min.js"></script>
<script src="assets/js/main.js"></script>
<script>
$(function () {
$('[data-toggle="tooltip"]').tooltip();
const cached = sessionStorage.getItem("feedback");
if (cached === null) return;
const form = JSON.parse(cached);
Object.entries(form).forEach((item) => {
document.getElementById(item[0]).value = item[1];
})
});
function whatsAppFeedback(event) {
event.preventDefault();
const cache = {};
const inputFields = document.querySelectorAll("section#feedback-form input, section#feedback-form select, section#feedback-form textarea");
inputFields.forEach(function(field) {
console.log(field.value);
cache[field.name] = field.value;
});
sessionStorage.setItem("feedback", JSON.stringify(cache));
const formData = Object.entries(cache).map((item) => encodeURI(`${item[0]}: ${item[1]}\n`)).join("");
window.open(`https://api.whatsapp.com/send?phone=60125168868&text=${formData}`);
}
</script>
</body>
</html>