-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathContact.html
406 lines (271 loc) · 11 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--
- primary meta tags
-->
<title>ICEBYFLEXZY </title>
<meta name="title" content="DIAMOND, MOISSONITE💎
High Quality Premium 𝐌𝐀𝐋𝐄 & 𝐅𝐄𝐌𝐀𝐋𝐄 jewelries
Luxury Costume Jewelry & 𝐖𝐀𝐓𝐂𝐇𝐄𝐒 ">
<meta name="description" content="DIAMOND, MOISSONITE💎
High Quality Premium 𝐌𝐀𝐋𝐄 & 𝐅𝐄𝐌𝐀𝐋𝐄 jewelries
Luxury Costume Jewelry & 𝐖𝐀𝐓𝐂𝐇𝐄𝐒 ">
<!--
- favicon
-->
<link rel="shortcut icon" href="logo.png" type="image/svg+xml">
<!--
- google font link
-->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./assets/fonts/font.css">
<!--
- custom css link
-->
<link rel="stylesheet" href="./assets/css/style.css">
<!--
- preload images
-->
<link rel="preload" as="image" href="logo.png">
</head>
<body>
<!--
- #HEADER
-->
<header class="header" data-header>
<div class="container">
<h1 class="h1 hero-title title" style="color: rgb(7, 82, 114);">ICEBYFLEXZY </h1>
<nav class="navbar" data-navbar>
<ul class="navbar-list">
<li>
<a href="index.html" class="navbar-link" style="color: aliceblue;">Home</a>
</li>
<li>
<a href="about.html" class="navbar-link" style="color: aliceblue;" >About </a>
</li>
<li>
<a href="store.html" class="navbar-link " style="color: aliceblue;"> Store </a>
</li>
<li>
<a href="Contact.html" class="navbar-link " style="color: aliceblue;"> Contact </a>
</li>
</ul>
<button class="cart-btn">
<ion-icon name="bag" aria-hidden="true"></ion-icon>
</button>
<a href="https://api.whatsapp.com/send?phone=2348103489560&text=%E2%80%AAwelcome%20to%20ICEBYFLEXZY%2C%20how%20may%20we%20help%20you%E2%80%A6%E2%80%A6%E2%80%AC " class="btn">+234 810 348 9560 </a>
</nav>
<button class="nav-open-btn" aria-label="toggle menu" data-nav-toggler>
<ion-icon name="menu-outline" aria-hidden="true"></ion-icon>
</button>
</div>
</header>
<main>
<article>
<section class="offer has-bg-image" style="background-image: url('./n1.jpg')">
<div class="container">
<h2 class="title card-title" style="color: rgb(253, 248, 240);">
Contact US
</h2>
<p class="card-text" style="color: aliceblue;">
</p>
<a href="store.html" class="btn btn-secondary">
<span class="span">Shop Now </span>
<ion-icon name="arrow-forward" aria-hidden="true"></ion-icon>
</a>
</div>
</div>
</section>
<!--
- #OFFER
-->
</article>
</main>
<footer class="footer">
<div class="container">
<div class="footer-top">
<div class="footer-brand">
<a href="#" class="logo">
<h1 class="h1 hero-title title" style="color: rgb(20, 22, 23); font-size: xx-large;">lOCATION </h1>
</a>
<p class="footer-text">
RVS Mall , 3rd Avenue Gwarimpa
Abuja, Nigeria
</p>
<ul class="social-list">
<li>
<a href="https://www.instagram.com/icebyflexzy/ " class="social-link">
<ion-icon name="logo-instagram"></ion-icon>
</a>
</li>
<li>
<a href=" https://api.whatsapp.com/send?phone=2348103489560&text=%E2%80%AAwelcome%20to%20ICEBYFLEXZY%2C%20how%20may%20we%20help%20you%E2%80%A6%E2%80%A6%E2%80%AC" class="social-link">
<ion-icon name="logo-whatsapp"></ion-icon>
</a>
</li>
<li>
<a href="#" class="social-link">
<ion-icon name="logo-twitter"></ion-icon>
</a>
</li>
</ul>
</div>
<ul class="footer-list">
<li>
<p class="footer-list-title title">Contact info</p>
<li>
<a href="+234 810 348 9560 " class="call">+234 810 348 9560 </a>
</li>
</ul>
<form class="contact-form" id="contactForm">
<div class="footer-list">
<p class="footer-list-title title">Contact Us</p>
<div class="form-group">
<label for="name">Name:</label>
<input type="text" name="name" id="name" placeholder=" " required class="input-field">
</div>
<div class="form-group">
<label for="number">Phone Number:</label>
<input type="tel" name="number" id="number" placeholder=" " class="input-field">
</div>
<div class="form-group">
<label for="email">Email Address:</label>
<input type="email" name="email" id="email" placeholder="" required class="input-field">
</div>
<div class="form-group">
<label for="location">Location:</label>
<input type="text" name="location" id="location" placeholder="City, State" class="input-field">
</div>
<div class="form-group">
<label for="message">Message:</label>
<textarea name="message" id="message" rows="5" placeholder="Enter your message here..." required class="input-field"></textarea>
</div>
<button type="submit" class="btn btn-secondary">Send Message</button>
</div>
</form>
<script>
const contactForm = document.getElementById('contactForm');
contactForm.addEventListener('submit', (event) => {
event.preventDefault(); // Prevent default form submission
const name = document.getElementById('name').value.trim(); // Trim whitespace
const number = document.getElementById('number').value.trim(); // Trim whitespace
const email = document.getElementById('email').value.trim(); // Trim whitespace
const message = document.getElementById('message').value.trim(); // Trim whitespace
const location = document.getElementById('location').value.trim(); // Trim whitespace
// Basic validation (optional, enhance as needed)
if (name === '' || email === '' || message === '') {
alert('Please fill in all required fields (Name, Email, Message).');
return; // Exit if validation fails
}
// Use a service like Formspree for email handling
fetch('https://formspree.io/f/xleqvdvq', {
method: 'POST',
body: JSON.stringify({ name, number, email, message, location }),
})
.then((response) => {
if (response.ok) {
// Submission successful
alert('Thank you for contacting us! We will get back to you soon.');
contactForm.reset(); // Clear the form after successful submission
} else {
console.error('Error:', response);
alert('Thank you for contacting us , we will get back to you soon .');
}
})
.catch((error) => {
console.error('Error:', error);
alert('Thank you for contacting us , we will get back to you soon .');
});
});
</script>
</div>
</footer>
<!--
- #FOOTER
-->
<footer class="footer">
<div class="container">
<div class="footer-top">
<div class="footer-brand">
<a href="#" class="logo">
<h1 class="h1 hero-title title" style="color: rgb(20, 22, 23); font-size: xx-large;">ICEBYFLEXZY </h1>
</a>
<p class="footer-text">
One-stop destination for luxurious jewelry that complements every style. We offer a stunning selection of both timeless classics and contemporary designs, ensuring you find the perfect pieces
</p>
<ul class="social-list">
<li>
<a href="https://www.instagram.com/icebyflexzy/ " class="social-link">
<ion-icon name="logo-instagram"></ion-icon>
</a>
</li>
<li>
<a href=" https://api.whatsapp.com/send?phone=2348103489560&text=%E2%80%AAwelcome%20to%20ICEBYFLEXZY%2C%20how%20may%20we%20help%20you%E2%80%A6%E2%80%A6%E2%80%AC" class="social-link">
<ion-icon name="logo-whatsapp"></ion-icon>
</a>
</li>
<li>
<a href="#" class="social-link">
<ion-icon name="logo-twitter"></ion-icon>
</a>
</li>
</ul>
</div>
<ul class="footer-list">
<li>
<p class="footer-list-title title">Contact info</p>
<address class="footer-text">
RVS Mall , 3rd Avenue Gwarimpa<br>
Abuja, Nigeria
</address>
</li>
<li>
<a href="+234 810 348 9560 " class="call">+234 810 348 9560 </a>
</li>
</ul>
<div class="footer-list">
<p class="footer-list-title title">Subscribe newsletter</p>
<input type="email" name="email_address" placeholder="Enter your email address" required autocomplete="off"
class="input-field">
<button class="btn btn-secondary">Subscribe</button>
</div>
</div>
<div class="footer-bottom">
<div class="wrapper">
<div class="link-wrapper">
<a href="#" class="footer-bottom-link">About Us </a>
<a href="#" class="footer-bottom-link">Our Team</a>
<a href="#" class="footer-bottom-link">Custom Designs</a>
<a href="#" class="footer-bottom-link">Contact Us</a>
</div>
<div class="link-wrapper">
<a href="#" class="footer-bottom-link">Terms & Conditions</a>
<a href="#" class="footer-bottom-link">Privacy Policy</a>
</div>
</div>
<p class="copyright">
© 2024
, All Rights Reserved
</p>
</div>
<img src="n7.png" width="245" height="165" loading="lazy" alt="shape"
class="shape shape-1">
</div>
</footer>
<!--
- custom js link
-->
<script src="./assets/js/script.js"></script>
<!--
- ionicon link
-->
<script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"></script>
</body>
</html>