forked from Tejashri-Taral/TrendTrove-Ecommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.html
513 lines (440 loc) · 12.9 KB
/
about.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>About Us - TrendTrove</title>
<link rel="stylesheet" href="preloaderStyle.css">
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="./style.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css">
<style>
/* General Styles */
html,
body {
margin: 0;
padding: 0;
height: 100%;
font-family: Arial, sans-serif;
}
body {
background-color: #f7f7f7;
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 100vh;
}
h1,
h2 {
color: #333;
}
/* About Us Section */
.leftabout {
margin-left: 50px;
margin-right: 50px;
}
.leftabout h3 {
justify-content: center;
text-align: center;
}
.leftabout p {
text-align: center;
}
.about-section {
width: 100%;
padding: 40px 0;
background: #ffffff;
}
.about-title {
font-size: 2.5em;
text-align: center;
margin-bottom: 35px;
}
/* Second part content css */
#div2 {
font-size: 22px;
font-weight: bold;
text-align: center;
margin-bottom: 7px;
}
#div3 {
font-size: 19px;
font-weight: bold;
text-align: center;
margin-top: 7px;
margin-left: 22px;
margin-right: 22px;
}
/* First part: Image left, text right */
.about-content-first {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 50px;
gap: 30px;
}
.about-text {
flex: 1;
font-size: 2em;
line-height: 1.8;
margin-right: 20px;
}
.rightabout {
margin-left: 50px;
margin-right: 50px;
}
.about-images img {
width: 500px;
height: 520px;
border-radius: 5%;
aspect-ratio: 3/2;
opacity: 90%;
box-shadow: 0 0 15px 15px rgba(136, 136, 136, 0.5);
}
.about3 {
margin-right: 50px;
}
.about4 {
margin-top: 50px;
margin-left: 25px;
margin-bottom: 20px;
}
.aboutus-body {
font-size: 21px;
}
.slogan {
font-size: 22px;
font-weight: bold;
margin-bottom: 12px;
}
/* Second part: Image right, text left */
.about-content-second {
display: flex;
align-items: center;
justify-content: space-between;
flex-direction: row-reverse;
gap: 30px;
}
.about-container {
padding: 0 40px;
}
/* Footer Section */
.footer {
background-color: #bec1c55c;
padding: 20px;
text-align: center;
width: 100%;
}
.footer-section {
margin-bottom: 20px;
}
.footer h1 {
font-size: 1.5em;
margin-bottom: 10px;
}
.footer-list {
list-style: none;
padding: 0;
}
.footer-list li {
margin-bottom: 10px;
}
.footer-list a {
text-decoration: none;
color: #333;
}
.socials a {
margin-right: 10px;
color: #333;
}
.sub input {
padding: 10px;
margin-right: 10px;
width: 70%;
}
.sub .btn {
padding: 10px;
background-color: #333;
color: #fff;
border: none;
cursor: pointer;
}
.sub .btn:hover {
background-color: #555;
}
/* Adding media Queries */
@media (min-width: 1980px) {
.leftabout {
margin-left: 250px;
margin-right: 250px;
}
.about3 {
margin-right: 230px;
}
.about4 {
margin-left: 180px;
}
.rightabout {
margin-left: 250px;
margin-right: 250px;
}
.aboutus-body {
font-size: 25px;
}
#div2 {
font-size: 27px;
}
#div3 {
font-size: 23px;
}
}
@media (max-width: 1200px) {
h3 {
font-size: 20px;
}
.leftabout p {
font-size: 15px;
}
.rightabout p {
font-size: 15px;
}
#div2 {
font-size: 16px;
}
#div3 {
font-size: 16px;
}
.about-images img {
width: 300px;
height: 320px;
border-radius: 5%;
aspect-ratio: 3/2;
opacity: 90%;
box-shadow: 0 0 15px 15px rgba(136, 136, 136, 0.5);
}
}
.circle {
height: 24px;
width: 24px;
border-radius: 50%; /* Correct border-radius for perfect circles */
background-color: black;
position: fixed;
top: 0;
left: 0;
pointer-events: none;
z-index: 99999999; /* To stay on top */
mix-blend-mode: difference; /* Allows color blending based on background */
}
</style>
</head>
<body>
<!-- preloader -->
<div id="preloader">
<div class="wrapper">
<div class="box-wrap">
<div class="box one"></div>
<div class="box two"></div>
<div class="box three"></div>
<div class="box four"></div>
<div class="box five"></div>
<div class="box six"></div>
</div>
</div>
</div>
<!-- Header Section -->
<header class="header" id="header">
<div class="logo">
<a href="/"> <img src="images/logo.png" alt="Logo" srcset="" /> </a>
<i class="fa-solid fa-bars menu" id="menu"></i>
</div>
<nav class="bg-neutral-100 py-20">
<div class="tabs-container">
<ul id="tabs" class="tabs">
<li class="tab">
<a href="index.html">Home</a>
</li>
<li class="tab">
<a href="about.html">About</a>
</li>
<li class="tab">
<a href="features.html">Features</a>
</li>
<li class="dropdown tab">
<a class="dropdown-parent">Products</a>
<ul class="dropdown-content">
<li><a href="mens.html">Men</a></li>
<li><a href="womens.html">Women</a></li>
</ul>
</li>
<li class="tab" style="margin-left: 15px">
<a href="contact.html">Contact Us</a>
</li>
</ul>
</div>
</nav>
<nav class="utils">
<ul class="nav-links">
<li class="nav-link">
<i class="fa-solid fa-cart-shopping"></i>
</li>
<li class="nav-link">
<i class="fa-solid fa-user"></i>
</li>
<li class="nav-link">
<i class="fa-solid fa-magnifying-glass"></i>
</li>
</ul>
</nav>
</header>
<!-- About Us Section -->
<section class="about-section">
<h2 class="about-title">About Us</h2>
<div class="about-container">
<!-- First part: Image left, text right -->
<div class="about-content-first" data-aos="fade-up">
<div class="about-text leftabout">
<p>
Welcome to TrendTrove, where style meets affordability. We aim to
provide the latest in fashion trends at prices that won't break the
bank. From chic to casual, our diverse range of products ensures that
everyone can find something they love.
</p>
</div>
<div class="about-images about3">
<img src="images/about-img.jpg" alt="About TrendTrove" />
</div>
</div>
<!-- Second part: Image right, text left -->
<div class="about-content-second" data-aos="fade-up">
<div class="about-images about4">
<img src="images/about-img-2.jpg" alt="TrendTrove Collection" />
</div>
<div class="about-text rightabout">
<p>
Our mission is to make fashion accessible to everyone. We believe in
empowering individuals to express their unique style through our
curated selection of clothing, accessories, and more.
</p>
</div>
</div>
<!-- Slogan or additional content -->
<div class="slogan" id="div2">
"Discover Your Style with TrendTrove!"
</div>
<div class="aboutus-body" id="div3">
Whether you're looking for something bold or subtle, we’ve got you
covered. Join us on a fashion journey and redefine your wardrobe today!
</div>
</div>
</section>
<!-- Footer Section -->
<footer class="footer">
<div class="footer-section socials">
<h1>Follow Us</h1>
<a href="#"><i class="fa-brands fa-facebook"></i></a>
<a href="#"><i class="fa-brands fa-instagram"></i></a>
<a href="#"><i class="fa-brands fa-twitter"></i></a>
</div>
<div class="footer-section links">
<ul class="footer-list">
<li><a href="#">Privacy Policy</a></li>
<li><a href="#">Terms & Conditions</a></li>
</ul>
</div>
<div class="footer-section sub">
<h1>Subscribe</h1>
<input type="email" placeholder="Enter your email..." />
<button class="btn">Submit</button>
</div>
</footer>
<!-- Scripts -->
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
AOS.init();
</script>
<script>
let openbtn = document.getElementById("open-btn");
let modalbox = document.getElementById("modalbox");
let closebtn = document.getElementById("close-btn");
let emailInput = document.getElementById("email-input");
// Email validation function
function isValidEmail(email) {
// Regular expression for validating an email
const regex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
return regex.test(email);
}
openbtn.addEventListener("click", function () {
// Validate email
if (emailInput.value === "") {
alert("Please enter your email address.");
} else if (!isValidEmail(emailInput.value)) {
alert("Please enter a valid email address.");
} else {
modalbox.style.display = "block"; // Show the modal
}
});
closebtn.addEventListener("click", function () {
modalbox.style.display = "none"; // Hide the modal
});
// Close modal when clicking outside of it
modalbox.addEventListener("click", function (event) {
if (event.target === modalbox) {
modalbox.style.display = "none"; // Hide modal if the background is clicked
}
});
</script>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<script>
const coords = { x: 0, y: 0 };
const circles = document.querySelectorAll(".circle");
const colors = [
"#f5fffa", "#ced6d2", "#a8afac", "#848987", "#626563", "#414342", "#232424", "#000000"
];
circles.forEach(function (circle, index) {
circle.x = 0;
circle.y = 0;
circle.style.backgroundColor = colors[index % colors.length];
});
window.addEventListener("mousemove", function(e) {
coords.x = e.clientX;
coords.y = e.clientY;
});
function animateCircles() {
let x = coords.x;
let y = coords.y;
circles.forEach(function (circle, index) {
circle.style.left = x - 12 + "px";
circle.style.top = y - 12 + "px";
circle.style.transform = `scale(${(circles.length - index) / circles.length})`;
circle.x = x;
circle.y = y;
const nextCircle = circles[index + 1] || circles[0];
x += (nextCircle.x - x) * 0.3;
y += (nextCircle.y - y) * 0.3;
});
requestAnimationFrame(animateCircles);
}
animateCircles();
</script>
</body>
</html>