-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.html
584 lines (507 loc) · 17.5 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
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
582
583
584
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About Us - CraftConnect</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
/* Reset and base styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: #333;
background-color: #f8f9fa;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Header styles */
header {
background-color: #fff;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: fixed;
width: 100%;
z-index: 1000;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 0;
}
.logo {
display: flex;
align-items: center;
text-decoration: none;
color: #333;
font-weight: bold;
font-size: 24px;
}
.logo img {
width: 40px;
margin-right: 10px;
}
nav ul {
display: flex;
list-style: none;
}
nav ul li {
margin-left: 30px;
}
nav ul li a {
text-decoration: none;
color: #333;
font-weight: 500;
transition: color 0.3s ease;
}
nav ul li a:hover,
nav ul li a.active {
color: #4a90e2;
}
.login-btn {
background-color: #4a90e2;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.login-btn:hover {
background-color: #357abd;
}
/* Main content styles */
main {
padding-top: 80px;
}
.section-title {
font-size: 36px;
text-align: center;
margin-bottom: 40px;
color: #333;
}
/* About hero section */
.about-hero {
background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/api/placeholder/1200/400');
background-size: cover;
background-position: center;
color: #fff;
text-align: center;
padding: 150px 0;
}
.about-hero h1 {
font-size: 48px;
margin-bottom: 20px;
}
.about-hero p {
font-size: 20px;
max-width: 600px;
margin: 0 auto;
}
/* Our mission section */
.our-mission {
background-color: #fff;
padding: 100px 0;
}
.our-mission p {
max-width: 800px;
margin: 0 auto;
text-align: center;
font-size: 18px;
}
/* Team section */
.our-team {
padding: 100px 0;
background-color: #f8f9fa;
}
.team-members {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 40px;
}
.team-member {
background-color: #fff;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
width: 300px;
}
.team-member:hover {
transform: translateY(-10px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.team-member img {
width: 100%;
height: 300px;
object-fit: cover;
}
.team-member-info {
padding: 20px;
}
.team-member h3 {
font-size: 24px;
margin-bottom: 10px;
color: #333;
}
.team-member p {
font-size: 16px;
color: #666;
margin-bottom: 15px;
}
/* Testimonials section */
.testimonials {
background-color: #4a90e2;
color: #fff;
padding: 100px 0;
}
.testimonial-slider {
overflow: hidden;
position: relative;
}
.testimonial {
text-align: center;
padding: 0 20px;
}
.testimonial p {
font-size: 18px;
font-style: italic;
margin-bottom: 20px;
}
.testimonial h4 {
font-size: 16px;
font-weight: normal;
}
/* Join us section */
.join-us {
background-color: #fff;
text-align: center;
padding: 100px 0;
}
.join-us p {
font-size: 18px;
max-width: 600px;
margin: 0 auto 30px;
}
.join-btn {
background-color: #4a90e2;
color: #fff;
border: none;
padding: 15px 30px;
font-size: 18px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.join-btn:hover {
background-color: #357abd;
}
/* Footer styles */
footer {
background-color: #333;
color: #fff;
padding: 60px 0 20px;
}
.footer-content {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin-bottom: 40px;
}
.footer-about,
.footer-links,
.footer-contact,
.footer-newsletter {
flex-basis: 100%;
margin-bottom: 30px;
}
@media (min-width: 768px) {
.footer-about,
.footer-links,
.footer-contact,
.footer-newsletter {
flex-basis: 45%;
}
}
@media (min-width: 992px) {
.footer-about,
.footer-links,
.footer-contact,
.footer-newsletter {
flex-basis: 22%;
}
}
footer h3 {
font-size: 18px;
margin-bottom: 15px;
color: #4a90e2;
}
footer p,
footer ul {
font-size: 14px;
}
footer ul {
list-style: none;
}
footer ul li {
margin-bottom: 10px;
}
footer ul li a {
color: #fff;
text-decoration: none;
transition: color 0.3s ease;
}
footer ul li a:hover {
color: #4a90e2;
}
.footer-newsletter form {
display: flex;
}
.footer-newsletter input[type="email"] {
flex-grow: 1;
padding: 10px;
border: none;
border-radius: 5px 0 0 5px;
}
.footer-newsletter button {
background-color: #4a90e2;
color: #fff;
border: none;
padding: 10px 15px;
border-radius: 0 5px 5px 0;
cursor: pointer;
transition: background-color 0.3s ease;
}
.footer-newsletter button:hover {
background-color: #357abd;
}
.footer-bottom {
text-align: center;
margin-top: 20px;
padding-top: 20px;
border-top: 1px solid #555;
}
.footer-social {
margin-top: 15px;
}
.footer-social a {
color: #fff;
font-size: 20px;
margin: 0 10px;
transition: color 0.3s ease;
}
.footer-social a:hover {
color: #4a90e2;
}
</style>
</head>
<body>
<header>
<div class="container">
<nav>
<a href="index.html" class="logo">
<img src="logo.jpeg" alt="CraftConnect Logo">
CraftConnect
</a>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="features.html">Features</a></li>
<li><a href="product.html">Products</a></li>
<li><a href="community.html">Community</a></li>
<li><a href="profile.html">Profile</a></li>
<li><a href="about.html" class="active">About Us</a></li>
</ul>
<button class="login-btn">Login / Register</button>
</nav>
</div>
</header>
<main>
<section class="about-hero">
<div class="container">
<h1>About CraftConnect</h1>
<p>Empowering artisans and connecting creative minds worldwide</p>
</div>
</section>
<section class="our-mission">
<div class="container">
<h2 class="section-title">Our Mission</h2>
<p>At CraftConnect, we're on a mission to revolutionize the world of handmade crafts. We provide a platform where artisans can showcase their unique creations, connect with like-minded individuals, and grow their businesses. By bridging the gap between traditional craftsmanship and modern technology, we're fostering a global community that celebrates creativity and supports local artisans.</p>
</div>
</section>
<section class="our-team">
<div class="container">
<h2 class="section-title">Meet Our Team</h2>
<div class="team-members">
<div class="team-member">
<!-- <img src="/api/placeholder/300/300" alt="Samridhi Gupta"> -->
<div class="team-member-info">
<h3>Samridhi Gupta</h3>
</div>
</div>
<div class="team-member">
<!-- <img src="/api/placeholder/300/300" alt="Kashvi Arora"> -->
<div class="team-member-info">
<h3>Kashvi Arora</h3>
</div>
</div>
</div>
</div>
</section>
<section class="testimonials">
<div class="container">
<h2 class="section-title">What Our Users Say</h2>
<div class="testimonial-slider">
<div class="testimonial">
<p>"CraftConnect has transformed my small business. I've connected with so many customers and fellow artisans. It's a game-changer!"</p>
<h4>- Sarah J., Handmade Jewelry Artist</h4>
</div>
</div>
</div>
</section>
<section class="join-us">
<div class="container">
<h2 class="section-title">Join Our Creative Community</h2>
<p>Be a part of our vibrant community of artisans. Share your creativity, sell your products, and grow your craft business with CraftConnect.</p>
<button class="join-btn">Sign Up Now</button>
</div>
</section>
</main>
<footer>
<div class="container">
<div class="footer-content">
<div class="footer-about">
<h3>About CraftConnect</h3>
<p>CraftConnect is your go-to platform for connecting with artisans and discovering unique handmade products. Our mission is to support local craftspeople and bring their products to a global audience.</p>
</div>
<div class="footer-links">
<h3>Quick Links</h3>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="shop.html">Shop</a></li>
<li><a href="blog.html">Blog</a></li>
<li><a href="about.html">About Us</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
<div class="footer-contact">
<h3>Contact Us</h3>
<p>Email: [email protected]</p>
<p>Phone: +1 234 567 890</p>
<p>Address: 123 Craft Lane, Artisan City, CA 90210</p>
</div>
<div class="footer-newsletter">
<h3>Newsletter</h3>
<form id="newsletter-form">
<input type="email" id="newsletter-email" placeholder="Your email">
<button type="submit">Subscribe</button>
</form>
</div>
</div>
<div class="footer-bottom">
<p>© 2024 CraftConnect. All rights reserved.</p>
<div class="footer-social">
<a href="#"><i class="fab fa-facebook-f"></i></a>
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
<a href="#"><i class="fab fa-linkedin-in"></i></a>
</div>
</div>
</div>
</footer>
<script>
document.addEventListener("DOMContentLoaded", () => {
// Newsletter subscription form submission
const newsletterForm = document.getElementById('newsletter-form');
const newsletterEmail = document.getElementById('newsletter-email');
newsletterForm.addEventListener('submit', (e) => {
e.preventDefault();
if (newsletterEmail.value) {
alert(`Thank you for subscribing with ${newsletterEmail.value}!`);
newsletterEmail.value = '';
} else {
alert('Please enter a valid email address.');
}
});
// Testimonial slider
const testimonials = [
{
text: "CraftConnect has transformed my small business. I've connected with so many customers and fellow artisans. It's a game-changer!",
author: "Suhana, Handmade Jewelry Artist"
},
{
text: "The platform is easy to use and the community is so supportive. I love being a part of CraftConnect.",
author: "Mohit, Wood Craftsman"
},
{
text: "Thanks to CraftConnect, my handmade products are now reaching a global audience. Couldn't be happier!",
author: "Shivani, Textile Designer"
}
];
const testimonialSlider = document.querySelector('.testimonial-slider');
let currentTestimonial = 0;
function showTestimonial(index) {
const testimonial = testimonials[index];
testimonialSlider.innerHTML = `
<div class="testimonial">
<p>"${testimonial.text}"</p>
<h4>- ${testimonial.author}</h4>
</div>
`;
}
function nextTestimonial() {
currentTestimonial = (currentTestimonial + 1) % testimonials.length;
showTestimonial(currentTestimonial);
}
showTestimonial(currentTestimonial);
setInterval(nextTestimonial, 5000); // Auto-slide every 5 seconds
// Smooth scrolling for navigation links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});
// Sticky header
const header = document.querySelector('header');
const headerHeight = header.offsetHeight;
window.addEventListener('scroll', () => {
if (window.pageYOffset > headerHeight) {
header.classList.add('sticky');
} else {
header.classList.remove('sticky');
}
});
// Join button interaction
const joinBtn = document.querySelector('.join-btn');
joinBtn.addEventListener('click', () => {
alert('Thank you for your interest! Redirecting to sign-up page...');
// In a real scenario, you would redirect to the sign-up page here
});
// Animated scroll reveal for sections
const revealSections = document.querySelectorAll('.our-mission, .our-team, .testimonials, .join-us');
const revealObserver = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('revealed');
}
});
}, { threshold: 0.1 });
revealSections.forEach(section => {
revealObserver.observe(section);
});
});
</script>
</body>
</html>
Version 2 of 2