-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcontact.html
More file actions
534 lines (458 loc) · 15.5 KB
/
contact.html
File metadata and controls
534 lines (458 loc) · 15.5 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Us - Chatbot Tutor Team</title>
<!-- Font Awesome for icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: #f5f7fa;
color: #333;
line-height: 1.6;
}
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 5%;
background-color: #4a6fa5;
color: white;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: relative;
}
.logo {
font-size: 1.5rem;
font-weight: bold;
}
.logo span {
color: #ffd166;
}
.nav-links {
display: flex;
list-style: none;
}
.nav-links li {
margin-left: 2rem;
}
.nav-links a {
color: white;
text-decoration: none;
font-weight: 500;
transition: color 0.3s;
}
.nav-links a:hover {
color: #ffd166;
}
.login-btn {
background-color: #ffd166;
color: #333;
border: none;
padding: 0.5rem 1.2rem;
border-radius: 5px;
font-weight: 600;
cursor: pointer;
transition: background-color 0.3s;
}
.login-btn:hover {
background-color: #ffc233;
}
/* Mobile menu */
.mobile-menu-btn {
display: none;
background: none;
border: none;
color: white;
font-size: 1.5rem;
cursor: pointer;
}
.mobile-nav {
display: none;
position: absolute;
top: 100%;
left: 0;
width: 100%;
background-color: #4a6fa5;
padding: 1rem;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
z-index: 100;
}
.mobile-nav.active {
display: block;
}
.mobile-nav-links {
list-style: none;
}
.mobile-nav-links li {
margin: 1rem 0;
}
.mobile-nav-links a {
color: white;
text-decoration: none;
font-weight: 500;
display: block;
padding: 0.5rem 0;
}
.contact-hero {
padding: 4rem 5%;
background: linear-gradient(135deg, #4a6fa5 0%, #3a5a8a 100%);
color: white;
text-align: center;
}
.contact-hero h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.contact-hero p {
font-size: 1.1rem;
max-width: 800px;
margin: 0 auto 2rem;
opacity: 0.9;
}
.contact-section {
padding: 5rem 5%;
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 3rem;
}
.contact-info {
background-color: white;
padding: 2rem;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.contact-info h2 {
font-size: 1.8rem;
margin-bottom: 1.5rem;
color: #333;
}
.contact-details {
margin-bottom: 2rem;
}
.contact-item {
display: flex;
align-items: flex-start;
margin-bottom: 1.5rem;
}
.contact-icon {
background-color: #4a6fa5;
color: white;
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 1rem;
flex-shrink: 0;
}
.contact-text h3 {
font-size: 1.1rem;
margin-bottom: 0.3rem;
color: #333;
}
.contact-text p, .contact-text a {
color: #666;
text-decoration: none;
transition: color 0.3s;
}
.contact-text a:hover {
color: #4a6fa5;
}
.social-media h3 {
margin-bottom: 1rem;
color: #333;
}
.social-links {
display: flex;
gap: 1rem;
}
.social-links a {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background-color: #4a6fa5;
color: white;
border-radius: 50%;
text-decoration: none;
transition: all 0.3s;
font-size: 1.2rem;
}
.social-links a:hover {
background-color: #3a5a8a;
transform: scale(1.1);
}
.contact-form {
background-color: white;
padding: 2rem;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.contact-form h2 {
font-size: 1.8rem;
margin-bottom: 1.5rem;
color: #333;
}
.form-group {
margin-bottom: 1.5rem;
}
.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
color: #333;
}
.form-control {
width: 100%;
padding: 0.8rem;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 1rem;
transition: border-color 0.3s;
}
.form-control:focus {
outline: none;
border-color: #4a6fa5;
}
textarea.form-control {
min-height: 150px;
resize: vertical;
}
.submit-btn {
background-color: #4a6fa5;
color: white;
border: none;
padding: 0.8rem 1.5rem;
border-radius: 5px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: background-color 0.3s;
}
.submit-btn:hover {
background-color: #3a5a8a;
}
.map-container {
grid-column: 1 / -1;
height: 400px;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.map-container iframe {
width: 100%;
height: 100%;
border: none;
}
footer {
background-color: #333;
color: white;
text-align: center;
padding: 2rem 5%;
margin-top: 3rem;
}
.footer-links {
display: flex;
justify-content: center;
list-style: none;
margin-bottom: 1.5rem;
flex-wrap: wrap;
}
.footer-links li {
margin: 0.5rem 1rem;
}
.footer-links a {
color: #ccc;
text-decoration: none;
transition: color 0.3s;
}
.footer-links a:hover {
color: #ffd166;
}
@media (max-width: 768px) {
.nav-links, .login-btn {
display: none;
}
.mobile-menu-btn {
display: block;
}
.contact-hero h1 {
font-size: 2rem;
}
.contact-hero p {
font-size: 1rem;
}
}
@media (max-width: 480px) {
.navbar {
padding: 1rem;
}
.contact-hero {
padding: 3rem 1rem;
}
.contact-section {
padding: 3rem 1rem;
grid-template-columns: 1fr;
}
.contact-info, .contact-form {
padding: 1.5rem;
}
}
</style>
</head>
<body>
<nav class="navbar">
<div class="logo">Chatbot<span>Tutor</span></div>
<ul class="nav-links">
<li><a href="/">Home</a></li>
<li><a href="/chatbot.html">Chatbot</a></li>
<li><a href="/about.html">About</a></li>
<li><a href="/contact.html">Contact</a></li>
</ul>
<button class="login-btn" onclick="location.href='/auth.html'">Login</button>
<button class="mobile-menu-btn" id="mobileMenuBtn">
<i class="fas fa-bars"></i>
</button>
<div class="mobile-nav" id="mobileNav">
<ul class="mobile-nav-links">
<li><a href="/">Home</a></li>
<li><a href="/chatbot.html">Chatbot</a></li>
<li><a href="/about.html">About</a></li>
<li><a href="/contact.html">Contact</a></li>
<li><a href="/auth.html">Login</a></li>
</ul>
</div>
</nav>
<section class="contact-hero">
<h1>Get In Touch</h1>
<p>Have questions, suggestions, or feedback? We'd love to hear from you! Reach out to our team and we'll get back to you as soon as possible.</p>
</section>
<section class="contact-section">
<div class="contact-info">
<h2>Contact Information</h2>
<div class="contact-details">
<div class="contact-item">
<div class="contact-icon">
<i class="fas fa-map-marker-alt"></i>
</div>
<div class="contact-text">
<h3>Our Location</h3>
<p>123 Education Street, Tech City, TC 12345</p>
</div>
</div>
<div class="contact-item">
<div class="contact-icon">
<i class="fas fa-envelope"></i>
</div>
<div class="contact-text">
<h3>Email Us</h3>
<a href="mailto:contact@chatbottutor.com">contact@chatbottutor.com</a>
</div>
</div>
<div class="contact-item">
<div class="contact-icon">
<i class="fas fa-phone-alt"></i>
</div>
<div class="contact-text">
<h3>Call Us</h3>
<a href="tel:+11234567890">+1 (123) 456-7890</a>
</div>
</div>
</div>
<div class="social-media">
<h3>Follow Us</h3>
<div class="social-links">
<a href="#" target="_blank" title="Facebook">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" target="_blank" title="Twitter">
<i class="fab fa-twitter"></i>
</a>
<a href="#" target="_blank" title="LinkedIn">
<i class="fab fa-linkedin-in"></i>
</a>
<a href="#" target="_blank" title="Instagram">
<i class="fab fa-instagram"></i>
</a>
</div>
</div>
</div>
<div class="contact-form">
<h2>Send Us a Message</h2>
<form id="contactForm">
<div class="form-group">
<label for="name">Your Name</label>
<input type="text" id="name" class="form-control" required>
</div>
<div class="form-group">
<label for="email">Email Address</label>
<input type="email" id="email" class="form-control" required>
</div>
<div class="form-group">
<label for="subject">Subject</label>
<input type="text" id="subject" class="form-control" required>
</div>
<div class="form-group">
<label for="message">Your Message</label>
<textarea id="message" class="form-control" required></textarea>
</div>
<button type="submit" class="submit-btn">Send Message</button>
</form>
</div>
<div class="map-container">
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3022.215573291865!2d-73.987844924164!3d40.74844047138911!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89c259a9b3117469%3A0xd134e199a405a163!2sEmpire%20State%20Building!5e0!3m2!1sen!2sus!4v1689876423580!5m2!1sen!2sus" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
</div>
</section>
<footer>
<ul class="footer-links">
<li><a href="#">Privacy Policy</a></li>
<li><a href="#">Terms of Service</a></li>
<li><a href="#">FAQ</a></li>
<li><a href="/contact.html">Contact Us</a></li>
</ul>
<p>© 2023 Chatbot Tutor. All rights reserved.</p>
</footer>
<script>
// Mobile menu toggle
const mobileMenuBtn = document.getElementById('mobileMenuBtn');
const mobileNav = document.getElementById('mobileNav');
mobileMenuBtn.addEventListener('click', () => {
mobileNav.classList.toggle('active');
});
// Close mobile menu when clicking on a link
const mobileLinks = document.querySelectorAll('.mobile-nav-links a');
mobileLinks.forEach(link => {
link.addEventListener('click', () => {
mobileNav.classList.remove('active');
});
});
// Form submission handling
const contactForm = document.getElementById('contactForm');
contactForm.addEventListener('submit', (e) => {
e.preventDefault();
// Get form values
const name = document.getElementById('name').value;
const email = document.getElementById('email').value;
const subject = document.getElementById('subject').value;
const message = document.getElementById('message').value;
// Here you would typically send the data to a server
console.log('Form submitted:', { name, email, subject, message });
// Show success message
alert('Thank you for your message! We will get back to you soon.');
// Reset form
contactForm.reset();
});
</script>
</body>
</html>