-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
385 lines (349 loc) · 17 KB
/
Copy pathindex.html
File metadata and controls
385 lines (349 loc) · 17 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
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
<!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">
<title>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; // Speed of typing
let erasingSpeed = 40; // Speed of erasing
let delayBetweenTexts = 3000; // Delay before typing new text
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">
<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 ====================-->
<main class="main">
<!--==================== HOME ====================-->
<section class="home section" id="home">
<div class="home__container container">
<div class="home__data">
<img src="./assets/img/logoholo.svg" alt="Flash Forward Logo" class="home__logo">
<h1 class="home__title first">Flash Forward</h1>
<h1 class="home__title second">Lighting Brighter Futures</h1>
<a href="https://gofund.me/436b67db" class="button">Donate Now</a>
</div>
</div>
</section>
<!--==================== ABOUT ====================-->
<section class="about">
<div class="about__container container">
<div class="about__data">
<h2 class="section__title">Our Mission</h2>
<p class="about__description">
At Flash Forward, we believe that light is more than just illumination—it's a gateway to education,
safety, and opportunity. Our mission is to break down barriers to education by providing sustainable
lighting solutions to children in communities without reliable electricity.
</p>
<div class="about__points">
<div class="point">
<img src="assets/img/firehand copy.svg" alt="Impact icon">
<p>Every flashlight we provide helps a child study after sunset, expanding their learning opportunities.</p>
</div>
<div class="point">
<img src="assets/img/group copy.svg" alt="Community icon">
<p>We work directly with local communities to ensure our solutions meet their specific needs.</p>
</div>
</div>
<a href="/about.html" class="button">Learn More About Us</a>
</div>
<div class="about__image">
<img src="assets/img/ghanakidpencil.jpg" alt="Child with school supplies">
</div>
</div>
</section>
<!--==================== VISION ====================-->
<section class="vision">
<div class="vision__container container">
<div class="vision__image">
<img src="assets/img/ghanamanholdingupflashlight copy.jpg" alt="Man holding flashlight">
</div>
<div class="vision__data">
<h2 class="section__title">Our Vision</h2>
<p class="vision__description">
We envision a world where no child's education is limited by lack of light.
Through sustainable solar technology and community partnerships, we're creating
lasting change—one flashlight at a time.
</p>
<a href="/blog.html" class="button">See Our Impact</a>
</div>
</div>
</section>
<!--==================== OUR VALUES ====================-->
<section class="values">
<div class="values__container container">
<h2 class="section__title">Our Values</h2>
<div class="values__content">
<div class="value">
<h3 class="value__title">Sustainability</h3>
<p class="value__description">
We prioritize sustainable solutions that benefit both people and the planet.
</p>
</div>
<div class="value">
<h3 class="value__title">Community</h3>
<p class="value__description">
We believe in the power of community and work closely with local partners.
</p>
</div>
<div class="value">
<h3 class="value__title">Education</h3>
<p class="value__description">
Education is at the heart of our mission, empowering children to reach their potential.
</p>
</div>
</div>
</div>
</section>
<!--==================== PARTNERS ====================-->
<section class="partner">
<div class="partner__container">
<img src="assets/img/Sammamish.png" alt="Sammamish High School logo" class="partner__logo">
<div class="partner__content">
<h2 class="partner__title">Our Partners</h2>
<p class="partner__description">
We collaborate with dedicated organizations and schools to maximize our impact.
Our partnership with the Sammamish High School Builders Club demonstrates how
local communities can drive global change.
</p>
</div>
</div>
</section>
<!--==================== FAQ ====================-->
<section class="faq">
<div class="container">
<h2 class="section__title">What's on your mind?</h2>
<div class="accordion">
<div class="accordion-item">
<button aria-expanded="false">
<span class="accordion-title">How do I make a donation to help fight poverty?</span>
<span class="icon" aria-hidden="true"></span>
</button>
<div class="accordion-content">
<p>You can make a donation through our GoFundMe page or contact us directly for other donation options. Every contribution helps us provide solar-powered flashlights to children in need.</p>
</div>
</div>
<div class="accordion-item">
<button aria-expanded="false">
<span class="accordion-title">Why should I support Flash Forward?</span>
<span class="icon" aria-hidden="true"></span>
</button>
<div class="accordion-content">
<p>Flash Forward provides sustainable lighting solutions to children in off-grid communities, enabling them to study after dark and break the cycle of poverty through education. Your support directly impacts children's educational opportunities.</p>
</div>
</div>
<div class="accordion-item">
<button aria-expanded="false">
<span class="accordion-title">How will Flash Forward use my donation?</span>
<span class="icon" aria-hidden="true"></span>
</button>
<div class="accordion-content">
<p>Your donation goes directly towards purchasing and distributing solar-powered flashlights to children in need. We also invest in community partnerships and educational programs to ensure sustainable impact.</p>
</div>
</div>
<div class="accordion-item">
<button aria-expanded="false">
<span class="accordion-title">Can I volunteer or get involved?</span>
<span class="icon" aria-hidden="true"></span>
</button>
<div class="accordion-content">
<p>Yes! We welcome volunteers and partnerships. Contact us to learn about current opportunities and how you can contribute to our mission.</p>
</div>
</div>
</div>
</div>
</section>
<!--==================== CONTACT ====================-->
<section class="contact">
<div class="contact__container">
<div class="contact__content">
<h2 class="contact__title">Get in Touch</h2>
<p class="contact__description">
Have questions about our mission or want to get involved? We'd love to hear from you!
</p>
<div class="contact__info">
<div class="contact__card">
<i class="ri-mail-line contact__card-icon"></i>
<div>
<h3 class="contact__card-title">Email</h3>
<span class="contact__card-data">flashforwardnp@gmail.com</span>
</div>
</div>
<div class="contact__card">
<i class="ri-map-pin-line contact__card-icon"></i>
<div>
<h3 class="contact__card-title">Location</h3>
<span class="contact__card-data">Bellevue, WA</span>
</div>
</div>
</div>
</div>
<form action="https://formspree.io/f/xldjopko" method="POST" class="contact__form">
<div class="contact__form-div">
<label class="contact__form-tag">Name</label>
<input type="text" name="name" class="contact__form-input" placeholder="Your Name" required>
</div>
<div class="contact__form-div">
<label class="contact__form-tag">Email</label>
<input type="email" name="email" class="contact__form-input" placeholder="Your Email" required>
</div>
<div class="contact__form-div">
<label class="contact__form-tag">Message</label>
<textarea name="message" class="contact__form-input contact__form-area" placeholder="Your Message" required></textarea>
</div>
<button type="submit" class="button">Send Message</button>
</form>
</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">
<input type="email" placeholder="Enter your email" class="footer__input">
<button type="submit" class="footer__button button">Subscribe</button>
</form>
</div>
</div>
</div>
<span class="footer__copy">© 2024 Flash Forward Foundation. All rights reserved.</span>
</footer>
<!--========== SCROLL UP ==========-->
<a href="#home" class="scrollup" id="scroll-up">
<i class="ri-arrow-up-line"></i>
</a>
<!--=============== MAIN JS ===============-->
<script src="assets/js/main.js"></script>
<script src="assets/js/faq.js"></script>
<script>
const navMenu = document.getElementById("nav-menu");
const navToggle = document.getElementById("nav-toggle");
const navClose = document.getElementById("nav-close");
if (navToggle) {
navToggle.addEventListener("click", () => {
navMenu.classList.add("show-menu");
});
}
if (navClose) {
navClose.addEventListener("click", () => {
navMenu.classList.remove("show-menu");
});
}
document.querySelectorAll(".nav__link").forEach((link) =>
link.addEventListener("click", () => {
navMenu.classList.remove("show-menu");
})
);
</script>
<script>
document.getElementById('newsletter-form').addEventListener('submit', function(e) {
e.preventDefault();
const email = e.target.email.value;
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>