forked from vishanurag/Canvas-Editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
testimonial.html
377 lines (342 loc) · 11.7 KB
/
testimonial.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Testimonials Page</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:300,400,700">
<link rel="icon" href="resources/favicon.ico" type="image/ico">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap" rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Poppins', sans-serif;
background-color: #1f1f1f;
color: #fff;
overflow-x: hidden;
}
/* Navbar styling */
nav {
background-color: #1c1c1c;
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 50px;
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
}
nav h1 {
color: #fca311;
font-size: 24px;
}
nav ul {
list-style: none;
display: flex;
}
nav ul li {
margin-left: 30px;
}
nav ul li a {
text-decoration: none;
color: #fff;
font-size: 16px;
padding: 8px 15px;
border-radius: 30px;
transition: background-color 0.3s ease;
}
nav ul li a:hover {
background-color: #fca311;
color: #000;
}
/* Hero section */
.hero {
text-align: center;
padding: 120px 20px;
background-color: #282828;
}
.hero h2 {
font-size: 40px;
color: #fca311;
}
.hero p {
margin-top: 15px;
font-size: 18px;
color: #b3b3b3;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}
/* Testimonial section */
.testimonial-section {
padding: 80px 20px;
background-color: #333;
text-align: center;
}
.testimonial-section h2 {
color: #fca311;
font-size: 32px;
}
.testimonial-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 40px;
}
.testimonial {
background-color: #444;
border-radius: 10px;
margin: 20px;
padding: 20px;
width: 300px;
color: #fff;
transition: transform 0.3s ease;
border: 2px solid #fca311;
}
.testimonial:hover {
transform: translateY(-10px);
}
.testimonial img {
border-radius: 50%;
width: 190px;
height: 200px;
object-fit: cover;
margin-bottom: 15px;
}
.testimonial h3 {
margin-top: 30px;
font-size: 20px;
color: #fca311;
}
.testimonial p {
margin-top: 30px;
font-size: 14px;
color: #ddd;
line-height: 1.6;
}
/* Stats Section */
.stats-section {
display: flex;
justify-content: space-around;
padding: 40px 20px;
background-color: #1a1a1a;
}
.stat-box {
text-align: center;
color: #fff;
}
.stat-box h3 {
font-size: 24px;
color: #fca311;
}
.stat-box p {
font-size: 16px;
color: #ccc;
}
/* CTA Section */
.cta-section {
background-color: #d5880d;
padding: 40px 20px;
text-align: center;
border-radius: 10px;
margin: 40px 20px;
color: #fff;
}
.cta-section h3 {
font-size: 28px;
margin-bottom: 10px;
}
.cta-section p {
font-size: 16px;
margin-bottom: 20px;
color: #e2e2e2;
}
.cta-button {
background-color: #2c3e50;
color: #fff;
padding: 10px 25px;
font-size: 16px;
border-radius: 5px;
text-decoration: none;
transition: background-color 0.3s ease;
}
.cta-button:hover {
background-color: #1a252f;
}
/* Footer */
footer {
background-color: #1c1c1c;
padding: 30px 0;
color: #e4e4e7;
padding: 20px;
text-align: center;
color: #fff;
}
footer .footer-heading {
font-weight: 700;
color:#fca311;
}
footer a {
color: #e4e4e7;
text-decoration: none;
transition: color 0.3s ease;
}
footer a:hover {
color: #fca311;
}
footer .social-icons i {
font-size: 24px;
margin-right: 15px;
color: #e4e4e7;
transition: color 0.3s ease;
}
footer .social-icons i:hover {
color:#fca311;
}
/* Media Queries */
@media (max-width: 768px) {
nav {
padding: 15px 30px;
}
.testimonial {
width: 100%;
max-width: 300px;
}
.stats-section {
flex-direction: column;
align-items: center;
}
}
</style>
</head>
<body>
<!-- Navigation Bar -->
<nav>
<h1>Canvas Editor</h1>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about-us.html">About-us</a></li>
<li><a href="auth.html">Login</a></li>
</ul>
</nav>
<!-- Hero Section -->
<section class="hero">
<h2>What Our Clients Say</h2>
<p>At Canvas Editor, we believe that our success is best measured by the satisfaction of our clients. Here’s what they have to say about their experiences with us:</p>
</section>
<section class="stats-section">
<div class="stat-box">
<h3 data-target="10000" data-plus="true">0</h3>
<p>Happy Users</p>
</div>
<div class="stat-box">
<h3 data-target="1000000" data-plus="true">0</h3>
<p>Designs Created</p>
</div>
<div class="stat-box">
<h3 data-target="4.8">0</h3>
<p>Average Rating</p>
</div>
</section>
<!-- Testimonials Section -->
<section class="testimonial-section">
<h2>Client Testimonials</h2>
<div class="testimonial-container">
<div class="testimonial">
<img src="https://plus.unsplash.com/premium_photo-1689530775582-83b8abdb5020?fm=jpg&q=60&w=3000&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MXx8cmFuZG9tJTIwcGVyc29ufGVufDB8fDB8fHww" alt="Client Image">
<h3>Jane Doe</h3>
<p>"The service was exceptional, and the staff was very friendly. I am so happy with the outcome of
my project!"</p>
</div>
<div class="testimonial">
<img src="https://preview.redd.it/created-random-people-using-chatgpt-midjourney-do-you-know-v0-q1aa450i5dqb1.png?width=1024&format=png&auto=webp&s=c4e9abc47d193474a2fa1a7e337d9d9340dce947" alt="Client Image">
<h3>John Smith</h3>
<p>"A great experience from start to finish. Highly recommend this company for their professionalism
and dedication."</p>
</div>
<div class="testimonial">
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSO9AWNOYz-2nb1sS73mhq_XAH82szcV3H-6w&s" alt="Client Image">
<h3>Emily White</h3>
<p>"I couldn't be more pleased with the results. The team went above and beyond to meet my needs."</p>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="cta-section">
<h3>Ready to unleash your creativity?</h3>
<p>Join thousands of satisfied users and start designing today!</p>
<a href="index.html" class="cta-button">Start Drawing Now ➞</a>
</section>
<!-- Footer -->
<footer class="text-center">
<div class="container">
<div class="row">
<div class="col-md-4">
<h4 class="footer-heading">About Us</h4>
<p>Creative Canvas Tool is designed to empower artists of all skill levels, offering an
intuitive platform that transforms ideas into stunning digital artwork. </p>
</div>
<div class="col-md-4">
<h4 class="footer-heading">Quick Links</h4>
<a href="index.html">Home</a><br>
<a href="about-us.html">About-us</a><br>
<a href="tutorial.html">Tutorial</a><br>
<a href="Faq.html">FAQ</a>
</div>
<div class="col-md-4">
<h4 class="footer-heading">Follow Us</h4>
<div class="social-icons">
<a href="#"><i class="fab fa-facebook"></i></a>
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
</div>
<p>Contact us at: [email protected]</p>
</div>
</div>
</div>
</footer>
<footer>
<p>© All rights reserved © <span id="year"></span></p>
</footer>
<script>
document.getElementById("year").textContent = new Date().getFullYear();
document.addEventListener("DOMContentLoaded", () => {
const counters = document.querySelectorAll(".stat-box h3");
counters.forEach(counter => {
const target = +counter.getAttribute("data-target");
const hasPlus = counter.getAttribute("data-plus") === "true";
let count = 0; // Start at 0 for counting
const duration = 4000; // 3 seconds
const increment = target / (duration / 20); // Adjust increment based on duration
const updateCount = () => {
if (count < target) {
count += increment;
// Handle special case for Average Rating
if (target === 4.8) {
counter.innerText = count.toFixed(1); // Display as 4.8
} else {
counter.innerText = Math.floor(count).toLocaleString(); // Format larger numbers with commas
}
setTimeout(updateCount, 20); // Adjust for smoothness
} else {
// Final value with formatting
if (target === 4.8) {
counter.innerText = target.toFixed(1); // Ensure final value is exactly 4.8
} else {
counter.innerText = target.toLocaleString() + (hasPlus ? "+" : "");
}
}
};
updateCount();
});
});
</script>
</body>
</html>