-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathevents.html
More file actions
310 lines (282 loc) · 9.12 KB
/
Copy pathevents.html
File metadata and controls
310 lines (282 loc) · 9.12 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>SCode Foundations | Events & Gallery</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="https://raw.githubusercontent.com/SCodeGit/SCode-Foundation/3415d5a312482e1f8dcce28abc32ffaabf9a76a1/images/scode%20foundations.png">
<!-- Font Awesome for Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
<style>
:root{
--bg:#ffffff;
--text:#111;
--card:#f3f3f3;
--accent:#111;
--accent-glow:rgba(37,99,235,.4);
--shadow:rgba(0,0,0,.18);
--radius:20px;
--speed:.4s;
}
@media (prefers-color-scheme: dark){
:root{
--bg:#0d0d12;
--text:#f1f1f1;
--card:#191922;
--accent:#ffffff;
--accent-glow:rgba(37,99,235,.6);
--shadow:rgba(0,0,0,.75);
}
}
*{box-sizing:border-box}
body{
margin:0;
font-family:system-ui,Segoe UI,Arial;
background:var(--bg);
color:var(--text);
transition:background var(--speed),color var(--speed);
}
/* Header */
header{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 30px;
box-shadow:0 10px 30px var(--shadow);
position:sticky;
top:0;
background:var(--bg);
z-index:20;
}
header img{height:45px;transition:.3s}
header img:hover{transform:scale(1.05);}
nav a{
margin:0 12px;
text-decoration:none;
color:var(--text);
font-weight:600;
position:relative;
transition:.3s;
}
nav a::after{
content:"";
position:absolute;
bottom:-6px;left:0;
width:0;height:2px;
background:var(--accent);
transition:.3s;
}
nav a:hover::after{width:100%}
nav a:hover{text-shadow:0 0 10px var(--accent-glow);}
/* Hero */
.hero{
min-height:60vh;
background:
linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
url("https://images.unsplash.com/photo-1542810634-71277d95dcbb") center/cover;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
color:#fff;
transition:.5s;
}
.hero h1{font-size:3rem;animation:fadeUp .9s ease both;}
.hero p{max-width:700px;margin:auto;font-size:1.1rem;animation:fadeUp .9s ease .3s both;}
@keyframes fadeUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:none}}
/* Sections */
.section{padding:80px 10%}
h2{text-align:center;margin-bottom:40px}
/* Events */
.events{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:35px;
}
.event{
background:var(--card);
border-radius:var(--radius);
overflow:hidden;
box-shadow:0 25px 60px var(--shadow);
transition:.6s, transform .3s;
}
.event:hover{transform:translateY(-18px) scale(1.04);}
.event img{
width:100%;
height:200px;
object-fit:cover;
transition:.4s;
}
.event img:hover{transform:scale(1.08);filter:brightness(1.05);}
.event .content{padding:25px}
.event h3{margin-top:0}
.badge{
display:inline-block;
padding:6px 14px;
border-radius:20px;
font-size:.8rem;
font-weight:700;
background:var(--accent);
color:var(--bg);
margin-bottom:10px;
transition:.3s;
}
/* Gallery */
.gallery{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:25px;
}
.gallery img{
width:100%;
border-radius:var(--radius);
box-shadow:0 20px 40px var(--shadow);
transition:.5s;
cursor:pointer;
}
.gallery img:hover{
transform:scale(1.1);
box-shadow:0 30px 80px rgba(0,0,0,.8);
}
/* Footer */
footer{
background:#000;
color:#fff;
padding:60px 10%;
}
footer a{color:#fff; text-decoration:none; transition:.3s;}
footer a:hover{text-decoration:underline;}
/* Icon Links (Masked Contact Info) */
.icon-links{display:flex;gap:15px;margin-top:20px;}
.icon-links a{
display:flex;align-items:center;justify-content:center;
width:50px;height:50px;background:var(--accent);
border-radius:50%;color:#fff;font-size:1.2rem;
transition:.3s, transform .3s;text-decoration:none;position:relative;
}
.icon-links a:hover{transform:translateY(-5px) scale(1.1);box-shadow:0 15px 35px rgba(0,0,0,.4);}
.icon-links a::after{
content:attr(title);
position:absolute;bottom:-32px;background:#000;color:#fff;
font-size:.75rem;padding:4px 8px;border-radius:8px;
opacity:0;transform:translateY(-10px);pointer-events:none;
transition:.3s;
}
.icon-links a:hover::after{opacity:1;transform:none}
/* Dark/Light Toggle Button */
#themeToggle{
position:fixed;top:20px;right:20px;width:50px;height:50px;
border-radius:50%;border:none;background:var(--accent);
color:#fff;font-size:1.2rem;cursor:pointer;
box-shadow:0 0 20px var(--accent-glow);z-index:999;
transition:.3s;
}
#themeToggle:hover{transform:rotate(25deg) scale(1.1);}
/* Back to Top */
#backToTop{
position:fixed;bottom:25px;right:25px;width:50px;height:50px;
background:var(--accent);color:#fff;display:none;
align-items:center;justify-content:center;border-radius:50%;
cursor:pointer;box-shadow:0 10px 25px rgba(0,0,0,.4);
z-index:999;transition:.3s;
}
#backToTop:hover{transform:translateY(-6px) scale(1.1);}
</style>
</head>
<body>
<header>
<a href="index.html"><img src="https://raw.githubusercontent.com/SCodeGit/SCode-Foundation/3415d5a312482e1f8dcce28abc32ffaabf9a76a1/images/scode%20foundations.png" alt="SCode Foundations"></a>
<nav>
<a href="index.html">Home</a>
<a href="sponsors.html">Sponsors</a>
<a href="about.html">About</a>
</nav>
</header>
<button id="themeToggle">🌓</button>
<section class="hero">
<div>
<h1>Our Outreach Events</h1>
<p>Every visit represents hope, dignity, and a future shaped through education and hygiene support.</p>
</div>
</section>
<section class="section">
<h2>Recent Events</h2>
<div class="events">
<div class="event">
<img src="https://images.unsplash.com/photo-1588072432836-e10032774350">
<div class="content">
<span class="badge">Education Outreach</span>
<h3>Peki D/A Primary School</h3>
<p><strong>Date:</strong> March 2025</p>
<p>Distributed exercise books, pens, and conducted learning motivation talks.</p>
<p><strong>Items Donated:</strong> 420</p>
</div>
</div>
<div class="event">
<img src="https://images.unsplash.com/photo-1588776814546-1ffcf47267a5">
<div class="content">
<span class="badge">Hygiene Program</span>
<h3>Abutia JHS</h3>
<p><strong>Date:</strong> February 2025</p>
<p>Sanitary pads distribution and hygiene education for adolescent girls.</p>
<p><strong>Items Donated:</strong> 310</p>
</div>
</div>
<div class="event">
<img src="https://images.unsplash.com/photo-1509062522246-3755977927d7">
<div class="content">
<span class="badge">Combined Outreach</span>
<h3>Have Technical School</h3>
<p><strong>Date:</strong> January 2025</p>
<p>Books, uniforms, hygiene kits, and ICT awareness sessions.</p>
<p><strong>Items Donated:</strong> 580</p>
</div>
</div>
</div>
</section>
<section class="section">
<h2>Event Gallery</h2>
<div class="gallery">
<img src="https://images.unsplash.com/photo-1607746882042-944635dfe10e">
<img src="https://images.unsplash.com/photo-1588075592446-13dc2b10c5ef">
<img src="https://images.unsplash.com/photo-1544717305-2782549b5136">
<img src="https://images.unsplash.com/photo-1529070538774-1843cb3265df">
<img src="https://images.unsplash.com/photo-1497633762265-9d179a990aa6">
<img src="https://images.unsplash.com/photo-1523580846011-d3a5bc25702b">
</div>
</section>
<footer>
<h2>Join Our Next Outreach</h2>
<p>Your support helps us reach more schools and transform more lives.</p>
<div class="icon-links">
<a href="https://wa.me/233555578864" target="_blank" title="WhatsApp"><i class="fab fa-whatsapp"></i></a>
<a href="mailto:atubraabraham@gmail.com" title="Email"><i class="fas fa-envelope"></i></a>
<a href="https://www.facebook.com/people/Atubra-Abraham/100072576882412/" target="_blank" title="Facebook"><i class="fab fa-facebook-f"></i></a>
</div>
<p>© <span id="year"></span> SCode Foundations · All Rights Reserved</p>
</footer>
<div id="backToTop">↑</div>
<script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script>
<script>
// Auto-update year
document.getElementById('year').textContent = new Date().getFullYear();
// Dark/Light Mode Toggle
const toggle=document.getElementById('themeToggle');
toggle.addEventListener('click',()=>{
if(document.body.classList.contains('dark-mode')){
document.body.classList.remove('dark-mode');
document.body.classList.add('light-mode');
} else {
document.body.classList.remove('light-mode');
document.body.classList.add('dark-mode');
}
});
// Back-to-top Button
const back=document.getElementById('backToTop');
window.addEventListener('scroll',()=>{
back.style.display = window.scrollY>300?'flex':'none';
});
back.addEventListener('click',()=>{window.scrollTo({top:0,behavior:'smooth'});});
</script>
</body>
</html>