-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathben.html
More file actions
628 lines (569 loc) · 25.6 KB
/
Copy pathben.html
File metadata and controls
628 lines (569 loc) · 25.6 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
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
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BenKormos</title>
<!-- Theme must be applied before CSS paints, to avoid a flash of the wrong mode -->
<script>
(function () {
var saved = localStorage.getItem('synergy-theme');
var theme = saved || (window.matchMedia('(prefers-color-scheme: light)').matches ? 'light' : 'dark');
document.documentElement.setAttribute('data-theme', theme);
})();
</script>
<link rel="icon" type="image/jpeg" href="pictures/benkormos.profilbild.jpg">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/devicons/devicon@latest/devicon.min.css">
<link href="https://fonts.googleapis.com/css2?family=Archivo+Black&family=IBM+Plex+Mono:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/benkormos/style.css">
<style>
/* Page-specific: bio text + per-platform accent cycling for the link roster */
.bio-text {
font-size: 0.85rem;
line-height: 1.7;
color: var(--text-main);
}
.link-node .avatar-fallback { color: var(--text-muted); }
.link-node:nth-child(1):hover { border-color: var(--accent-stamp); }
.link-node:nth-child(1):hover .avatar-fallback { color: var(--accent-stamp); }
.link-node:nth-child(2):hover { border-color: var(--accent-alert); }
.link-node:nth-child(2):hover .avatar-fallback { color: var(--accent-alert); }
.link-node:nth-child(3):hover { border-color: var(--accent-ok); }
.link-node:nth-child(3):hover .avatar-fallback { color: var(--accent-ok); }
.link-node:nth-child(4):hover { border-color: var(--accent-hazard); }
.link-node:nth-child(4):hover .avatar-fallback { color: var(--accent-hazard); }
.link-node:nth-child(5):hover { border-color: var(--accent-stamp); }
.link-node:nth-child(5):hover .avatar-fallback { color: var(--accent-stamp); }
.link-node:nth-child(6):hover { border-color: var(--accent-ok); }
.link-node:nth-child(6):hover .avatar-fallback { color: var(--accent-ok); }
/* --- SPOTIFY NOW-PLAYING WIDGET --- */
.spotify-btn {
max-width: 190px;
gap: 8px;
border-color: var(--accent-ok);
color: var(--text-main);
}
.spotify-btn:hover {
background: var(--bg-surface);
border-style: solid;
}
.spotify-art {
width: 22px;
height: 22px;
border-radius: 2px;
object-fit: cover;
border: 1px solid var(--border-active);
flex-shrink: 0;
background: var(--bg-main);
}
.spotify-track-info {
display: flex;
flex-direction: column;
line-height: 1.25;
overflow: hidden;
text-align: left;
}
.spotify-label {
font-size: 0.5rem;
color: var(--accent-ok);
text-transform: uppercase;
letter-spacing: 1px;
display: flex;
align-items: center;
gap: 3px;
}
.spotify-track-info .track-name {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 130px;
color: var(--text-pure);
font-size: 0.62rem;
text-transform: none;
letter-spacing: 0;
}
@media (max-width: 620px) {
.spotify-track-info { display: none; }
.spotify-btn { max-width: none; padding: 6px 8px; }
}
/* --- TECH STACK PILLS --- */
.tech-matrix {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.tech-token {
display: inline-flex;
align-items: center;
gap: 7px;
padding: 8px 12px;
background: var(--bg-surface);
border: 1px dashed var(--border-main);
border-radius: var(--radius-sm);
font-family: var(--font-mono);
font-size: 0.72rem;
font-weight: 600;
color: var(--text-main);
cursor: pointer;
transition: var(--transition-fast);
}
.tech-token i {
font-size: 1rem;
}
.tech-token:hover {
border-style: solid;
border-color: var(--border-active);
background: var(--bg-surface-elevated);
color: var(--text-pure);
transform: translate(-1px, -1px);
box-shadow: 2px 2px 0 rgba(var(--shadow-rgb), 0.3);
}
/* --- SYSTEM NODE CARDS (reuses .profile-node, no status box) --- */
.sys-grid {
grid-template-columns: repeat(2, 1fr);
}
.sys-node {
cursor: pointer;
border: none;
font: inherit;
}
.sys-node:hover { border-color: var(--accent-stamp); }
.sys-node:hover .avatar-fallback { color: var(--accent-stamp); }
/* --- INFO MODAL --- */
.info-modal-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(var(--shadow-rgb), 0.6);
backdrop-filter: blur(3px);
z-index: 2000;
align-items: center;
justify-content: center;
padding: 24px;
}
.info-modal-overlay.active {
display: flex;
}
.info-modal {
position: relative;
width: 100%;
max-width: 420px;
background: var(--bg-surface-elevated);
border: 1px solid var(--border-active);
border-radius: var(--radius-lg);
padding: 24px;
box-shadow: 5px 5px 0 rgba(var(--shadow-rgb), 0.4);
animation: manifest-stamp-in 0.25s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.info-modal::before,
.info-modal::after {
content: '';
position: absolute;
width: 10px;
height: 10px;
pointer-events: none;
}
.info-modal::before {
top: -1px; left: -1px;
border-top: 2px solid var(--accent-stamp);
border-left: 2px solid var(--accent-stamp);
}
.info-modal::after {
bottom: -1px; right: -1px;
border-bottom: 2px solid var(--accent-hazard);
border-right: 2px solid var(--accent-hazard);
}
.modal-close-btn {
position: absolute;
top: 10px;
right: 10px;
width: 26px;
height: 26px;
display: flex;
align-items: center;
justify-content: center;
background: transparent;
border: 1px dashed var(--border-active);
border-radius: var(--radius-sm);
color: var(--text-muted);
cursor: pointer;
font-size: 0.7rem;
transition: var(--transition-fast);
}
.modal-close-btn:hover {
color: var(--text-pure);
border-style: solid;
background: var(--bg-surface);
}
.modal-lead-row {
display: flex;
align-items: center;
gap: 14px;
margin-bottom: 14px;
padding-right: 24px;
}
.modal-lead-row i {
font-size: 2rem;
flex-shrink: 0;
}
.modal-lead-row h3 {
font-family: var(--font-display);
font-size: 1rem;
font-weight: 400;
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--text-pure);
}
.modal-lead-row span {
font-family: var(--font-mono);
font-size: 0.6rem;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.modal-desc {
font-size: 0.8rem;
line-height: 1.6;
color: var(--text-main);
margin-bottom: 14px;
}
.modal-use-box {
font-family: var(--font-mono);
font-size: 0.65rem;
letter-spacing: 0.5px;
text-transform: uppercase;
color: var(--accent-ok);
background: var(--bg-main);
border: 1px dashed var(--border-main);
border-radius: var(--radius-sm);
padding: 10px 12px;
}
</style>
</head>
<body>
<nav class="navbar">
<a href="/" class="nav-logo">BEN<span>KORMOS</span></a>
<div class="nav-links">
<a href="/" class="nav-btn dev-btn">
<i class="fas fa-arrow-left"></i>
<span>Hub</span>
</a>
<a href="#" id="spotify-widget" class="nav-btn spotify-btn" target="_blank" rel="noopener" style="display: none;">
<img id="spotify-art" class="spotify-art" src="" alt="">
<span class="spotify-track-info">
<span class="spotify-label"><i class="fas fa-circle-notch fa-spin" id="spotify-label-icon" style="font-size: 0.5rem;"></i> LAST_PLAYED</span>
<span class="track-name" id="spotify-track-name">—</span>
</span>
</a>
<button type="button" class="theme-toggle-btn" id="theme-toggle" aria-label="Hell/Dunkel umschalten">
<i class="fas fa-gear"></i>
</button>
</div>
</nav>
<div class="container">
<header class="hub-header">
<div class="avatar-mainframe">
<img src="pictures/benkormos.profilbild.jpg" alt="BenKormos" class="hub-avatar">
</div>
<h1 class="hub-title">BenKormos</h1>
<p class="hub-tagline">Owner & Systems Architect</p>
</header>
<section class="panel">
<div class="panel-title">
<span><i class="fas fa-terminal"></i> IDENTITY_CORE</span>
<span class="badge">BIO</span>
</div>
<p class="bio-text">
Welcome to my space! I love building things, tinkering with code, and sharing my latest projects and favorite links right here with you.
</p>
</section>
<section class="panel">
<div class="panel-title">
<span><i class="fas fa-link"></i> SOCIAL_LINKS</span>
<span class="badge">06 NODES</span>
</div>
<div class="holo-grid">
<a href="https://github.com/benbroc" target="_blank" class="link-node profile-node">
<i class="fab fa-github avatar-fallback"></i>
<h4>GitHub</h4>
<span>@benbroc</span>
</a>
<a href="https://youtube.com/@benkormos" target="_blank" class="link-node profile-node">
<i class="fab fa-youtube avatar-fallback"></i>
<h4>YouTube</h4>
<span>@benkormos</span>
</a>
<a href="https://twitch.tv/benkormos" target="_blank" class="link-node profile-node">
<i class="fab fa-twitch avatar-fallback"></i>
<h4>Twitch</h4>
<span>benkormos</span>
</a>
<a href="https://dc.gg/ben" target="_blank" class="link-node profile-node">
<i class="fab fa-discord avatar-fallback"></i>
<h4>Discord</h4>
<span>Join Server</span>
</a>
<a href="https://last.fm/user/ben_bro_c" target="_blank" class="link-node profile-node">
<i class="fab fa-lastfm avatar-fallback"></i>
<h4>Last.fm</h4>
<span>ben_bro_c</span>
</a>
<a href="https://open.spotify.com/user/31i3aleb3cwqqmmbmpj67duj73qu?si=b36abe2678d14e1f" target="_blank" class="link-node profile-node">
<i class="fab fa-spotify avatar-fallback"></i>
<h4>Spotify</h4>
<span>Profile</span>
</a>
</div>
</section>
<section class="panel">
<div class="panel-title">
<span><i class="fas fa-code"></i> TECH_STACK</span>
<span class="badge">06 LANGS</span>
</div>
<div class="tech-matrix">
<button type="button" class="tech-token" data-node="html"><i class="devicon-html5-plain" style="color: #e34c26;"></i> HTML5</button>
<button type="button" class="tech-token" data-node="css"><i class="devicon-css3-plain" style="color: #264de4;"></i> CSS3</button>
<button type="button" class="tech-token" data-node="js"><i class="devicon-javascript-plain" style="color: #f7df1e;"></i> JavaScript</button>
<button type="button" class="tech-token" data-node="python"><i class="devicon-python-plain" style="color: #3776ab;"></i> Python</button>
<button type="button" class="tech-token" data-node="cpp"><i class="devicon-cplusplus-plain" style="color: #00599c;"></i> C++</button>
<button type="button" class="tech-token" data-node="java"><i class="devicon-java-plain" style="color: #f89820;"></i> Java</button>
</div>
</section>
<section class="panel">
<div class="panel-title">
<span><i class="fas fa-server"></i> SYSTEMS</span>
<span class="badge">04 NODES</span>
</div>
<div class="holo-grid sys-grid">
<button type="button" class="sys-node profile-node" data-node="win10">
<i class="fab fa-windows avatar-fallback"></i>
<h4>Windows 10</h4>
<span>Host Workstation</span>
</button>
<button type="button" class="sys-node profile-node" data-node="macos">
<i class="fab fa-apple avatar-fallback"></i>
<h4>macOS Ventura</h4>
<span>2nd Main Machine</span>
</button>
<button type="button" class="sys-node profile-node" data-node="win11">
<i class="fab fa-windows avatar-fallback"></i>
<h4>Windows Server</h4>
<span>Sandbox / Testing</span>
</button>
<button type="button" class="sys-node profile-node" data-node="ubuntu">
<i class="fab fa-ubuntu avatar-fallback"></i>
<h4>Ubuntu Server</h4>
<span>Backend / Cronjobs</span>
</button>
</div>
</section>
<section class="panel">
<div class="panel-title">
<span><i class="fas fa-code-branch"></i> PROJECTS</span>
<span class="badge">02 REPOS</span>
</div>
<a href="https://github.com/SynergyStation" target="_blank" class="oss-container" style="margin-bottom: 10px;">
<div class="oss-meta">
<i class="fas fa-satellite"></i>
<div class="oss-details">
<h4>SYNERGYstation</h4>
<p>Owner & Main Developer</p>
</div>
</div>
<i class="fas fa-external-link-alt" style="font-size: 0.8rem; opacity: 0.5;"></i>
</a>
<a href="https://github.com/Benkormos" target="_blank" class="oss-container">
<div class="oss-meta">
<i class="fas fa-code-branch"></i>
<div class="oss-details">
<h4>BenKormos Prod.</h4>
<p>Owner & Developer</p>
</div>
</div>
<i class="fas fa-external-link-alt" style="font-size: 0.8rem; opacity: 0.5;"></i>
</a>
</section>
<footer class="hub-footer">
// BenKormosProductions // PROFILE_NODE //
</footer>
</div>
<!-- INFO MODAL -->
<div class="info-modal-overlay" id="info-modal-overlay">
<div class="info-modal">
<button type="button" class="modal-close-btn" id="close-modal"><i class="fas fa-times"></i></button>
<div class="modal-lead-row">
<i id="m-icon"></i>
<div>
<h3 id="m-title">Registry Node</h3>
<span id="m-type">// PARAM_LOG</span>
</div>
</div>
<p class="modal-desc" id="m-desc">—</p>
<div class="modal-use-box" id="m-use">—</div>
</div>
</div>
<script>
// --- THEME TOGGLE ---
(function () {
var toggleBtn = document.getElementById('theme-toggle');
var icon = toggleBtn.querySelector('i');
function syncIcon() {
var current = document.documentElement.getAttribute('data-theme');
icon.className = current === 'light' ? 'fas fa-moon' : 'fas fa-sun';
}
toggleBtn.addEventListener('click', function () {
var current = document.documentElement.getAttribute('data-theme');
var next = current === 'light' ? 'dark' : 'light';
document.documentElement.setAttribute('data-theme', next);
localStorage.setItem('synergy-theme', next);
syncIcon();
});
syncIcon();
})();
// --- SPOTIFY LAST-PLAYED WIDGET ---
(function () {
var widget = document.getElementById('spotify-widget');
var art = document.getElementById('spotify-art');
var trackName = document.getElementById('spotify-track-name');
var labelIcon = document.getElementById('spotify-label-icon');
fetch('/api/recently-played')
.then(function (res) {
if (!res.ok) throw new Error('no data');
return res.json();
})
.then(function (data) {
if (!data || !data.name) throw new Error('empty');
art.src = data.image || '';
art.alt = data.name;
trackName.textContent = data.name + ' — ' + data.artist;
widget.href = data.url || '#';
labelIcon.classList.remove('fa-circle-notch', 'fa-spin');
labelIcon.classList.add(data.isPlaying ? 'fa-play' : 'fa-clock');
var labelText = widget.querySelector('.spotify-label');
labelText.lastChild ? null : null;
labelText.childNodes[labelText.childNodes.length - 1].textContent =
' ' + (data.isPlaying ? 'NOW_PLAYING' : 'LAST_PLAYED');
widget.style.display = 'flex';
})
.catch(function () {
// No data / endpoint not set up yet — keep the widget hidden, fail silently
widget.style.display = 'none';
});
})();
// --- TECH / SYSTEM INFO MODAL ---
(function () {
const centralDatabase = {
html: {
title: "HTML5 Engine",
type: "DOM_STRUCTURE_MARKUP",
icon: "devicon-html5-plain",
color: "#e34c26",
desc: "Hypertext Markup Language. The structural skeleton of web modules. Deployed to map out layouts, viewport anchors, and semantic elements inside the document model.",
use: "TASK: Blueprint Compilation & Layout Formatting"
},
css: {
title: "CSS3 Matrix",
type: "GRAPHICS_SHADING_INTERFACE",
icon: "devicon-css3-plain",
color: "#264de4",
desc: "Cascading Style Sheets. Controls the entire asset layout properties, hover state feedback, and responsive rendering pipelines.",
use: "TASK: UI Formatting & Custom Responsive Shaders"
},
js: {
title: "JavaScript Runtime",
type: "ASYNCHRONOUS_CORE_SCRIPTS",
icon: "devicon-javascript-plain",
color: "#f7df1e",
desc: "High-level ECMAScript controller engine. Drives interactive execution pipelines, background loop checks, and state monitoring without overhead delays.",
use: "TASK: Event Handling & DOM Node Control"
},
python: {
title: "Python Engine",
type: "INTERPRETED_AUTOMATION_NODE",
icon: "devicon-python-plain",
color: "#3776ab",
desc: "Object-oriented language optimized for automation tasks, data streaming, file parsers, and local software automation layers.",
use: "TASK: System Micro-Automation & Analytical Scrapers"
},
cpp: {
title: "C++ Compiler Core",
type: "LOW_LEVEL_NATIVE_EXECUTION",
icon: "devicon-cplusplus-plain",
color: "#00599c",
desc: "High-speed compiled native architecture. Grants hardware abstraction layers, deterministic speed capabilities, and precise system runtime configuration.",
use: "TASK: Heavy System Computations & Hardware Integration"
},
java: {
title: "Java Runtime Stack",
type: "JVM_VIRTUALIZATION_ENVIRONMENT",
icon: "devicon-java-plain",
color: "#f89820",
desc: "Robust object-oriented development framework running on the Java Virtual Machine (JVM). Provides cross-platform compliance for heavy logic operations.",
use: "TASK: Enterprise Application Logic & Multiplatform Backends"
},
win10: {
title: "Windows 10 Workstation",
type: "PRIMARY_HARDWARE_HOST_OS",
icon: "fab fa-windows",
color: "#00a3ee",
desc: "Primary operating host workstation. Anchors heavy software environments, virtualization frameworks, and main active engineering workflows.",
use: "CORE HOST: Central Production Workspace & Engineering Terminal"
},
macos: {
title: "macOS Ventura 13.7.8",
type: "SECONDARY_MAIN_MACHINE_NODE",
icon: "fab fa-apple",
color: "#ffc837",
desc: "Second active main machine. Unix-certified workstation environment used for native diagnostic tasks and cross-compiler testing.",
use: "CORE SUBHOST: Secondary Main Terminal // Native Unix Stack"
},
win11: {
title: "Windows Server 2026 Edition",
type: "VIRTUAL_SANDBOX_SUBSYSTEM",
icon: "fab fa-windows",
color: "#0078d4",
desc: "Modern NT core environment deployed for framework evaluation, interface validation, and multi-threaded virtualization layers.",
use: "ENVIRONMENT: Secondary Sandbox & Multi-Thread Testing"
},
ubuntu: {
title: "Ubuntu Server 24.04 LTS",
type: "HEADLESS_LINUX_BACKEND",
icon: "fab fa-ubuntu",
color: "#e95420",
desc: "Headless Linux container engine built on Noble Numbat. Configured for secure automated cronjobs, backend scripts, and microservice testing.",
use: "ENVIRONMENT: Background Microservices & Host Database Testing"
}
};
const overlay = document.getElementById('info-modal-overlay');
const closeBtn = document.getElementById('close-modal');
const mIcon = document.getElementById('m-icon');
const mTitle = document.getElementById('m-title');
const mType = document.getElementById('m-type');
const mDesc = document.getElementById('m-desc');
const mUse = document.getElementById('m-use');
document.querySelectorAll('[data-node]').forEach((node) => {
node.addEventListener('click', () => {
const key = node.getAttribute('data-node');
const data = centralDatabase[key];
if (!data) return;
mIcon.className = data.icon;
mIcon.style.color = data.color;
mTitle.textContent = data.title;
mType.textContent = `// REGISTRY: ${data.type}`;
mDesc.textContent = data.desc;
mUse.textContent = data.use;
overlay.classList.add('active');
});
});
closeBtn.addEventListener('click', () => overlay.classList.remove('active'));
overlay.addEventListener('click', (e) => {
if (e.target === overlay) overlay.classList.remove('active');
});
document.addEventListener('keydown', (e) => {
if (e.key === 'Escape') overlay.classList.remove('active');
});
})();
</script>
</body>
</html>