-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
429 lines (395 loc) · 16 KB
/
index.html
File metadata and controls
429 lines (395 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Joel's Portfolio</title>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&family=Space+Grotesk:wght@500;700&display=swap" rel="stylesheet">
<style>
/* ===== MODERN THEME VARIABLES ===== */
:root {
--primary: #e63946;
--primary-glow: rgba(230, 57, 70, 0.4);
--bg-dark: #0a0b10;
--card-bg: rgba(255, 255, 255, 0.03);
--glass-border: rgba(255, 255, 255, 0.1);
--text-main: #ffffff;
--text-dim: #a0a0a0;
--nav-bg: rgba(10, 11, 16, 0.7);
}
body.light-mode {
--bg-dark: #f5f7fa;
--card-bg: rgba(255, 255, 255, 0.8);
--glass-border: rgba(0, 0, 0, 0.1);
--text-main: #1a1c28;
--text-dim: #555555;
--nav-bg: rgba(255, 255, 255, 0.8);
}
.scroll-progress {
position: fixed;
top: 0; left: 0;
height: 4px;
background: var(--primary);
z-index: 2000;
width: 0%;
}
/* Fixed Theme Toggle */
.theme-toggle {
position: fixed;
bottom: 30px;
right: 30px;
width: 55px;
height: 55px;
border-radius: 50%;
background: var(--primary);
border: none;
cursor: pointer;
z-index: 2001; /* High z-index to stay above everything */
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
box-shadow: 0 4px 15px var(--primary-glow);
transition: transform 0.3s ease, background 0.3s ease;
}
.theme-toggle:hover { transform: rotate(15deg) scale(1.1); }
.typing-cursor {
border-right: 3px solid var(--primary);
animation: blink 0.7s infinite;
margin-left: 5px;
}
@keyframes blink { 50% { border-color: transparent; } }
* { box-sizing: border-box; scroll-behavior: smooth; }
body {
margin: 0;
font-family: 'Poppins', sans-serif;
background-color: var(--bg-dark);
color: var(--text-main);
overflow-x: hidden;
line-height: 1.6;
}
body::before {
content: "";
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background:
radial-gradient(circle at 20% 30%, rgba(230, 57, 70, 0.05) 0%, transparent 40%),
radial-gradient(circle at 80% 70%, rgba(69, 123, 157, 0.1) 0%, transparent 40%);
z-index: -1;
}
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
section { padding: 120px 10%; position: relative; }
.navbar {
position: fixed;
top: 20px; left: 50%;
transform: translateX(-50%);
width: 90%; max-width: 1200px;
background: var(--nav-bg);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid var(--glass-border);
border-radius: 50px;
display: flex;
justify-content: center;
align-items: center;
padding: 15px 30px;
z-index: 1000;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.scrolled {
top: 0; width: 100%;
border-radius: 0;
background: var(--nav-bg);
}
.navbar a {
color: var(--text-main);
text-decoration: none;
margin: 0 20px;
font-weight: 500;
font-size: 0.9rem;
text-transform: uppercase;
letter-spacing: 1px;
transition: 0.3s;
}
.navbar a:hover { color: var(--primary); text-shadow: 0 0 10px var(--primary-glow); }
.hero {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
background: linear-gradient(rgba(10,11,16,0.6), rgba(10,11,16,0.9));
overflow: hidden;
}
#particles-js { position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 1; }
.hero h1, .hero h2, .hero p, .hero button { position: relative; z-index: 2; }
.hero h1 {
font-size: clamp(3rem, 8vw, 6rem);
margin-bottom: 0;
background: linear-gradient(to right, #fff, #e63946);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
}
.hero h2 {
font-size: clamp(1rem, 3vw, 1.5rem);
letter-spacing: 4px;
text-transform: uppercase;
color: var(--primary);
margin-top: 10px;
}
.hero p { max-width: 700px; color: var(--text-dim); margin-top: 20px; }
#contactBtn {
position: relative;
background: var(--primary);
border: none; color: #fff;
padding: 18px 45px;
font-size: 1rem;
border-radius: 5px;
cursor: pointer;
overflow: hidden;
transition: 0.3s;
margin-top: 40px;
font-weight: 700;
}
#contactBtn:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px var(--primary-glow);
}
.skills-container { max-width: 700px; margin: 40px auto; text-align: left; }
.skill-wrapper { margin-bottom: 20px; }
.skill-info { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 5px; font-weight: 500;}
.progress-bg { background: var(--glass-border); height: 8px; border-radius: 10px; overflow: hidden; }
.progress-fill {
background: var(--primary); height: 100%; width: 0%;
border-radius: 10px; transition: width 1.5s cubic-bezier(0.1, 0.42, 0.41, 1);
}
.skills { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.skill-tag {
background: var(--card-bg);
border: 1px solid var(--glass-border);
padding: 8px 20px;
border-radius: 100px;
font-size: 0.85rem;
transition: 0.3s;
}
.skill-tag:hover {
background: var(--primary);
border-color: var(--primary);
transform: scale(1.1);
}
.project-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.card {
background: var(--card-bg);
border: 1px solid var(--glass-border);
backdrop-filter: blur(5px);
border-radius: 20px;
padding: 40px 30px;
text-align: left;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
display: flex;
flex-direction: column;
}
.card:hover {
background: rgba(255, 255, 255, 0.07);
transform: translateY(-12px) scale(1.02);
border-color: var(--primary);
}
.card h4 { font-size: 1.4rem; margin-bottom: 15px; }
.card button {
margin-top: auto;
background: transparent;
border: 1px solid var(--primary);
color: var(--primary);
padding: 10px;
border-radius: 5px;
cursor: pointer;
font-weight: 600;
transition: 0.3s;
}
.card button:hover {
background: var(--primary);
color: white;
}
.spinner {
width: 40px; height: 40px;
border: 3px solid var(--glass-border);
border-top-color: var(--primary);
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
[data-fade] { opacity: 0; transform: translateY(40px); transition: 0.8s ease-out; }
[data-fade].visible { opacity: 1; transform: translateY(0); }
/* INCREASED SOCIAL ICONS & CENTERED CONTACT */
.contact { text-align: center; }
.socials {
display: flex;
justify-content: center;
gap: 30px;
margin-top: 30px;
}
.socials a img {
width: 32px; /* Increased size from 24px */
height: 32px;
filter: grayscale(1);
transition: 0.3s ease;
}
.socials a:hover img {
filter: grayscale(0);
transform: scale(1.2);
}
@media (max-width: 768px) {
.navbar { width: 95%; padding: 10px; }
.navbar a { margin: 0 10px; font-size: 0.75rem; }
section { padding: 80px 5%; }
}
</style>
</head>
<body>
<div class="scroll-progress" id="scrollBar"></div>
<button class="theme-toggle" id="themeToggle" title="Toggle Dark/Light Mode">🌓</button>
<nav class="navbar" id="navbar">
<div>
<a href="#home">Home</a>
<a href="#about">About</a>
<a href="#projects">Projects</a>
<a href="#contact">Contact</a>
</div>
</nav>
<section id="home" class="hero">
<div id="particles-js"></div>
<h1>Joel</h1>
<h2><span id="typewriter"></span><span class="typing-cursor"></span></h2>
<p>Designing sleek interfaces, building responsive web apps, and experimenting with blockchain technologies.</p>
<button id="contactBtn">Contact Me</button>
</section>
<section id="about" class="about" data-fade>
<div style="text-align: center;">
<h3>About Me</h3>
<img id="profileImg" src="" alt="Joel's profile" class="profile-img" style="width: 150px; height: 150px; border-radius: 50%; border: 3px solid var(--primary); margin: 20px 0;">
</div>
<p>
I’m a passionate full stack developer focused on creating clean, responsive, and interactive experiences on the web.
I love combining design and logic — bringing ideas to life with HTML, CSS, JavaScript, and blockchain integrations. <br><br>
On the backend, I work with <strong>Node.js</strong> and <strong>Express.js</strong> to build scalable APIs, while using <strong>React</strong> and <strong>Tailwind CSS</strong> on the frontend to craft modern, responsive interfaces.
</p>
<div class="skills-container">
<div class="skill-wrapper">
<div class="skill-info"><span>Frontend</span><span>70%</span></div>
<div class="progress-bg"><div class="progress-fill" data-percent="90%"></div></div>
</div>
<div class="skill-wrapper">
<div class="skill-info"><span>Node.js / Backend</span><span>55%</span></div>
<div class="progress-bg"><div class="progress-fill" data-percent="85%"></div></div>
</div>
<div class="skill-wrapper">
<div class="skill-info"><span>Blockchain</span><span>15%</span></div>
<div class="progress-bg"><div class="progress-fill" data-percent="75%"></div></div>
</div>
</div>
<div class="skills">
<span class="skill-tag">HTML</span> <span class="skill-tag">CSS</span> <span class="skill-tag">JavaScript</span> <span class="skill-tag">React</span> <span class="skill-tag">Tailwind CSS</span> <span class="skill-tag">Node.js</span> <span class="skill-tag">Express.js</span> <span class="skill-tag">Next.js</span> <span class="skill-tag">Rest APIs</span> <span class="skill-tag">MongoDB</span> <span class="skill-tag">PostgreSQL</span> <span class="skill-tag">Render</span> <span class="skill-tag">GitHub Pages</span>
</div>
</section>
<section id="projects" class="projects" data-fade>
<h3 style="text-align: center;">My Projects</h3>
<div class="project-grid" id="static-projects">
<div class="card">
<h4>TON Blog</h4>
<p>The Open Network (TON) blockchain blog for beginners understanding.</p>
<button onclick="openSafe('ton.html')">View</button>
</div>
<div class="card">
<h4>Kronos IT Support <span style="font-size:0.8rem;color:#bbb;">(Client Project)</span></h4>
<p>A professional tech support website built for a client — clean UI and responsive design.</p>
<button onclick="openSafe('https://kronositsupport.github.io/KronosITsupport/')">View Site</button>
</div>
<div class="card">
<h4>CSI News</h4>
<p>A clean, modern mini-news platform delivering real-time updates on cryptocurrencies, global stocks, and market trends for smart investors.</p>
<button onclick="openSafe('https://web-devjoel.github.io/News/')">Visit Site</button>
</div>
<div class="card">
<h4>Online School Portal <span style="font-size:0.8rem;color:#bbb;">(Student Results System)</span></h4>
<p>A web-based results portal for students — allows entering or checking student results online.</p>
<button onclick="openSafe('https://online-school-portal.github.io/BPS/')">Visit Portal</button>
</div>
<!-- Loading Placeholder -->
<div class="card" style="flex-direction:column; justify-content:center; align-items:center;">
<div class="spinner"></div>
<p style="margin-top:15px; color:#ccc;">More projects loading soon...</p>
<!-- GameFi P2E Arena moved here -->
<div style="text-align:center; margin-top:10px;">
<h4>GameFi P2E Arena</h4>
<p style="color:#ccc;">A blockchain-based Play-to-Earn battle arena game with token rewards.</p>
</div>
</div>
</div>
</section>
<section id="contact" class="contact" data-fade>
<h3>Contact Me</h3>
<p>Have a project or idea in mind? Let's collaborate!</p>
<div class="socials">
<a href="https://github.com/web-devjoel" target="_blank"><img src="https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/github.svg" alt="GitHub"></a>
<a href="https://linkedin.com/in/yourusername" target="_blank"><img src="https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/linkedin.svg" alt="LinkedIn"></a>
<a href="mailto:joelomoemmanuel96@gmail.com"><img src="https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/gmail.svg" alt="Email"></a>
</div>
</section>
<script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
<script>
window.onscroll = () => {
const winScroll = document.body.scrollTop || document.documentElement.scrollTop;
const height = document.documentElement.scrollHeight - document.documentElement.clientHeight;
document.getElementById("scrollBar").style.width = (winScroll / height) * 100 + "%";
const nav = document.getElementById('navbar');
if (window.scrollY > 20) nav.classList.add('scrolled');
else nav.classList.remove('scrolled');
};
const appearOptions = { threshold: 0.2 };
const appearOnScroll = new IntersectionObserver((entries, observer) => {
entries.forEach(entry => {
if (!entry.isIntersecting) return;
entry.target.classList.add('visible');
if (entry.target.id === 'about') {
document.querySelectorAll('.progress-fill').forEach(bar => {
bar.style.width = bar.getAttribute('data-percent');
});
}
observer.unobserve(entry.target);
});
}, appearOptions);
document.querySelectorAll('[data-fade]').forEach(fader => appearOnScroll.observe(fader));
const textElement = document.getElementById('typewriter');
const phrases = ["Full Stack Developer", "Mobile Builder", "UI/UX Enthusiast", "Onchain Developer"];
let phraseIndex = 0, charIndex = 0, isDeleting = false, typeSpeed = 100;
function type() {
const currentPhrase = phrases[phraseIndex];
textElement.textContent = isDeleting ? currentPhrase.substring(0, charIndex - 1) : currentPhrase.substring(0, charIndex + 1);
charIndex = isDeleting ? charIndex - 1 : charIndex + 1;
let speed = isDeleting ? 50 : 150;
if (!isDeleting && charIndex === currentPhrase.length) { isDeleting = true; speed = 2000; }
else if (isDeleting && charIndex === 0) { isDeleting = false; phraseIndex = (phraseIndex + 1) % phrases.length; speed = 500; }
setTimeout(type, speed);
}
document.getElementById('themeToggle').onclick = () => {
document.body.classList.toggle('light-mode');
localStorage.setItem('theme', document.body.classList.contains('light-mode') ? 'light' : 'dark');
};
window.addEventListener('DOMContentLoaded', () => {
if (localStorage.getItem('theme') === 'light') document.body.classList.add('light-mode');
type();
particlesJS("particles-js", { "particles": { "number": { "value": 60 }, "color": { "value": "#ffffff" }, "line_linked": { "enable": true, "opacity": 0.1 }, "move": { "enable": true, "speed": 2 } } });
fetch('https://api.github.com/users/web-devjoel').then(r => r.json()).then(d => document.getElementById('profileImg').src = d.avatar_url);
});
document.getElementById('contactBtn').onclick = () => document.getElementById('contact').scrollIntoView();
function openSafe(url) { window.open(url, '_blank', 'noopener,noreferrer'); }
</script>
</body>
</html>