-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.html
More file actions
581 lines (524 loc) · 25.9 KB
/
contact.html
File metadata and controls
581 lines (524 loc) · 25.9 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
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
<!DOCTYPE html>
<html lang="us-us">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact - GreenToastSoftware</title>
<link rel="icon" type="image/png" href="Toast_4K_icon.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;800&display=swap" rel="stylesheet">
<link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Navigation -->
<nav class="navbar" data-aos="fade-down">
<div class="nav-container">
<a href="index.html" class="nav-logo">
<img src="Toast_4K_icon.png" alt="Toast Icon" class="nav-logo-icon" onerror="this.src='Toast_4K_icon.png'">
<span class="logo-text">GreenToastSoftware</span>
<span class="logo-dot"></span>
</a>
<ul class="nav-menu">
<li class="nav-item">
<a href="index.html" class="nav-link">Home</a>
</li>
<li class="nav-item dropdown">
<a href="index.html#innovation" class="nav-link">
Innovation
<span class="dropdown-arrow">▾</span>
</a>
<div class="dropdown-content">
<a href="GreenToast Apps.html" class="dropdown-link">
<span class="dropdown-text">GreenToast Apps</span>
</a>
<a href="greentoastinsider_blog.html" class="dropdown-link">
<span class="dropdown-text">GreenInsider Blog</span>
</a>
<a href="projects.html" class="dropdown-link">
<span class="dropdown-text">GreenProjects</span>
</a>
</div>
</li>
<li class="nav-item">
<a href="worksup.html" class="nav-link">WorksUP</a>
</li>
<li class="nav-item">
<a href="index.html#services" class="nav-link">Services</a>
</li>
<li class="nav-item">
<a href="about.html" class="nav-link">About Us</a>
</li>
<li class="nav-item">
<a href="contact.html" class="nav-link active">Contact Us</a>
</li>
<li class="nav-item">
<a href="login.html" class="nav-link account-link" id="auth-nav-btn">Sign In</a>
</li>
</ul>
<div class="hamburger">
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
</div>
</div>
</nav>
<!-- Contact Hero Section -->
<section class="contact-hero">
<div class="hero-background">
<div class="theme-image-bg"></div>
<div class="floating-shapes">
<div class="shape shape-1"></div>
<div class="shape shape-2"></div>
<div class="shape shape-3"></div>
<div class="shape shape-4"></div>
<div class="shape shape-5"></div>
<div class="shape shape-6"></div>
</div>
</div>
<div class="particles-container">
<div class="particle"></div>
<div class="particle"></div>
<div class="particle"></div>
<div class="particle"></div>
<div class="particle"></div>
<div class="particle"></div>
<div class="particle"></div>
<div class="particle"></div>
</div>
<div class="container">
<div class="contact-hero-content">
<div class="hero-badge">
<span class="badge-text" style="color: #fff;">CONTACT US!</span>
</div>
<h1 class="hero-title">
<span class="animate-text">Need help?</span>
<span class="animate-text">Do you have any suggestions?</span>
</h1>
<p class="hero-subtitle animate-fade">
Don't hesitate to contact us!
Fast, simple and easy, just GreenToastSoftware.
</p>
<div class="hero-stats">
<div class="stat-item">
<span class="stat-number" data-aos="counter-up">24h</span>
<span class="stat-label" style="color: #fff;">Response</span>
</div>
<div class="stat-item">
<span class="stat-number" data-aos="counter-up">100%</span>
<span class="stat-label" style="color: #fff;">Dedication</span>
</div>
<div class="stat-item">
<span class="stat-number" data-aos="counter-up">∞</span>
<span class="stat-label" style="color: #fff;">Possibilities</span>
</div>
</div>
<div class="hero-separator" aria-hidden="true"></div>
</div>
</div>
<div class="scroll-indicator" style="color: #fff;">
<div class="mouse" style="border: 2px solid #fff;">
<div class="wheel" style="border: 2px solid #fff;"></div>
</div>
</div>
</section>
<!-- Contact Methods Section -->
<section class="contact-methods-section">
<div class="container">
<div class="section-header" data-aos="fade-up">
<h2 class="section-title gradient-text">How to contact us</h2>
<p class="section-subtitle">Choose the way that suits you best to start our conversation.</p>
</div>
<div class="contact-methods-grid">
<div class="contact-method-card" data-aos="fade-up" data-aos-delay="100">
<div class="method-icon">
<svg 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>
<h3>Email</h3>
<p>The fastest and most efficient way</p>
<a href="mailto:[email protected]?subject=Contact%20from%20Website&body=Hello%20GreenToastSoftware%20team,%0D%0A%0D%0AI%20would%20like%20to%20get%20in%20touch%20regarding:%0D%0A%0D%0A" class="method-link" style="word-break: break-all; line-height: 1.4;">[email protected]</a>
</div>
<div class="contact-method-card" data-aos="fade-up" data-aos-delay="300">
<div class="method-icon">
<svg viewBox="0 0 24 24" fill="currentColor">
<path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/>
</svg>
</div>
<h3>Location</h3>
<p>We are a international company based in:</p>
<span class="method-link">Lisboa, Portugal</span>
</div>
</div>
</div>
</section>
<!-- Contact Form Section -->
<section class="contact-form-section">
<div class="container">
<div class="contact-form-content">
<div class="form-info" data-aos="fade-right">
<h2>Contact us easily</h2>
<p>Tell us your question, and we will get back to you shortly.</p>
<div class="info-highlights">
<div class="highlight-item">
<div class="highlight-icon">
<svg viewBox="0 0 24 24" fill="currentColor">
<path d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"/>
</svg>
</div>
<div>
<h4>Better accessibility</h4>
<p>You can write in any language, and we will respond accurately.</p>
</div>
</div>
<div class="highlight-item">
<div class="highlight-icon">
<svg viewBox="0 0 24 24" fill="currentColor">
<path d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"/>
</svg>
</div>
<div>
<h4>Quick Response</h4>
<p>Response within 24 hours</p>
</div>
</div>
</div>
</div>
<div class="contact-form-container" data-aos="fade-left">
<form class="contact-form" id="contactForm" action="https://formspree.io/f/xovlpgpb" method="POST">
<div class="form-header">
<h3>Send us a message</h3>
<p>Fill in the form and we will contact you soon!</p>
</div>
<div class="form-grid">
<div class="form-group">
<input type="text" id="name" name="name" required>
<label for="name">Full Name</label>
<div class="form-highlight"></div>
</div>
<div class="form-group">
<input type="email" id="email" name="email" required>
<label for="email">Email</label>
<div class="form-highlight"></div>
</div>
<div class="form-group">
<input type="tel" id="phone" name="phone">
<label for="phone">Phone (Optional)</label>
<div class="form-highlight"></div>
</div>
<div class="form-group">
<select id="service" name="service" required>
<option value="">Select a context</option>
<option value="Suggestion">Suggestion</option>
<option value="Question">Question</option>
<option value="App problems">App problems</option>
<option value="Others">Others</option>
</select>
<label for="service">Context</label>
<div class="form-highlight"></div>
</div>
</div>
<div class="form-group full-width">
<textarea id="message" name="message" required rows="6"></textarea>
<label for="message">Description</label>
<div class="form-highlight"></div>
</div>
<div class="form-group checkbox-group">
<input type="checkbox" id="terms" name="terms" required>
<label for="terms" class="checkbox-label">
I agree with <a href="#" class="terms-link">terms and conditions</a> and Privacy Policy
</label>
</div>
<button type="submit" class="btn btn-primary btn-large">
<span>Send Message</span>
<svg class="btn-icon" viewBox="0 0 24 24" fill="currentColor">
<path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"/>
</svg>
</button>
</form>
</div>
</div>
</div>
</section>
<!-- FAQ Section -->
<section class="faq-section">
<div class="container">
<div class="section-header" data-aos="fade-up">
<h2 class="section-title gradient-text">Frequently Asked Questions</h2>
<p class="section-subtitle">Find answers to the most common questions</p>
</div>
<div class="faq-container">
<div class="faq-item" data-aos="fade-up" data-aos-delay="100">
<div class="faq-question">
<h3>How long does it take an application to be launched?</h3>
<div class="faq-icon">
<svg viewBox="0 0 24 24" fill="currentColor">
<path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>
</svg>
</div>
</div>
<div class="faq-answer">
<p>The timeframe varies depending on the complexity of the project, as it depends on several factors, such as functionality, design, and accessibility for all users.</p>
</div>
</div>
<div class="faq-item" data-aos="fade-up" data-aos-delay="200">
<div class="faq-question">
<h3>Do they offer technical app support?</h3>
<div class="faq-icon">
<svg viewBox="0 0 24 24" fill="currentColor">
<path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>
</svg>
</div>
</div>
<div class="faq-answer">
<p>Yes! We offer complete support after Greentoast app launch, including maintenance, updates and problem solving.</p>
</div>
</div>
<div class="faq-item" data-aos="fade-up" data-aos-delay="300">
<div class="faq-question">
<h3>How does the development process work?</h3>
<div class="faq-icon">
<svg viewBox="0 0 24 24" fill="currentColor">
<path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>
</svg>
</div>
</div>
<div class="faq-answer">
<p>We follow an agile methodology: 1) Requirements analysis, 2) Prototyping and design, 3) Development, 4) Testing, 5) Official launch. After the main development, our secondary team will provide security updates, functionality, and bug fixes.</p>
</div>
</div>
<div class="faq-item" data-aos="fade-up" data-aos-delay="400">
<div class="faq-question">
<h3>What programming languages do they work for with?</h3>
<div class="faq-icon">
<svg viewBox="0 0 24 24" fill="currentColor">
<path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>
</svg>
</div>
</div>
<div class="faq-answer">
<p>We use the most modern and suitable technologies for each project: C#, Visual Basic, Xaml, Html, MS-DOS, JavaScript and CSS and much more.</p>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="footer">
<div class="container">
<div class="footer-content">
<div class="footer-brand"><div class="nav-logo">
<img src="Toast_4K_icon.png"
alt="Toast Icon"
class="nav-logo-icon"
onerror="this.src='Toast_4K_icon.png';">
<span class="logo-text">©GreenToastSoftware Corporation</span>
</div>
<p>Imagining a technological future for everyone®</p>
</div>
<div class="footer-links">
<a href="index.html">Home</a>
<a href="index.html#innovation">Innovation</a>
<a href="index.html#services">Services</a>
<a href="about.html">About</a>
<a href="contact.html">Contact</a>
</div>
</div>
<div class="footer-bottom">
<p>©GreenToastSoftware. All rights reserved 2020-2026.</p>
</div>
</div>
</footer>
<!-- Scripts -->
<script src="https://unpkg.com/[email protected]/dist/aos.js"></script>
<script>
// Initialize AOS
AOS.init({
duration: 800,
offset: 100,
once: true
});
// Mobile Menu Toggle
const hamburger = document.querySelector('.hamburger');
const navMenu = document.querySelector('.nav-menu');
hamburger.addEventListener('click', () => {
hamburger.classList.toggle('active');
navMenu.classList.toggle('active');
});
// Close mobile menu when clicking on a link
document.querySelectorAll('.nav-link').forEach(n => n.addEventListener('click', () => {
hamburger.classList.remove('active');
navMenu.classList.remove('active');
}));
// FAQ Accordion
document.querySelectorAll('.faq-question').forEach(question => {
question.addEventListener('click', () => {
const faqItem = question.parentElement;
const isActive = faqItem.classList.contains('active');
// Close all FAQ items
document.querySelectorAll('.faq-item').forEach(item => {
item.classList.remove('active');
});
// Open clicked item if it wasn't active
if (!isActive) {
faqItem.classList.add('active');
}
});
});
// Form Validation and Enhancement
const form = document.getElementById('contactForm');
const inputs = document.querySelectorAll('.form-group input, .form-group textarea, .form-group select');
inputs.forEach(input => {
input.addEventListener('focus', () => {
input.parentElement.classList.add('focused');
});
input.addEventListener('blur', () => {
if (input.value === '') {
input.parentElement.classList.remove('focused');
}
});
input.addEventListener('input', () => {
if (input.value !== '') {
input.parentElement.classList.add('has-value');
} else {
input.parentElement.classList.remove('has-value');
}
});
});
form.addEventListener('submit', async (e) => {
e.preventDefault();
// Simple form validation
let isValid = true;
const requiredFields = form.querySelectorAll('[required]');
requiredFields.forEach(field => {
if (!field.value.trim()) {
field.parentElement.classList.add('error');
isValid = false;
} else {
field.parentElement.classList.remove('error');
}
});
if (isValid) {
// Show loading state
const submitBtn = form.querySelector('button[type="submit"]');
const originalText = submitBtn.innerHTML;
submitBtn.innerHTML = '<span>Sending...</span>';
submitBtn.disabled = true;
try {
// Send form data using Formspree
const formData = new FormData(form);
const response = await fetch(form.action, {
method: 'POST',
body: formData,
headers: {
'Accept': 'application/json'
}
});
if (response.ok) {
// Success
showNotification('Message sent successfully! We will contact you soon.', 'success');
form.reset();
// Remove focused and has-value classes
document.querySelectorAll('.form-group').forEach(group => {
group.classList.remove('focused', 'has-value');
});
} else {
// Error response from Formspree
const data = await response.json();
console.error('Formspree error:', data);
showNotification('Error sending message. Please try again or contact us directly.', 'error');
}
} catch (error) {
console.error('Network error:', error);
showNotification('Connection error. Please check your internet and try again.', 'error');
} finally {
// Reset button
submitBtn.innerHTML = originalText;
submitBtn.disabled = false;
}
}
});
// Notification system
function showNotification(message, type = 'success') {
// Remove existing notification
const existingNotification = document.querySelector('.notification');
if (existingNotification) {
existingNotification.remove();
}
// Create notification
const notification = document.createElement('div');
notification.className = `notification notification-${type}`;
notification.innerHTML = `
<div class="notification-content">
<span class="notification-message">${message}</span>
<button class="notification-close" onclick="this.parentElement.parentElement.remove()">×</button>
</div>
`;
// Add styles
notification.style.cssText = `
position: fixed;
top: 20px;
right: 20px;
z-index: 10000;
max-width: 400px;
background: ${type === 'success' ? '#10b981' : '#ef4444'};
color: white;
padding: 1rem 1.5rem;
border-radius: 12px;
box-shadow: 0 10px 25px rgba(0,0,0,0.2);
transform: translateX(400px);
transition: transform 0.3s ease;
`;
notification.querySelector('.notification-content').style.cssText = `
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
`;
notification.querySelector('.notification-close').style.cssText = `
background: none;
border: none;
color: white;
font-size: 1.5rem;
cursor: pointer;
padding: 0;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: background 0.2s ease;
`;
// Add to page
document.body.appendChild(notification);
// Animate in
setTimeout(() => {
notification.style.transform = 'translateX(0)';
}, 100);
// Auto remove after 5 seconds
setTimeout(() => {
if (notification.parentElement) {
notification.style.transform = 'translateX(400px)';
setTimeout(() => notification.remove(), 300);
}
}, 5000);
}
// Smooth scrolling for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
target.scrollIntoView({
behavior: 'smooth',
block: 'start'
});
}
});
});
</script>
</body>
</html>