{{ message }}
Repository navigation
Expand file tree
/
Copy pathcontact.html
More file actions
374 lines (340 loc) · 17.4 KB
/
Copy pathcontact.html
File metadata and controls
374 lines (340 loc) · 17.4 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Us | Maitra Web Tech - Premium Web Design</title>
<meta name="description" content="Get in touch with Maitra Web Tech for premium web design and development services.">
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<link rel="manifest" href="site.webmanifest">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<!-- Preload Critical Assets -->
<link rel="preload" href="style.css" as="style">
<link rel="preload" href="main.js" as="script">
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" as="style">
<!-- Fonts & Icons -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<!-- CSS -->
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="animations.css">
<!-- Mapbox GL JS -->
<link href="https://api.mapbox.com/mapbox-gl-js/v2.15.0/mapbox-gl.css" rel="stylesheet">
<script src="https://api.mapbox.com/mapbox-gl-js/v2.15.0/mapbox-gl.js"></script>
<!-- Inline Critical CSS -->
<style>
/* Above-the-fold styles */
.preloader {
position: fixed; top: 0; left: 0;
width: 100%; height: 100%;
background: #fff; z-index: 9999;
display: flex; justify-content: center; align-items: center;
}
.loader-spinner {
width: 50px; height: 50px;
border: 5px solid rgba(108, 92, 231, 0.2);
border-top-color: #6c5ce7;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.navbar, .hero-content { opacity: 0; }
</style>
</head>
<body>
<!-- Preloader -->
<div class="preloader">
<div class="loader-spinner"></div>
</div>
<!-- Navigation -->
<nav class="navbar">
<div class="container">
<a href="index.html" class="logo"><span>Maitra Web Tech</span></a>
<div class="nav-links">
<a href="index.html">Home</a>
<a href="about.html">About</a>
<a href="services.html">Services</a>
<a href="contact.html" class="btn btn-primary">Get a Quote</a>
</div>
<button class="hamburger">
<span></span>
<span></span>
<span></span>
</button>
</div>
</nav>
<!-- Hero Section -->
<section class="hero contact-hero">
<div class="container">
<div class="hero-content" data-aos="fade-up">
<h1 class="hero-title" data-aos="text-reveal">Let's Build <span>Together</span></h1>
</div>
</div>
</section>
<!-- Contact Information Cards -->
<section class="contact-info">
<div class="container">
<div class="info-grid">
<!-- Card 1: Address -->
<div class="info-card" data-aos="fade-up">
<div class="info-icon">
<i class="fas fa-map-marker-alt"></i>
</div>
<h3>Our Location</h3>
<p>145 Baghajatin Road, Budge Budge<br>Kolkata, India - 700138</p>
<a href="#map" class="btn btn-link">View on Map <i class="fas fa-arrow-right"></i></a>
</div>
<!-- Card 2: Phone -->
<div class="info-card" data-aos="fade-up" data-aos-delay="100">
<div class="info-icon">
<i class="fas fa-phone-alt"></i>
</div>
<h3>Call Us</h3>
<p>+91 9674026774<br>Mon-Sun, 10AM-10PM IST</p>
<a href="tel:+919876543210" class="btn btn-link">Call Now <i class="fas fa-arrow-right"></i></a>
</div>
<!-- Card 3: Email -->
<div class="info-card" data-aos="fade-up" data-aos-delay="200">
<div class="info-icon">
<i class="fas fa-envelope"></i>
</div>
<h3>Email Us</h3>
<p>contact@maitrawebtech.com<br>ishanmaitra2012@gmail.com</p>
<a href="mailto:ishanmaitra2012@gmail.com" class="btn btn-link">Email Now <i class="fas fa-arrow-right"></i></a>
</div>
<!-- Card 4: Social Media -->
<div class="info-card" data-aos="fade-up" data-aos-delay="300">
<div class="info-icon">
<i class="fas fa-share-alt"></i>
</div>
<h3>Connect With Us</h3>
<div class="social-links">
<a href="https://github.com/maitrawebtech" target="_blank"><i class="fab fa-github"></i></a>
<a href="https://www.linkedin.com/in/ishan-maitra-574123356?utm_source=share&utm_campaign=share_via&utm_content=profile&utm_medium=android_app" target="_blank"><i class="fab fa-linkedin"></i></a>
<a href="https://twitter.com/maitrawebtech" target="_blank"><i class="fab fa-twitter"></i></a>
<a href="https://wa.me/919674026774" target="_blank"><i class="fab fa-whatsapp"></i></a>
</div>
</div>
</div>
</div>
</section>
<!-- Contact Form & Map -->
<section class="contact-main">
<div class="container">
<div class="contact-grid">
<!-- Contact Form -->
<div class="contact-form-container" data-aos="fade-right">
<h2>Send Us a Message</h2>
<p>Fill out the form below and we'll respond within 24 hours</p>
<form id="contactForm" action="https://formspree.io/f/xgvaeyrg" method="POST">
<div class="form-group">
<input type="text" name="name" id="name" placeholder="Your Name" required>
<div class="error-message" id="nameError"></div>
</div>
<div class="form-group">
<input type="email" name="email" id="email" placeholder="Your Email" required>
<div class="error-message" id="emailError"></div>
</div>
<div class="form-group">
<input type="tel" name="phone" id="phone" placeholder="Phone Number (Optional)">
<div class="error-message" id="phoneError"></div>
</div>
<div class="form-group">
<select name="service" id="service" required>
<option value="" disabled selected>Select a Service</option>
<option value="web-design">Web Design</option>
<option value="ecommerce">E-Commerce</option>
<option value="seo">SEO Optimization</option>
<option value="other">Other</option>
</select>
<div class="error-message" id="serviceError"></div>
</div>
<div class="form-group">
<textarea name="message" id="message" placeholder="Your Project Details" required></textarea>
<div class="error-message" id="messageError"></div>
</div>
<button type="submit" class="btn btn-primary">
<span id="submitText">Send Message</span>
<div id="submitSpinner" class="spinner"></div>
</button>
</form>
<div id="formSuccess" class="form-success">
<i class="fas fa-check-circle"></i>
<h3>Message Sent Successfully!</h3>
<p>We'll get back to you within 24 hours.</p>
</div>
</div>
<!-- Map -->
<div class="contact-map" data-aos="fade-left" id="map">
<div id="mapContainer"></div>
<div class="map-overlay">
<h3>Our Office</h3>
<p><i class="fas fa-map-marker-alt"></i> 145 Baghajatin Road, Pujali, Budge Budge, Kolkata - 700138</p>
<a href="https://maps.google.com/?q=145+Baghajatin+Road+Pujali+Kolkata+700138" target="_blank" class="btn btn-secondary">
Open in Google Maps
</a>
</div>
</div>
</div>
</div>
</section>
<!-- Payment Section -->
<section class="payment-section">
<div class="container">
<div class="payment-container" data-aos="fade-up">
<div class="payment-content">
<h2>Secure Payment</h2>
<p>Pay your project deposit securely via PayPal</p>
<a href="https://paypal.me/maitrawebtech" target="_blank" class="btn btn-primary payment-btn">
<i class="fab fa-paypal"></i> Pay with PayPal
</a>
<p class="payment-note">You'll be redirected to PayPal's secure payment system</p>
</div>
<div class="payment-image" data-aos="fade-left">
<img src="qr code.jpg" alt="Secure Payment" width="500" height="300">
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="footer">
<div class="container">
<div class="footer-grid">
<div class="footer-col">
<a href="index.html" class="logo"><span>MaitraWebTech</span></a>
<p>Crafting premium digital experiences that drive results.</p>
<div class="social-links">
<a href="https://instagram.com/ishan.maitra" target="_blank"><i class="fab fa-instagram"></i></a>
<a href="https://twitter.com/maitrawebtech" target="_blank"><i class="fab fa-twitter"></i></a>
<a href="https://linkedin.com/company/maitrawebtech" target="_blank"><i class="fab fa-linkedin"></i></a>
<a href="https://github.com/maitrawebtech" target="_blank"><i class="fab fa-github"></i></a>
</div>
</div>
<div class="footer-col">
<h3>Quick Links</h3>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="services.html">Services</a></li>
<li><a href="https://ishanmaitra.github.io/ishanmaitra/">Services</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
<div class="footer-col">
<h3>Services</h3>
<ul>
<li><a href="services.html">Web Design</a></li>
<li><a href="services.html">E-Commerce</a></li>
<li><a href="services.html">SEO</a></li>
</ul>
</div>
<div class="footer-col">
<h3>Contact</h3>
<ul>
<li><i class="fas fa-envelope"></i> ishanmaitra2012@gmail.com</li>
<li><i class="fab fa-whatsapp"></i> +91 9674026774</li>
</ul>
</div>
</div>
<div class="footer-bottom">
<p>© 2025 Maitra Web Tech. All rights reserved.</p>
</div>
</div>
</footer>
<!-- Scripts -->
<script src="main.js"></script>
<script src="animations.js"></script>
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script>
// Initialize AOS animations
document.addEventListener('DOMContentLoaded', function() {
AOS.init({
duration: 800,
easing: 'ease-out-quart',
once: true,
offset: 100
});
// Remove preloader
setTimeout(() => {
document.querySelector('.preloader').style.opacity = '0';
setTimeout(() => {
document.querySelector('.preloader').style.display = 'none';
}, 500);
}, 500);
// Initialize Mapbox
mapboxgl.accessToken = 'YOUR_MAPBOX_ACCESS_TOKEN';
const map = new mapboxgl.Map({
container: 'mapContainer',
style: 'mapbox://styles/mapbox/streets-v12',
center: [77.5946, 12.9716], // Bangalore coordinates
zoom: 12
});
// Add marker
new mapboxgl.Marker()
.setLngLat([77.5946, 12.9716])
.addTo(map);
// Form validation
const contactForm = document.getElementById('contactForm');
if (contactForm) {
contactForm.addEventListener('submit', function(e) {
e.preventDefault();
// Validate form
let isValid = true;
const name = document.getElementById('name');
const email = document.getElementById('email');
const message = document.getElementById('message');
// Reset errors
document.querySelectorAll('.error-message').forEach(el => el.textContent = '');
// Name validation
if (name.value.trim() === '') {
document.getElementById('nameError').textContent = 'Name is required';
isValid = false;
}
// Email validation
if (email.value.trim() === '') {
document.getElementById('emailError').textContent = 'Email is required';
isValid = false;
} else if (!/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(email.value)) {
document.getElementById('emailError').textContent = 'Invalid email format';
isValid = false;
}
// Message validation
if (message.value.trim() === '') {
document.getElementById('messageError').textContent = 'Message is required';
isValid = false;
}
if (isValid) {
// Show loading state
const submitText = document.getElementById('submitText');
const spinner = document.getElementById('submitSpinner');
submitText.textContent = 'Sending...';
spinner.style.display = 'inline-block';
// Submit to Formspree
fetch(contactForm.action, {
method: 'POST',
body: new FormData(contactForm),
headers: { 'Accept': 'application/json' }
})
.then(response => {
if (response.ok) {
contactForm.style.display = 'none';
document.getElementById('formSuccess').style.display = 'block';
contactForm.reset();
} else {
throw new Error('Failed to send');
}
})
.catch(() => alert('Error! Please try again later.'))
.finally(() => {
submitText.textContent = 'Send Message';
spinner.style.display = 'none';
});
}
});
}
});
</script>
</body>
</html>
You can’t perform that action at this time.
