-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsupport.html
More file actions
198 lines (175 loc) · 6.89 KB
/
Copy pathsupport.html
File metadata and controls
198 lines (175 loc) · 6.89 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Us</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css"
integrity="sha384-tViUnnbYAV00FLIhhi3v/dWt3Jxw4gZQcNoSCxCIFNJVCx7/D55/wXsrNIRANwdD" crossorigin="anonymous">
<style>
body {
background-color: #f8f9fa;
background-image: linear-gradient(to bottom right, #e3f2fd, #ffebee);
font-family: 'Arial', sans-serif;
animation: fadeIn 1.5s ease-in;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
h1 {
margin-bottom: 30px;
color: #007bff;
text-shadow: 2px 2px 5px #ccc;
animation: slideInFromTop 1s ease-in-out;
}
@keyframes slideInFromTop {
from {
transform: translateY(-100%);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.faq-section dt {
cursor: pointer;
margin-bottom: 10px;
background-color: #e9ecef;
padding: 10px;
border-radius: 5px;
transition: transform 0.3s, background-color 0.3s;
}
.faq-section dt:hover {
transform: scale(1.05);
background-color: #dee2e6;
}
.collapse {
animation: scaleUp 0.5s ease-in-out;
}
@keyframes scaleUp {
from {
transform: scale(0.8);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}
}
button {
transition: background-color 0.3s ease, transform 0.2s ease;
}
button:hover {
background-color: #0056b3;
transform: scale(1.05);
}
#formResponse {
display: none;
margin-top: 20px;
padding: 15px;
border-radius: 5px;
background-color: #d4edda;
color: #155724;
animation: slideInFromBottom 1s ease-in-out;
}
@keyframes slideInFromBottom {
from {
transform: translateY(100%);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
</style>
</head>
<body>
<div class="container mt-5">
<h1 class="text-center">Contact Us</h1>
<!-- Get in Touch Section -->
<div class="row">
<div class="col-md-6" style="padding-top:150px;">
<h4>Get in Touch</h4>
<p>If you have any questions, feel free to reach out to us!</p>
<ul class="list-unstyled">
<li><strong>Email:</strong> support@example.com</li>
<li><strong>Phone:</strong> +1 234 567 890</li>
<li><strong>Address:</strong> 123 Main St, City, Country</li>
</ul>
</div>
<div class="col-md-6">
<h4>Contact Form</h4>
<form id="contactForm">
<div class="form-group">
<label for="name">Name</label>
<input type="text" class="form-control" id="name" required>
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" class="form-control" id="email" required>
</div>
<div class="form-group">
<label for="message">Message</label>
<textarea class="form-control" id="message" rows="4" required></textarea>
</div>
<button type="submit" class="btn btn-primary">Send Message</button>
</form>
<div id="formResponse" class="mt-3"></div>
</div>
</div>
<!-- FAQ Section -->
<div class="faq-section mb-5 border p-4 rounded">
<h4>Frequently Asked Questions</h4>
<dl class="row">
<dt class="col-sm-12" data-toggle="collapse" data-target="#faq1" aria-expanded="false" aria-controls="faq1">
What is your return policy?
</dt>
<dd class="col-sm-12 collapse" id="faq1">
You can return your defective product between 7 days after the purchase. Our delivery partner will
pick up the product at your convenience.
</dd>
<dt class="col-sm-12" data-toggle="collapse" data-target="#faq2" aria-expanded="false" aria-controls="faq2">
How can I track my order?
</dt>
<dd class="col-sm-12 collapse" id="faq2">
You can track your order using the tracking link sent to your email after shipment.
</dd>
<dt class="col-sm-12" data-toggle="collapse" data-target="#faq3" aria-expanded="false" aria-controls="faq3">
Do you ship internationally?
</dt>
<dd class="col-sm-12 collapse" id="faq3">
Yes, we offer international shipping to select countries.
</dd>
</dl>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script>
document.getElementById('contactForm').addEventListener('submit', function (e) {
e.preventDefault();
const name = document.getElementById('name').value;
const email = document.getElementById('email').value;
const message = document.getElementById('message').value;
const responseDiv = document.getElementById('formResponse');
responseDiv.style.display = 'block';
responseDiv.innerHTML = `
<strong>Thank you, ${name}!</strong><br>
Your message has been received. We will respond to <em>${email}</em> shortly!
`;
this.reset();
});
</script>
</body>
</html>