-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcontact.html
507 lines (459 loc) · 25.7 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
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contact Us || Code Explorer</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta name="description"
content="Get in touch with Code Explorer. Contact our support team for any inquiries or assistance.">
<meta name="keywords"
content="Code Explorer, coding courses, programming, online learning, coding projects, Pabitra Banerjee">
<meta name="author" content="Pabitra Banerjee">
<meta name="robots" content="index, follow">
<meta name="og:title" content="Code Explorer">
<meta name="og:description"
content="Elevate your programming skills with Code Explorer. Online courses, expert instructors, and real projects.">
<meta name="og:image" content="https://explorecode.live/img/code-xplore-logo.png">
<meta name="og:url" content="https://explorecode.live">
<meta name="og:site_name" content="Code Explorer">
<!-- Favicon -->
<link href="img/ce.png" rel="icon">
<!-- Google Web Fonts -->
<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=Heebo:wght@400;500;600&family=Nunito:wght@600;700;800&display=swap"
rel="stylesheet">
<!-- Icon Font Stylesheet -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" rel="stylesheet">
<!-- Libraries Stylesheet -->
<link href="lib/animate/animate.min.css" rel="stylesheet">
<link href="lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
<!-- Customized Bootstrap Stylesheet -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Template Stylesheet -->
<link href="css/style.css" rel="stylesheet">
<link rel="stylesheet" href="css/security.css">
</head>
<body>
<!-- Spinner Start -->
<div id="spinner"
class="show bg-white position-fixed translate-middle w-100 vh-100 top-50 start-50 d-flex align-items-center justify-content-center">
<div class="spinner-border text-primary" style="width: 3rem; height: 3rem;" role="status">
<span class="sr-only">Loading...</span>
</div>
</div>
<!-- Spinner End -->
<!-- Navbar Start -->
<nav class="navbar navbar-expand-lg bg-white navbar-light shadow sticky-top p-0">
<a href="https://explorecode.live" class="navbar-brand d-flex align-items-center px-4 px-lg-5">
<img src="img/code-xplorer.png" alt="" style="height: 70%;">
</a>
<button type="button" class="navbar-toggler me-4" data-bs-toggle="collapse" data-bs-target="#navbarCollapse">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<div class="navbar-nav ms-auto p-4 p-lg-0">
<a href="https://explorecode.live" class="nav-item nav-link">Home</a>
<a href="agi-research" class="nav-item nav-link">AGI Research</a>
<a href="about" class="nav-item nav-link">About Us</a>
<a href="Code-Explorer.apk" class="nav-item nav-link">Download APP</a>
<div class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown">Pages</a>
<div class="dropdown-menu fade-down m-0">
<a href="team" class="dropdown-item">Our Team</a>
<a href="courses" class="dropdown-item">Courses</a>
<a href="mastering-dsa-using-python/introduction" class="dropdown-item">DSA In Python</a>
<a href="testimonial" class="dropdown-item">Testimonial</a>
<a href="c-programs" class="dropdown-item">C Programs</a>
<a href="404" class="dropdown-item">404 Page</a>
</div>
</div>
<a href="contact" class="nav-item nav-link active">Contact</a>
<div class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown">User</a>
<div class="dropdown-menu fade-down m-0">
<span id="userName" class="dropdown-item" style="display: none;"></span>
<a href="login" id="loginLink" class="dropdown-item">Login</a>
<a href="register" id="registerLink" class="dropdown-item">Register</a>
<button id="logoutBtn" style="display: none;" class="dropdown-item">Logout</button>
</div>
</div>
</div>
<a href="https://devlinecommunity.wixsite.com/dev-line-community"
class="btn btn-primary py-4 px-lg-5 d-none d-lg-block">Join Now<i
class="fa fa-arrow-right ms-3"></i></a>
</div>
</nav>
<!-- Navbar End -->
<!-- Script to dynamically update the navbar based on user authentication -->
<script type="module">
// Function to check if the user is logged in
function isUserLoggedIn() {
// Implement your logic to check if the user is logged in
// For example, check if the user is stored in localStorage
return localStorage.getItem('user-info') !== null;
}
// Function to update the navbar based on user authentication
function updateNavbar() {
const userName = document.getElementById('userName');
const loginLink = document.getElementById('loginLink');
const registerLink = document.getElementById('registerLink');
const logoutBtn = document.getElementById('logoutBtn');
if (isUserLoggedIn()) {
const userInfo = JSON.parse(localStorage.getItem('user-info'));
userName.textContent = `Welcome, ${userInfo.firstName}!`;
userName.style.display = 'inline-block';
loginLink.style.display = 'none';
registerLink.style.display = 'none';
logoutBtn.style.display = 'inline-block';
} else {
userName.style.display = 'none';
loginLink.style.display = 'inline-block';
registerLink.style.display = 'inline-block';
logoutBtn.style.display = 'none';
}
}
// Function to handle logout
function handleLogout() {
// Implement logout logic
// For example, remove user data from localStorage
localStorage.removeItem('user-info');
localStorage.removeItem('user-creds');
// Redirect to the register page
window.location.href = 'register';
}
// Call this function when the page loads to initialize the navbar
updateNavbar();
// Add click event listener for the logout button
document.getElementById('logoutBtn').addEventListener('click', handleLogout);
</script>
<!-- Header Start -->
<div class="container-fluid bg-primary back mb-5 page-header img-fluid">
<div class="container back">
<div class="row justify-content-center">
<div class="col-lg-10 text-center">
<h1 class="display-3 text-white animated slideInDown">Contact Us</h1>
<nav aria-label="breadcrumb">
<ol class="breadcrumb justify-content-center">
<li class="breadcrumb-item"><a class="text-white" href="https://explorecode.live">Home</a>
</li>
<li class="breadcrumb-item text-white active" aria-current="page">Contact Us</li>
</ol>
</nav>
</div>
</div>
</div>
</div>
<!-- Header End -->
<!-- Contact Start -->
<div class="container-xxl py-5">
<div class="container">
<div class="text-center wow fadeInUp" data-wow-delay="0.1s">
<h6 class="section-title bg-white text-center text-primary px-3">Contact Us</h6>
<h1 class="mb-5">Contact For Any Query</h1>
</div>
<div class="row g-4">
<div class="col-lg-4 col-md-6 wow fadeInUp" data-wow-delay="0.1s">
<h5>Get In Touch</h5>
<p class="mb-4">If you're facing any kind of problem regarding any of our services, fell free to
contact us . We're here to help you. Please fill out the form. Someone from our team will
contact you as soon as possible.</p>
<div class="d-flex align-items-center mb-3">
<div class="d-flex align-items-center justify-content-center flex-shrink-0 bg-primary"
style="width: 50px; height: 50px;">
<i class="fa fa-map-marker-alt text-white"></i>
</div>
<div class="ms-3">
<h5 class="text-primary">Office</h5>
<p class="mb-0">Manbazar, Purulia, 723131</p>
</div>
</div>
<div class="d-flex align-items-center mb-3">
<div class="d-flex align-items-center justify-content-center flex-shrink-0 bg-primary"
style="width: 50px; height: 50px;">
<i class="fa fa-phone-alt text-white"></i>
</div>
<div class="ms-3">
<h5 class="text-primary">Mobile</h5>
<p class="mb-0">+91-9064485906</p>
</div>
</div>
<div class="d-flex align-items-center">
<div class="d-flex align-items-center justify-content-center flex-shrink-0 bg-primary"
style="width: 50px; height: 50px;">
<i class="fa fa-envelope-open text-white"></i>
</div>
<div class="ms-3">
<h5 class="text-primary">Email</h5>
<p class="mb-0">[email protected]</p>
</div>
</div>
</div>
<!-- <iframe src="" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe> -->
<div class="col-lg-4 col-md-6 wow fadeInUp" data-wow-delay="0.3s">
<iframe class="position-relative rounded w-100 h-100"
src="https://www.google.com/maps/embed?pb=!1m22!1m8!1m3!1d3671.052368640911!2d86.6611908753149!3d23.05854157914858!3m2!1i1024!2i768!4f13.1!4m11!3e6!4m3!3m2!1d23.058692999999998!2d86.663806!4m5!1s0x39f6472c2c838d29%3A0x8c226e2161179116!2scode%20explorer%20manbazar!3m2!1d23.058528199999998!2d86.6636633!5e0!3m2!1sen!2sin!4v1701685512499!5m2!1sen!2sin"
frameborder="0" style="min-height: 300px; border:0;" allowfullscreen="" aria-hidden="false"
tabindex="0"></iframe>
</div>
<div class="col-lg-4 col-md-12 wow fadeInUp" data-wow-delay="0.5s">
<form id="form">
<div class="row g-3">
<div class="col-md-6">
<div class="form-floating">
<input type="text" class="form-control" placeholder="Your Name" id="name">
<label for="name">Your Name</label>
</div>
</div>
<div class="col-md-6">
<div class="form-floating">
<input type="email" class="form-control" placeholder="Your Email" id="email">
<label for="email">Your Email</label>
</div>
</div>
<div class="col-12">
<div class="form-floating">
<input type="text" class="form-control" id="subject" placeholder="Subject">
<label for="subject">Subject</label>
</div>
</div>
<div class="col-12">
<div class="form-floating">
<textarea class="form-control" placeholder="Leave a message here" id="message"
style="height: 150px"></textarea>
<label for="message">Message</label>
</div>
</div>
<div class="col-12">
<button class="btn btn-primary w-100 py-3" type="submit">Send Message</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- Contact End -->
<!-- Footer Start -->
<div class="container-fluid bg-dark text-light footer pt-5 mt-5 wow fadeIn" data-wow-delay="0.1s">
<div class="container py-5">
<div class="row g-5">
<div class="col-lg-3 col-md-6">
<h4 class="text-white mb-3">Quick Link</h4>
<a style="color: #fc9506;" class="btn btn-link" href="about">About Us</a>
<a style="color: #fc9506;" class="btn btn-link" href="contact">Contact Us</a>
<a style="color: #fc9506;" class="btn btn-link" href="privacy-policy">Privacy Policy</a>
<a style="color: #fc9506;" class="btn btn-link" href="terms">Terms & Condition</a>
<a style="color: #fc9506;" class="btn btn-link" href="faq">FAQs & Help</a>
<a style="color: #fc9506;" class="btn btn-link" href="team">Our Team</a>
</div>
<div class="col-lg-3 col-md-6">
<h4 class="text-white mb-3">Contact</h4>
<a style="color: white;" href="#"><p class="mb-2"><i class="fa fa-map-marker-alt me-3" style="color: white !important;"></i>Manbazar, Purulia</p></a>
<a style="color: #fc9506;" href="tel:+91-9064485906"><p class="mb-2"><i class="fa fa-phone-alt me-3" style="color: white !important;"></i>+91-9064485906</p></a>
<a style="color: #fc9506;" href="mailto:[email protected]"><p class="mb-2"><i class="fa fa-envelope me-3" style="color: white !important;"></i>[email protected]</p></a>
<a style="color: #fc9506;" href="https://wa.me/+919064485906"><p class="mb-2"><i class="fab fa-whatsapp me-3" style="color: white !important;"></i>+91-9064485906</p></a>
<div class="d-flex pt-2">
<a class="btn btn-outline-light btn-social" href="https://github.com/Team-Code-Explorer"><i
class="fab fa-github"></i></a>
<a class="btn btn-outline-light btn-social" href="https://twitter.com/ExploreCodeWiki"><i
class="fab fa-twitter"></i></a>
<a class="btn btn-outline-light btn-social" href="https://www.facebook.com/ExploreCodeWorld"><i
class="fab fa-facebook-f"></i></a>
<a class="btn btn-outline-light btn-social" href="https://www.youtube.com/@Explore-Code"><i
class="fab fa-youtube"></i></a>
<a class="btn btn-outline-light btn-social"
href="https://www.linkedin.com/company/explore-code"><i class="fab fa-linkedin-in"></i></a>
</div>
</div>
<div class="col-lg-3 col-md-6">
<h4 class="text-white mb-3">Technologies</h4>
<div class="row g-2 pt-2">
<div class="col-4">
<img class="img-fluid bg-light p-1" src="img/cpp.png" alt="C++"
style="border-radius: 10px;">
</div>
<div class="col-4">
<img class="img-fluid bg-light p-1" src="img/python.png" alt="Python"
style="border-radius: 10px;">
</div>
<div class="col-4">
<img class="img-fluid bg-light p-1" src="img/javascript.png" alt="JavaScript"
style="border-radius: 10px;">
</div>
<div class="col-4">
<img class="img-fluid bg-light p-1" src="img/react.png" alt="React.js"
style="border-radius: 10px;">
</div>
<div class="col-4">
<img class="img-fluid bg-light p-1" src="img/mongodb.png" alt="MongoDB"
style="border-radius: 10px;">
</div>
<div class="col-4">
<img class="img-fluid bg-light p-1" src="img/git.png" alt="Git Bash"
style="border-radius: 10px;">
</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<h4 class="text-white mb-3">Newsletter</h4>
<p>Subscribe to our newsletter to get latest updates.</p>
<br/>
<br/>
<div class="position-relative mx-auto" style="max-width: 400px;">
<input class="form-control border-0 w-100 py-3 ps-4 pe-5" type="text" placeholder="Your Email"
id="newsLetter">
<button type="button"
class="btn btn-primary py-2 position-absolute top-0 end-0 mt-2 me-2">SignUp</button>
</div>
</div>
</div>
</div>
<div class="container">
<div class="copyright">
<div class="row">
<div class="col-md-6 text-center text-md-start mb-3 mb-md-0">
© 2023-2024 :: <a class="border-bottom" href="https://explorecode.live">Code Explorer</a>, All
Right Reserved.
<!--/*** This template is free as long as you keep the footer author’s credit link/attribution link/backlink. If you'd like to use the template without the footer author’s credit link/attribution link/backlink, you can purchase the Credit Removal License from "https://htmlcodex.com/credit-removal". Thank you for your support. ***/-->
Designed By <a class="border-bottom" href="https://pabitrabanerjee.me">Pabitra
Banerjee</a><br><br>
Distributed By <a class="border-bottom" href="https://mbwebbers.tech">MB WEBBER'S</a>
</div>
<div class="col-md-6 text-center text-md-end">
<div class="footer-menu">
<a href="https://explorecode.live">Home</a>
<a href="contact">Contact</a>
<a href="help">Help</a>
<a href="faq">FQAs</a>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Footer End -->
<!-- Back to Top -->
<a href="#" class="btn btn-lg btn-primary btn-lg-square back-to-top"><i class="bi bi-arrow-up"></i></a>
<!-- Firebase Start -->
<script type="module">
// Import the necessary Firebase SDK modules
import { initializeApp } from "https://www.gstatic.com/firebasejs/10.7.1/firebase-app.js";
import { getDatabase, ref, push } from "https://www.gstatic.com/firebasejs/10.7.1/firebase-database.js";
import { getAnalytics } from "https://www.gstatic.com/firebasejs/10.7.1/firebase-analytics.js";
// Firebase configuration
const firebaseConfig = {
apiKey: "AIzaSyDf7TAM_YlL989gFR9whPHrREbwVUGQ1l4",
authDomain: "code-explorer-87c68.firebaseapp.com",
databaseURL: "https://code-explorer-87c68-default-rtdb.firebaseio.com",
projectId: "code-explorer-87c68",
storageBucket: "code-explorer-87c68.appspot.com",
messagingSenderId: "440768541183",
appId: "1:440768541183:web:2b506bf720495c4a67f7ca",
measurementId: "G-Z7Q78BXB2L"
};
// Initialize Firebase
const app = initializeApp(firebaseConfig);
const analytics = getAnalytics(app);
const db = getDatabase();
// Form elements with new IDs
let nameInput = document.getElementById('name');
let emailInput = document.getElementById('email');
let subjectInput = document.getElementById('subject');
let messageInput = document.getElementById('message');
let formElement = document.getElementById('form');
// Display custom message
function displaySuccess(message) {
let preventCopyContainer = document.createElement('div');
preventCopyContainer.classList.add('prevent-copy-container');
let preventCopyContent = document.createElement('div');
preventCopyContent.classList.add('prevent-copy-content');
let messageElement = document.createElement('p');
messageElement.textContent = message;
preventCopyContent.appendChild(messageElement);
preventCopyContainer.appendChild(preventCopyContent);
document.body.appendChild(preventCopyContainer);
// Remove the message after a certain time (e.g., 3 seconds)
setTimeout(function () {
document.body.removeChild(preventCopyContainer);
}, 3000);
}
function textRead(text) {
if ('speechSynthesis' in window) {
let speech = new SpeechSynthesisUtterance();
speech.text = text;
speech.lang = 'en-US';
let voices = speechSynthesis.getVoices();
let femaleVoice = voices.find(function (voice) {
return voice.name === 'Google UK English Female';
});
speech.voice = femaleVoice;
speechSynthesis.speak(speech);
}
}
// Function to handle form submission with updated names
function handleFormSubmission(evt) {
evt.preventDefault();
// Get form values
const name = nameInput.value;
const email = emailInput.value;
const subject = subjectInput.value;
const message = messageInput.value;
// Check if the form fields are not empty
if (name && email && subject && message) {
// Push form data to the "ContactForm" node in the database
push(ref(db, 'ContactForm'), {
name: name,
email: email,
subject: subject,
message: message
}).then(() => {
displaySuccess("Message sent successfully!");
textRead("Message sent successfully!");
// Clear form fields after successful submission
nameInput.value = '';
emailInput.value = '';
subjectInput.value = '';
messageInput.value = '';
}).catch((error) => {
console.error("Error submitting the form:", error);
displaySuccess("An error occurred. Please try again later.");
textRead("An error occurred. Please try again later.");
});
} else {
displaySuccess("Please fill in all the fields.");
textRead("Please fill in all the fields.");
}
}
// Attach submit event to the form with the new ID
formElement.addEventListener('submit', handleFormSubmission);
</script>
<!-- Firebase End -->
<!-- JavaScript Libraries -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="lib/wow/wow.min.js"></script>
<script src="lib/easing/easing.min.js"></script>
<script src="lib/waypoints/waypoints.min.js"></script>
<script src="lib/owlcarousel/owl.carousel.min.js"></script>
<!-- Template Javascript -->
<script src="js/main.js"></script>
<script src="js/security.js"></script>
<script type="module" src="js/newsletter.js"></script>
<!--Start of Tawk.to Script-->
<script type="text/javascript">
var Tawk_API = Tawk_API || {}, Tawk_LoadStart = new Date();
(function () {
var s1 = document.createElement("script"), s0 = document.getElementsByTagName("script")[0];
s1.async = true;
s1.src = 'https://embed.tawk.to/6575f59b07843602b80046d0/1hhaceqq1';
s1.charset = 'UTF-8';
s1.setAttribute('crossorigin', '*');
s0.parentNode.insertBefore(s1, s0);
})();
</script>
<!--End of Tawk.to Script-->
</body>
</html>