Repository navigation
Expand file tree
/
Copy pathabout.html
More file actions
369 lines (333 loc) · 16 KB
/
Copy pathabout.html
File metadata and controls
369 lines (333 loc) · 16 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!--=============== FAVICON ===============-->
<link
rel="shortcut icon"
href="assets/img/favicon.png"
type="image/x-icon"
/>
<!--=============== REMIXICONS ===============-->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/remixicon/4.6.0/remixicon.css"
/>
<!--=============== CSS ===============-->
<link rel="stylesheet" href="assets/css/styles.css" />
<link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.min.css" />
<title>About Us - Flash Forward Foundation</title>
</head>
<body>
<!--==================== PROMO BANNER ====================-->
<div class="promo-banner">
<a href="https://gofund.me/436b67db" class="animated-anchor-link">
<span id="typing-text"></span>
</a>
</div>
<script>
const textArray = [
"🌟 Join us in lighting up futures! Donate today and make a difference. Click here to support ➜"
];
let textIndex = 0;
let charIndex = 0;
let typingSpeed = 40;
let erasingSpeed = 40;
let delayBetweenTexts = 3000;
function typeText() {
if (charIndex < textArray[textIndex].length) {
document.getElementById("typing-text").innerHTML += textArray[textIndex].charAt(charIndex);
charIndex++;
setTimeout(typeText, typingSpeed);
} else {
setTimeout(eraseText, delayBetweenTexts);
}
}
function eraseText() {
if (charIndex > 0) {
document.getElementById("typing-text").innerHTML = textArray[textIndex].substring(0, charIndex - 1);
charIndex--;
setTimeout(eraseText, erasingSpeed);
} else {
setTimeout(typeText, typingSpeed);
}
}
document.addEventListener("DOMContentLoaded", () => {
setTimeout(typeText, 500);
});
</script>
<!--==================== HEADER ====================-->
<header class="header" id="header">
<nav class="nav">
<a href="/" class="nav__logo">
<img src="assets/img/logobig.svg" alt="Flash Forward Logo">
Flash Forward
</a>
<div class="nav__menu" id="nav-menu">
<ul class="nav__list">
<li><a href="/" class="nav__link">Home</a></li>
<li><a href="/about.html" class="nav__link">About Us</a></li>
<li><a href="/ourteam.html" class="nav__link">Our Team</a></li>
<li><a href="/blog.html" class="nav__link">Blog</a></li>
<li><a href="/contact.html" class="nav__link">Contact</a></li>
<li><a href="https://gofund.me/436b67db" class="button">Donate</a></li>
</ul>
<div class="nav__close" id="nav-close">
<i class="ri-close-line"></i>
</div>
</div>
<div class="nav__toggle" id="nav-toggle">
<i class="ri-menu-line"></i>
</div>
</nav>
</header>
<main class="main">
<!--==================== ABOUT HERO ====================-->
<section class="about-hero">
<div class="slideshow-container">
<!-- Slides -->
<div class="slide fade">
<img src="assets/img/kidstudyingwithcandle copy.jpg" alt="Child studying">
<div class="slide-content">
<span class="slide-tag">Education</span>
<h2 class="slide-title">Illuminating Paths to Education</h2>
<p class="slide-description">
Breaking down barriers to education by providing sustainable lighting solutions.
</p>
<div class="slide-buttons">
<a href="./blog.html" class="button">Impact Stories</a>
<a href="https://gofund.me/436b67db" class="button button--outline">Donate Now</a>
</div>
</div>
</div>
<div class="slide fade">
<img src="assets/img/ghanakidpencil.jpg" alt="Child with pencil">
<div class="slide-content">
<span class="slide-tag">Our Mission</span>
<h2 class="slide-title">Empowering Through Light</h2>
<p class="slide-description">
Creating sustainable change in communities without reliable electricity.
</p>
<div class="slide-buttons">
<a href="#ourstory" class="slide-button button" id="scroll-to-ourstory">Our Story</a>
<a href="/contact.html" class="button button--outline">Get Involved</a>
</div>
</div>
</div>
<div class="slide fade">
<img src="assets/img/ghanamanholdingupflashlight copy.jpg" alt="Man with flashlight">
<div class="slide-content">
<span class="slide-tag">Community Impact</span>
<h2 class="slide-title">Building Brighter Futures</h2>
<p class="slide-description">
Join us in our mission to bring light to communities in need.
</p>
<div class="slide-buttons">
<a href="#ourstory" class="slide-button button" id="scroll-to-ourstory">Learn More</a>
<a href="https://gofund.me/436b67db" class="button button--outline">Support Us</a>
</div>
</div>
</div>
<!-- Navigation arrows -->
<!-- <button class="slide-nav prev">
<svg aria-hidden="true" viewBox="0 0 1000 1000" xmlns="http://www.w3.org/2000/svg">
<path d="M646 125C629 125 613 133 604 142L308 442C296 454 292 471 292 487 292 504 296 521 308 533L604 854C617 867 629 875 646 875 663 875 679 871 692 858 704 846 713 829 713 812 713 796 708 779 692 767L438 487 692 225C700 217 708 204 708 187 708 171 704 154 692 142 675 129 663 125 646 125Z"></path>
</svg>
</button>
<button class="slide-nav next">
<svg aria-hidden="true" viewBox="0 0 1000 1000" xmlns="http://www.w3.org/2000/svg">
<path d="M696 533C708 521 713 504 713 487 713 471 708 454 696 446L400 146C388 133 375 125 354 125 338 125 325 129 313 142 300 154 292 171 292 187 292 204 296 221 308 233L563 492 304 771C292 783 288 800 288 817 288 833 296 850 308 863 321 871 338 875 354 875 371 875 388 867 400 854L696 533Z"></path>
</svg>
</button> -->
<!-- Left arrow -->
<button class="slide-nav prev">
<svg width="24" height="24" viewBox="0 0 24 24">
<path fill="white" d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6z"/>
</svg>
</button>
<!-- Right arrow -->
<button class="slide-nav next">
<svg width="24" height="24" viewBox="0 0 24 24">
<path fill="white" d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z"/>
</svg>
</button>
<!-- Navigation dots -->
<div class="slide-dots">
<span class="dot active" onclick="currentSlide(1)"></span>
<span class="dot" onclick="currentSlide(2)"></span>
<span class="dot" onclick="currentSlide(3)"></span>
</div>
</div>
</section>
<!-- Our Story Section -->
<section class="story" id="ourstory">
<div class="story__container container">
<div class="story__content">
<h2 class="section__title">Our Story</h2>
<p class="story__description">
Flash Forward Foundation began with a simple observation: millions of children around the world struggle to study after sunset due to lack of reliable lighting. This challenge particularly affects communities without stable electricity access, limiting educational opportunities and perpetuating the cycle of poverty.
</p>
<p class="story__description">
Founded by passionate students across 3 schools, our initiative started as a local project but quickly grew into a movement. We recognized that by providing solar-powered flashlights, we could create immediate, tangible impact while promoting sustainable solutions.
</p>
</div>
<div class="story__image">
<img src="assets/img/ghanakidpencil.jpg" alt="Child studying with solar light">
</div>
</div>
</section>
<!-- Impact Numbers Section -->
<section class="numbers">
<div class="numbers__container container">
<div class="numbers__item">
<h3 class="numbers__value">500+</h3>
<p class="numbers__description">Solar Lights Distributed</p>
</div>
<div class="numbers__item">
<h3 class="numbers__value">1000+</h3>
<p class="numbers__description">Children Impacted</p>
</div>
<div class="numbers__item">
<h3 class="numbers__value">5+</h3>
<p class="numbers__description">Communities Served</p>
</div>
</div>
</section>
<!-- Our Approach Section -->
<section class="approach">
<div class="approach__container container">
<h2 class="section__title">Our Approach</h2>
<div class="approach__grid">
<div class="approach__item">
<i class="ri-sun-line approach__icon"></i>
<h3 class="approach__title">Sustainable Solutions</h3>
<p class="approach__description">
We provide high-quality solar-powered flashlights that are durable, efficient, and environmentally friendly.
</p>
</div>
<div class="approach__item">
<i class="ri-team-line approach__icon"></i>
<h3 class="approach__title">Community Partnership</h3>
<p class="approach__description">
We work directly with local communities to ensure our solutions meet their specific needs and circumstances.
</p>
</div>
<div class="approach__item">
<i class="ri-book-open-line approach__icon"></i>
<h3 class="approach__title">Education First</h3>
<p class="approach__description">
Our primary focus is enabling children to study effectively after dark, improving their educational opportunities.
</p>
</div>
</div>
</div>
</section>
<!-- Join Us Section -->
<section class="join">
<div class="join__container container">
<h2 class="join__title">Join Our Mission</h2>
<p class="join__description">
Together, we can bring light to more children and communities in need. Your support makes a difference.
</p>
<div class="join__buttons">
<a href="https://gofund.me/436b67db" class="button">Donate Now</a>
<a href="/contact.html" class="button button--outline">Get Involved</a>
</div>
</div>
</section>
</main>
<!--==================== FOOTER ====================-->
<footer class="footer">
<div class="footer__container container">
<div class="footer__content">
<div>
<h3 class="footer__title">Flash Forward</h3>
<p class="footer__text">Lighting the path to education for children worldwide.</p>
<div class="footer__social">
<a href="https://www.instagram.com/flashforwardfoundation/" target="_blank" class="footer__social-link">
<i class="ri-instagram-fill"></i>
</a>
<a href="https://www.youtube.com/@FlashForwardFoundation" target="_blank" class="footer__social-link">
<i class="ri-youtube-fill"></i>
</a>
<a href="https://www.tiktok.com/@flashforwardfoundation" target="_blank" class="footer__social-link">
<i class="ri-tiktok-line"></i>
</a>
</div>
</div>
<div>
<h3 class="footer__title">Quick Links</h3>
<ul class="footer__links">
<li><a href="/index.html">Home</a></li>
<li><a href="/about.html">About us</a></li>
<li><a href="/ourteam.html">Our Team</a></li>
<li><a href="/blog.html">Blog</a></li>
<li><a href="/contact.html">Contact</a></li>
</ul>
</div>
<div>
<h3 class="footer__title">Stay Updated</h3>
<form id="newsletter-form" class="footer__form">
<input type="email" name="email" placeholder="Your Email" required>
<button type="submit">Subscribe</button>
</form>
</div>
</div>
</div>
<span class="footer__copy">© 2024 Flash Forward Foundation. All rights reserved.</span>
</footer>
<!--========== SCROLL UP ==========-->
<a href="#" class="scrollup" id="scroll-up">
<i class="ri-arrow-up-line"></i>
</a>
<!--=============== MAIN JS ===============-->
<script src="assets/js/main.js"></script>
<script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>
<script>
const swiper = new Swiper('.swiper-container', {
loop: true,
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
pagination: {
el: '.swiper-pagination',
clickable: true,
},
});
// Smooth scroll for internal anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
const target = document.querySelector(this.getAttribute('href'));
if (target) {
e.preventDefault();
target.scrollIntoView({
behavior: 'smooth'
});
}
});
});
document.getElementById('newsletter-form').addEventListener('submit', function(e) {
e.preventDefault();
const emailInput = e.target.querySelector('input[name="email"]');
const email = emailInput ? emailInput.value : '';
console.log(emailInput);
fetch('/subscribe', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({ email }),
})
.then(response => response.json())
.then(data => {
alert('Subscription successful!');
})
.catch(error => {
console.error('Error:', error);
});
});
</script>
</body>
</html>