-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.html
More file actions
271 lines (246 loc) · 14.2 KB
/
contact.html
File metadata and controls
271 lines (246 loc) · 14.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Us - TruckCraft Studio</title>
<meta name="description" content="Get in touch with TruckCraft Studio for VTC website support, technical help, and expert guidance.">
<meta name="keywords" content="Contact TruckCraft Studio, VTC Support, Website Help, Technical Support, Customer Service">
<link rel="icon" href="assets/logo.png">
<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@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/style.css">
<link rel="stylesheet" href="assets/responsive-enhancements.css">
<link rel="stylesheet" href="assets/alignment-fixes.css">
<link rel="stylesheet" href="assets/animations.css">
<link rel="stylesheet" href="assets/preloader.css">
<script src="assets/preloader.js"></script>
</head>
<body>
<!-- Preloader -->
<script>document.write(PreloaderHandler.getHTML());</script>
<!-- Skip to main content for accessibility -->
<a href="#main-content" class="skip-link">Skip to main content</a>
<!-- Navigation will be inserted by JavaScript -->
<!-- Main Content -->
<main id="main-content" role="main">
<!-- Contact Hero Section -->
<section class="hero-section">
<div class="container">
<div class="contact-header fade-in-up">
<div class="hero-badge">
<span>📞 Get In Touch</span>
</div>
<h1 class="hero-title">
Contact Our
<span class="gradient-text">Expert Team</span>
</h1>
<p class="contact-subtitle">
Have questions about TruckCraft Studio? Need help with your VTC website?
Our team is here to support you every step of the way.
</p>
</div>
</div>
</section>
<!-- Contact Form & Info Section -->
<section class="section contact-section">
<div class="container">
<div class="contact-grid">
<!-- Contact Form -->
<div class="contact-form-container fade-in-up delay-1">
<div class="contact-form-header">
<h2>Send us a Message</h2>
<p>Fill out the form below and we'll get back to you within 24 hours.</p>
</div>
<form class="contact-form" id="contactForm">
<div class="form-row">
<div class="form-group">
<label for="firstName">First Name *</label>
<input type="text" id="firstName" name="firstName" required>
</div>
<div class="form-group">
<label for="lastName">Last Name *</label>
<input type="text" id="lastName" name="lastName" required>
</div>
</div>
<div class="form-group">
<label for="email">Email Address *</label>
<input type="email" id="email" name="email" required>
</div>
<div class="form-group">
<label for="company">VTC/Company Name</label>
<input type="text" id="company" name="company">
</div>
<div class="form-group">
<label for="subject">Subject *</label>
<select id="subject" name="subject" required>
<option value="">Select a topic</option>
<option value="general">General Inquiry</option>
<option value="support">Technical Support</option>
<option value="billing">Billing & Pricing</option>
<option value="partnership">Partnership</option>
<option value="feature">Feature Request</option>
<option value="other">Other</option>
</select>
</div>
<div class="form-group">
<label for="message">Message *</label>
<textarea id="message" name="message" rows="6" required placeholder="Tell us how we can help you..."></textarea>
</div>
<div class="form-group checkbox-group">
<label class="checkbox-label">
<input type="checkbox" id="newsletter" name="newsletter">
<span class="checkmark"></span>
Subscribe to our newsletter for updates and VTC tips
</label>
</div>
<button type="submit" class="btn-primary full-width">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
<path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"/>
</svg>
Send Message
</button>
</form>
</div>
<!-- Contact Information -->
<div class="contact-info fade-in-up delay-2">
<div class="contact-info-card">
<h3>Get in Touch</h3>
<p>We're here to help you create the perfect VTC website. Reach out through any of these channels:</p>
<div class="contact-methods">
<div class="contact-method">
<div class="contact-icon">
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor">
<path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/>
</svg>
</div>
<div class="contact-details">
<h4>Email Support</h4>
<p>support@truckcraft.studio</p>
<span>Response within 24 hours</span>
</div>
</div>
<div class="contact-method">
<div class="contact-icon">
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/>
</svg>
</div>
<div class="contact-details">
<h4>Discord Community</h4>
<p>Join our Discord server</p>
<span>Connect with other VTC owners</span>
</div>
</div>
</div>
</div>
<!-- FAQ Quick Links -->
<div class="contact-faq">
<h3>Quick Help</h3>
<div class="faq-links">
<a href="#" class="faq-link">
<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/>
</svg>
How to get started?
</a>
<a href="#" class="faq-link">
<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/>
</svg>
Pricing & billing questions
</a>
<a href="#" class="faq-link">
<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/>
</svg>
Template customization
</a>
<a href="#" class="faq-link">
<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/>
</svg>
Domain & hosting setup
</a>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
<!-- Footer will be inserted by JavaScript -->
<!-- Structured Data for SEO -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "ContactPage",
"name": "Contact TruckCraft Studio",
"description": "Get in touch with TruckCraft Studio for VTC website support, technical help, and expert guidance.",
"url": "https://truckcraft-studio.com/contact.html",
"mainEntity": {
"@type": "Organization",
"name": "TruckCraft Studio",
"contactPoint": {
"@type": "ContactPoint",
"contactType": "Customer Service",
"availableLanguage": "English"
}
}
}
</script>
<script src="assets/global-error-handler.js"></script>
<script src="assets/scroll-animations.js"></script>
<script src="assets/main.js"></script>
<script>
// Contact form handling with error handling
document.addEventListener('DOMContentLoaded', function() {
try {
const contactForm = document.getElementById('contactForm');
if (!contactForm) {
console.warn('Contact form not found on this page');
return;
}
contactForm.addEventListener('submit', function(e) {
e.preventDefault();
try {
// Get form data
const formData = new FormData(this);
const data = Object.fromEntries(formData);
// Simple validation
if (!data.firstName || !data.lastName || !data.email || !data.subject || !data.message) {
alert('Please fill in all required fields.');
return;
}
// Simulate form submission
const submitBtn = this.querySelector('button[type="submit"]');
if (!submitBtn) {
console.error('Submit button not found');
return;
}
const originalText = submitBtn.innerHTML;
submitBtn.innerHTML = '<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L6.7 14.8c-.45-.83-.7-1.79-.7-2.8 0-3.31 2.69-6 6-6zm6.76 1.74L17.3 9.2c.44.84.7 1.79.7 2.8 0 3.31-2.69 6-6 6v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26z"/></svg>Sending...';
submitBtn.disabled = true;
setTimeout(() => {
alert('Thank you for your message! We\'ll get back to you within 24 hours.');
this.reset();
submitBtn.innerHTML = originalText;
submitBtn.disabled = false;
}, 2000);
} catch (formError) {
console.error('Contact form submission error:', formError);
alert('There was an error submitting your message. Please try again.');
}
});
} catch (error) {
console.error('Contact form initialization error:', error);
}
});
</script>
<!-- Footer -->
<footer class="site-footer" role="contentinfo"><div class="footer-container"><div class="footer-main"><div class="footer-brand"><a href="index.html" class="footer-logo" aria-label="TruckCraft Studio Home"><svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M16 2L3 9v14l13 7 13-7V9L16 2z" fill="currentColor" opacity="0.2"/><path d="M16 8l8 4.5v9L16 26l-8-4.5v-9L16 8z" fill="currentColor"/><circle cx="16" cy="16" r="3" fill="white"/></svg><span>TruckCraft Studio</span></a><p class="footer-tagline">Create stunning VTC websites with ease. Professional tools for virtual trucking companies.</p><div class="footer-socials" role="list"><a href="https://twitter.com/your-handle" class="footer-social-link" aria-label="Follow us on Twitter" target="_blank" rel="noopener noreferrer"><svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M23 3a10.9 10.9 0 01-3.14 1.53 4.48 4.48 0 00-7.86 3v1A10.66 10.66 0 013 4s-4 9 5 13a11.64 11.64 0 01-7 2c9 5 20 0 20-11.5a4.5 4.5 0 00-.08-.83A7.72 7.72 0 0023 3z"/></svg></a><a href="https://linkedin.com/company/your-company" class="footer-social-link" aria-label="Connect on LinkedIn" target="_blank" rel="noopener noreferrer"><svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6zM2 9h4v12H2z"/><circle cx="4" cy="4" r="2"/></svg></a><a href="https://github.com/Shriii19/web-maker" class="footer-social-link" aria-label="View on GitHub" target="_blank" rel="noopener noreferrer"><svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 00-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0020 4.77 5.07 5.07 0 0019.91 1S18.73.65 16 2.48a13.38 13.38 0 00-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 005 4.77a5.44 5.44 0 00-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 009 18.13V22"/></svg></a></div></div><nav class="footer-links"><ul class="footer-links-list"><li><a href="about.html">About Us</a></li><li><a href="features.html">Features</a></li><li><a href="pricing.html">Pricing</a></li><li><a href="contact.html">Contact</a></li></ul></nav><nav class="footer-links"><ul class="footer-links-list"><li><a href="templates.html">Templates</a></li><li><a href="pro-templates.html">Pro Templates</a></li><li><a href="create.html">Create Website</a></li></ul></nav><nav class="footer-links"><ul class="footer-links-list"><li><a href="help.html">Help Center</a></li><li><a href="documentation.html">Documentation</a></li><li><a href="tutorials.html">Tutorials</a></li></ul></nav></div><div class="footer-bottom"><p class="footer-copyright">© <span id="current-year">2025</span> TruckCraft Studio. All rights reserved.</p><nav aria-label="Legal"><ul class="footer-legal"><li><a href="terms.html">Terms of Service</a></li><li><a href="privacy.html">Privacy Policy</a></li></ul></nav></div></div></footer>
<link rel="stylesheet" href="assets/footer.css">
<script src="assets/footer.js"></script>
</body>
</html>