-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
730 lines (660 loc) · 25.1 KB
/
Copy pathindex.html
File metadata and controls
730 lines (660 loc) · 25.1 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
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Powerdot Developers Network — build the future of EV charging. Challenges for engineers, developers, and builders.">
<meta name="theme-color" content="#0d0d0d">
<title>⚡ Powerdot Developers Network</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap" rel="stylesheet">
<style>
/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Consolas', monospace;
background: #0a0a0c;
color: #c0e0d0;
line-height: 1.6;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
}
/* ── CRT OVERLAY ── */
.crt-overlay {
position: fixed; top: 0; left: 0; width: 100%; height: 100%;
pointer-events: none; z-index: 1000;
background: repeating-linear-gradient(
0deg,
rgba(0,0,0,0.06) 0px, rgba(0,0,0,0.06) 1px,
transparent 1px, transparent 2px
);
}
.crt-overlay::after {
content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
background: radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,0.35) 100%);
}
/* ── MATRIX CANVAS ── */
#matrix-bg {
position: fixed; top: 0; left: 0; width: 100%; height: 100%;
z-index: 0; opacity: 0.15;
}
/* ── CONTENT LAYER ── */
.content {
position: relative; z-index: 1;
max-width: 900px; margin: 0 auto; padding: 2rem;
min-height: 100vh;
display: flex; flex-direction: column;
justify-content: center;
}
/* ── BOOT SEQUENCE ── */
.boot-sequence {
margin-bottom: 2rem;
}
.boot-line {
color: #00ff41;
font-size: 0.75rem;
opacity: 0;
animation: bootFade 0.15s forwards;
white-space: pre-wrap;
letter-spacing: 0.5px;
}
.boot-line:nth-child(1) { animation-delay: 0.1s; }
.boot-line:nth-child(2) { animation-delay: 0.3s; }
.boot-line:nth-child(3) { animation-delay: 0.5s; }
.boot-line:nth-child(4) { animation-delay: 0.7s; }
.boot-line:nth-child(5) { animation-delay: 0.9s; }
.boot-line:nth-child(6) { animation-delay: 1.1s; }
.boot-line:nth-child(7) { animation-delay: 1.3s; }
.boot-line:nth-child(8) { animation-delay: 1.5s; }
.boot-line:nth-child(9) { animation-delay: 1.7s; }
.boot-line:nth-child(10) { animation-delay: 1.9s; }
.boot-line:nth-child(11) { animation-delay: 2.1s; }
.boot-line:nth-child(12) { animation-delay: 2.3s; }
.boot-line:nth-child(13) { animation-delay: 2.5s; }
@keyframes bootFade {
from { opacity: 0; transform: translateY(4px); }
to { opacity: 1; transform: translateY(0); }
}
.dim { color: rgba(0,255,65,0.45); }
.warn { color: #ffb000; }
.ok { color: #00ff41; }
.error { color: #ff4444; }
.cyan { color: #00d4ff; }
.info { color: rgba(0,255,65,0.7); }
/* ── PROMPT INPUT ── */
.boot-input {
margin-top: 0.5rem;
display: none;
align-items: center;
gap: 0.5rem;
}
.boot-input.visible { display: flex; }
.prompt-symbol { color: #00ff41; font-weight: 700; font-size: 0.85rem; }
.prompt-input {
background: transparent; border: none; outline: none;
color: #00ff41; font-family: inherit; font-size: 0.85rem;
flex: 1; caret-color: #00ff41;
}
.prompt-input::placeholder { color: rgba(0,255,65,0.25); }
/* ── TERMINAL RESPONSE ── */
.terminal-response {
margin-top: 0.5rem;
font-size: 0.8rem;
color: rgba(0,255,65,0.7);
white-space: pre-wrap;
display: none;
}
/* ── HERO ── */
.hero {
margin-top: 2rem;
opacity: 0;
animation: heroFade 0.6s ease-out 2.7s forwards;
}
@keyframes heroFade {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: translateY(0); }
}
.hero-ascii {
font-size: clamp(0.35rem, 1vw, 0.55rem);
line-height: 1.15;
color: #00ff41;
text-shadow: 0 0 8px rgba(0,255,65,0.5);
white-space: pre;
overflow: hidden;
}
/* ── GLITCH TEXT ── */
.glitch {
position: relative;
color: #00ff41;
font-size: clamp(1.2rem, 3vw, 1.8rem);
font-weight: 700;
letter-spacing: 3px;
text-transform: uppercase;
margin: 1.5rem 0 0.5rem;
}
.glitch::before,
.glitch::after {
content: attr(data-text);
position: absolute; top: 0; left: 0; width: 100%; height: 100%;
color: #00ff41;
}
.glitch::before {
left: 2px;
text-shadow: -2px 0 #ff00c1;
animation: glitchB 2s infinite linear alternate-reverse;
}
.glitch::after {
left: -2px;
text-shadow: 2px 0 #00d4ff;
animation: glitchA 2s infinite linear alternate-reverse;
}
@keyframes glitchA {
0%, 94%, 100% { clip-path: inset(0 0 100% 0); }
95% { clip-path: inset(40% 0 55% 0); }
96% { clip-path: inset(80% 0 10% 0); }
97% { clip-path: inset(20% 0 60% 0); }
98% { clip-path: inset(55% 0 30% 0); }
99% { clip-path: inset(75% 0 15% 0); }
}
@keyframes glitchB {
0%, 94%, 100% { clip-path: inset(0 0 100% 0); }
95% { clip-path: inset(60% 0 35% 0); }
96% { clip-path: inset(15% 0 70% 0); }
97% { clip-path: inset(50% 0 40% 0); }
98% { clip-path: inset(70% 0 20% 0); }
99% { clip-path: inset(30% 0 55% 0); }
}
/* ── TAGLINE ── */
.tagline {
color: rgba(0,255,65,0.7);
font-size: clamp(0.8rem, 1.5vw, 1rem);
letter-spacing: 1px;
margin-bottom: 3rem;
}
/* ── BATTERY ── */
.battery-container {
margin: 2rem 0;
display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem;
}
.battery-label {
font-size: 0.7rem;
color: rgba(0,255,65,0.5);
letter-spacing: 2px;
}
.battery {
display: flex; align-items: center; gap: 2px;
font-size: 0.8rem;
color: #00ff41;
}
.battery-body {
border: 1px solid #00ff41;
border-radius: 2px;
padding: 2px 4px;
min-width: 7ch;
text-align: center;
font-size: 0.7rem;
letter-spacing: 1px;
transition: color 0.3s;
}
.battery-tip {
width: 3px; height: 8px;
background: #00ff41;
border-radius: 0 1px 1px 0;
}
.battery-bar {
display: flex; gap: 2px; align-items: center;
}
.battery-fill {
display: flex;
}
.battery-block {
width: 8px; height: 14px;
background: rgba(0,255,65,0.15);
border: 1px solid rgba(0,255,65,0.3);
transition: background 0.5s, border-color 0.5s;
margin-right: 1px;
}
.battery-block.full {
background: #00ff41;
border-color: #00ff41;
box-shadow: 0 0 4px rgba(0,255,65,0.5);
}
.battery-block.charging {
animation: chargePulse 1s infinite;
}
@keyframes chargePulse {
0%, 100% { background: rgba(0,255,65,0.15); }
50% { background: #00ff41; box-shadow: 0 0 8px rgba(0,255,65,0.7); }
}
.battery-pct {
font-size: 0.7rem;
color: rgba(0,255,65,0.6);
margin-left: 8px;
}
/* ── STATUS ── */
.status-line {
display: flex; align-items: center; gap: 0.5rem;
font-size: 0.7rem; color: rgba(0,255,65,0.5);
margin: 1rem 0;
}
.status-dot {
width: 8px; height: 8px;
border-radius: 50%;
background: #00ff41;
box-shadow: 0 0 6px #00ff41;
animation: statusPulse 2s infinite;
}
@keyframes statusPulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.4; }
}
/* ── CARDS ── */
.sections {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1rem;
margin: 3rem 0;
}
.card {
border: 1px solid rgba(0,255,65,0.2);
padding: 1.5rem;
background: rgba(0,255,65,0.03);
transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.card:hover {
border-color: rgba(0,255,65,0.5);
background: rgba(0,255,65,0.06);
transform: translateY(-2px);
}
.card-icon {
font-size: 1.5rem; margin-bottom: 0.75rem;
}
.card h3 {
font-size: 0.85rem; color: #00ff41; margin-bottom: 0.5rem;
letter-spacing: 1px;
text-transform: uppercase;
}
.card p {
font-size: 0.75rem; color: rgba(0,255,65,0.6);
line-height: 1.7;
}
/* ── CTA ── */
.cta-section {
margin: 3rem 0;
text-align: center;
}
.cta-button {
display: inline-block;
padding: 0.75rem 2rem;
border: 1px solid #00ff41;
color: #00ff41;
font-family: inherit;
font-size: 0.8rem;
text-decoration: none;
letter-spacing: 2px;
text-transform: uppercase;
transition: all 0.3s;
background: rgba(0,255,65,0.05);
}
.cta-button:hover {
background: rgba(0,255,65,0.15);
box-shadow: 0 0 20px rgba(0,255,65,0.2);
}
/* ── FOOTER ── */
.footer {
text-align: center;
margin-top: 4rem;
padding-top: 2rem;
border-top: 1px solid rgba(0,255,65,0.1);
font-size: 0.65rem;
color: rgba(0,255,65,0.3);
}
.footer a {
color: rgba(0,255,65,0.5);
text-decoration: none;
}
.footer a:hover { color: #00ff41; }
/* ── BLINKING CURSOR ── */
.cursor {
display: inline-block;
width: 8px;
height: 1em;
background: #00ff41;
vertical-align: middle;
margin-left: 2px;
animation: blink 1s step-end infinite;
}
@keyframes blink {
0%, 100% { opacity: 1; }
50% { opacity: 0; }
}
/* ── RESPONSIVE ── */
@media (max-width: 640px) {
.content { padding: 1.5rem; justify-content: flex-start; padding-top: 3rem; }
.hero-ascii { font-size: 0.38rem; }
.glitch { font-size: 1rem; letter-spacing: 1px; }
.sections { grid-template-columns: 1fr; }
.boot-line { font-size: 0.65rem; }
}
/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
#matrix-bg { display: none; }
.crt-overlay { display: none; }
}
</style>
</head>
<body>
<div class="crt-overlay"></div>
<canvas id="matrix-bg"></canvas>
<div class="content">
<!-- Boot Sequence -->
<div class="boot-sequence" id="boot">
<div class="boot-line dim">POWERDOT_DEV v0.1.0-rc1 kernel: EV-6.6.42</div>
<div class="boot-line dim">[ 0.000000] Booting Powerdot Developers Network...</div>
<div class="boot-line dim">[ 0.124581] Initializing high-voltage systems <span class="ok">OK</span></div>
<div class="boot-line dim">[ 0.381022] Loading charging station topology...</div>
<div class="boot-line dim">[ 0.582149] OCPP 2.0.1 protocol stack <span class="ok">OK</span></div>
<div class="boot-line dim">[ 0.893776] Registering developer endpoints...</div>
<div class="boot-line dim">[ 1.154032] Enabling developer sandbox environment <span class="ok">OK</span></div>
<div class="boot-line dim">[ 1.441209] Mounting challenge engine <span class="ok">OK</span></div>
<div class="boot-line dim">[ 1.783446] Calibrating power delivery subsystem...</div>
<div class="boot-line dim">[ 2.009877] Connected to 12,847 charging stations</div>
<div class="boot-line dim">[ 2.332015] Starting API gateway on :443/tls <span class="ok">OK</span></div>
<div class="boot-line dim">[ 2.650089] Loading community modules...</div>
<div class="boot-line"><span class="warn">[ 2.982143]</span> <span class="ok">SYSTEM READY.</span> Welcome, builder.</div>
</div>
<!-- Terminal input -->
<div class="boot-input" id="bootInput">
<span class="prompt-symbol">root@powerdot:~#</span>
<input type="text" class="prompt-input" id="promptInput"
placeholder="type help to explore..."
autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false">
</div>
<div class="terminal-response" id="terminalResponse"></div>
<!-- Hero -->
<div class="hero">
<pre class="hero-ascii" aria-hidden="true">
⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣠⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣀⣀⣀
⠀⠀⠀⣀⣤⠶⠛⠛⠉⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠉⠙⠛⠛⠿⢷⣶⣤⣀
⣀⣤⠾⠛⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠛⠳⣶⣤⣀
⣿⣥⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛
⠀⠀⢀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀
⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡏⠀⢸⣿⣿⣿⣿⣿⡇
⠀⠀⠈⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠃⠀⠀⠈⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠋⠀⠀⠈⠛⠛⠛⠛⠛⠃
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤
⠀⠀⠀⠀⠀⣀⣤⣶⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⠀⠀⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇
⠀⠘⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠃</pre>
<h1 class="glitch" data-text="POWERDOT DEV">POWERDOT DEV</h1>
<p class="tagline">Developers Network — build the future of electric mobility.</p>
</div>
<!-- Battery Charge Level -->
<div class="battery-container" id="batteryWidget">
<div class="battery-label">› NETWORK CHARGE</div>
<div class="battery">
<div class="battery-bar" id="batteryBar">
<div class="battery-block"></div><div class="battery-block"></div>
<div class="battery-block"></div><div class="battery-block"></div>
<div class="battery-block"></div><div class="battery-block"></div>
<div class="battery-block"></div><div class="battery-block"></div>
<div class="battery-block"></div><div class="battery-block"></div>
</div>
<span class="battery-pct" id="batteryPct">0%</span>
</div>
</div>
<!-- Status line -->
<div class="status-line">
<span class="status-dot"></span>
<span id="statusText">SYSTEM ONLINE</span>
</div>
<!-- Cards -->
<div class="sections">
<div class="card">
<div class="card-icon">🧩</div>
<h3>Open Challenges</h3>
<p>Build integrations, solve real-world EV charging puzzles, and earn your place in the Powerdot ecosystem. New challenges posted regularly.</p>
</div>
<div class="card">
<div class="card-icon">⚡</div>
<h3>Community</h3>
<p>Join the network of engineers and builders shaping the future of EV infrastructure. Share solutions, review code, and compete for glory.</p>
</div>
</div>
<!-- CTA -->
<div class="cta-section">
<a href="#" class="cta-button" id="ctaButton">⚡ Get Charged Up</a>
</div>
<!-- Footer -->
<footer class="footer">
Powerdot Developers Network © 2026 — <span id="footerShell">root@powerdot:~# <span class="cursor"></span></span>
<br>[ <a href="https://powerdot.eu" target="_blank" rel="noopener">powerdot.eu</a> ]
[ <a href="https://github.com/powerdot-dev" target="_blank" rel="noopener">github/powerdot-dev</a> ]
</footer>
</div>
<script>
// ── MATRIX RAIN ──
(function() {
const canvas = document.getElementById('matrix-bg');
const ctx = canvas.getContext('2d');
let w, h, cols, drops;
// EV-themed characters mixed with hex and tech symbols
const chars = '01{}[]<>/\\|;:=+-*#@$%&!?⚡🔌🔋EVevkWhkWACDCPowerdotPD'.split('');
function resize() {
w = canvas.width = window.innerWidth;
h = canvas.height = window.innerHeight;
const fontSize = window.innerWidth < 640 ? 10 : 13;
cols = Math.floor(w / fontSize);
drops = Array(cols).fill(0).map(() => Math.random() * -h);
canvas.style.fontSize = fontSize + 'px';
}
resize();
window.addEventListener('resize', resize);
function draw() {
const fontSize = parseInt(canvas.style.fontSize);
ctx.fillStyle = 'rgba(10,10,12,0.05)';
ctx.fillRect(0, 0, w, h);
for (let i = 0; i < drops.length; i++) {
const char = chars[Math.floor(Math.random() * chars.length)];
const x = i * fontSize;
const y = drops[i] * fontSize;
const green = 100 + Math.random() * 155;
ctx.fillStyle = `rgba(0,${green},${Math.floor(green * 0.4)},${0.3 + Math.random() * 0.4})`;
ctx.fillText(char, x, y);
if (y > h && Math.random() > 0.975) drops[i] = 0;
drops[i]++;
}
requestAnimationFrame(draw);
}
draw();
})();
// ── BOOT SEQUENCE → SHOW INPUT ──
setTimeout(() => {
document.getElementById('bootInput').classList.add('visible');
document.getElementById('promptInput').focus();
}, 2800);
// ── BATTERY CHARGING ANIMATION ──
(function() {
const blocks = document.querySelectorAll('.battery-block');
const pctEl = document.getElementById('batteryPct');
let currentBlock = 0;
const total = blocks.length;
function chargeNext() {
if (currentBlock < total) {
blocks[currentBlock].classList.add('charging');
setTimeout(() => {
blocks[currentBlock].classList.remove('charging');
blocks[currentBlock].classList.add('full');
currentBlock++;
const pct = Math.round((currentBlock / total) * 100);
pctEl.textContent = pct + '%';
if (pct === 100) {
pctEl.style.color = '#00ff41';
pctEl.style.textShadow = '0 0 6px rgba(0,255,65,0.5)';
}
setTimeout(chargeNext, 200 + Math.random() * 300);
}, 600 + Math.random() * 400);
} else {
// Discharge and recharge for the funny infinite loop
setTimeout(() => {
blocks.forEach(b => b.classList.remove('full'));
pctEl.textContent = '0%';
pctEl.style.color = 'rgba(0,255,65,0.6)';
pctEl.style.textShadow = 'none';
currentBlock = 0;
setTimeout(chargeNext, 800);
}, 3000);
}
}
setTimeout(chargeNext, 3000 + Math.random() * 1000);
})();
// ── TERMINAL INPUT ──
(function() {
const input = document.getElementById('promptInput');
const response = document.getElementById('terminalResponse');
const statusText = document.getElementById('statusText');
const commands = {
help: `Available commands:
help Show this help
about About the Powerdot Developers Network
challenges Active developer challenges
api API & SDK info
status System status
charge Quick charge the network
whoami Identify yourself
clear Clear terminal
cowsay ???`,
about: `Powerdot Developers Network v0.1.0
Powerdot is one of Europe's fastest-growing EV charging networks.
We're building the infrastructure for electric mobility, and we need
developers, engineers, and builders to help us shape the future.
This network is where you'll find:
- Open challenges for developers
- API documentation & SDKs
- A community of builders
- Live charging station data
Type 'help' to see what you can do.`,
challenges: `Active Challenges:
🔌 #001 "Hello, Charger" Basic station connection [open]
⚡ #002 "Power Grid" Load balancing algorithm [open]
📊 #003 "Dashboard Zero" Real-time analytics dashboard [open]
🔐 #004 "Auth Gate" OAuth2 + OCPP auth integration [draft]
🤖 #005 "Smart Routing" EV route optimization [coming]
More challenges coming soon. Stay plugged in.`,
api: `API & SDK — COMING SOON
We're preparing:
- REST API (OCPP 2.0.1 compliant)
- WebSocket streaming endpoints
- Sandbox environment for testing
- SDKs for Python, TypeScript, Go, and Rust
- Interactive API playground
The API is currently in private alpha. Join the network to get access.`,
status: `┌─────────────────────────────────────────┐
│ POWERDOT NETWORK STATUS │
├─────────────────────────────────────────┤
│ Stations Online: 12,847 ✓ │
│ Active Sessions: 3,421 │
│ Energy Delivered: 847.2 MWh (today) │
│ CO₂ Saved: 203.4 tonnes │
│ API Latency: 42ms (p99) │
│ Uptime: 99.97% │
│ Challenges Open: 3 │
│ Devs Registered: ${Math.floor(Math.random() * 5000 + 1000)} │
└─────────────────────────────────────────┘`,
whoami: 'You are a developer. A builder. Someone who likes electricity and brackets.\n\nIdentity confirmed. Access granted.',
charge: (() => {
const msgs = [
'⚡ BZZZT... Charging network morale... 100%\n Developers energized. Ready to build.',
'🔋 Injecting 350 kW of developer enthusiasm...\n All stations report: CHARGED.',
'⚡ Fast-charging the community spirit...\n Range anxiety: eliminated. Code anxiety: also eliminated.',
'🔌 Plug in, tune out, ship code.\n Network charge level: MAXIMUM POWER.',
'⚡⚡ DOUBLE CHARGE ACTIVATED ⚡⚡\n (this is absolutely not how electricity works)',
];
let i = 0;
return () => msgs[i++ % msgs.length];
})(),
cowsay: `
_______________________________
< Powerdot: We have the power. >
-------------------------------
\\ ^__^
\\ (oo)\\_______
(__)\\ )\\/\\
||----w |
|| ||`,
clear: '__CLEAR__',
};
input.addEventListener('keydown', function(e) {
if (e.key === 'Enter') {
const cmd = input.value.trim().toLowerCase();
input.value = '';
if (!cmd) return;
const output = commands[cmd];
if (output === '__CLEAR__') {
response.style.display = 'none';
response.innerHTML = '';
return;
}
const result = typeof output === 'function' ? output() : output;
if (result) {
response.innerHTML = `<span style="color:#00ff41">root@powerdot:~#</span> <span style="color:#c0e0d0">${cmd}</span>\n${result}`;
response.style.display = 'block';
} else {
response.innerHTML = `<span style="color:#00ff41">root@powerdot:~#</span> <span style="color:#c0e0d0">${cmd}</span>\n<span style="color:#ff4444">bash: ${cmd}: command not found</span>\n<span style="color:rgba(0,255,65,0.35);font-size:0.7rem"> psst — try <span style="color:#00ff41">help</span> to see what you can do here.</span>`;
response.style.display = 'block';
}
// Funny status updates after certain commands
if (cmd === 'charge') {
statusText.textContent = ['NETWORK AT MAXIMUM POWER', 'ALL STATIONS CHARGED', 'DEVELOPERS ENERGIZED', '⚡ FULL POWER ⚡'][Math.floor(Math.random() * 4)];
}
}
});
// Refocus input when clicking anywhere (terminal behavior)
document.addEventListener('click', function(e) {
if (e.target.tagName !== 'A' && e.target.tagName !== 'INPUT') {
input.focus();
}
});
})();
// ── CTA BUTTON EASTER EGG ──
document.getElementById('ctaButton').addEventListener('click', function(e) {
e.preventDefault();
const batBlocks = document.querySelectorAll('.battery-block');
const pctEl = document.getElementById('batteryPct');
const statusText = document.getElementById('statusText');
// Quick charge animation
for (let i = 0; i < batBlocks.length; i++) {
const b = batBlocks[i];
const idx = i;
setTimeout(() => {
b.classList.add('full');
pctEl.textContent = `${Math.round(((idx + 1) / batBlocks.length) * 100)}%`;
pctEl.style.color = '#00ff41';
pctEl.style.textShadow = '0 0 6px rgba(0,255,65,0.5)';
}, idx * 30);
}
statusText.textContent = '⚡ CHARGING... ⚡';
setTimeout(() => {
statusText.textContent = 'SYSTEM ONLINE — YOU ARE NOW CHARGED';
this.textContent = '⚡ CHARGED!';
this.style.borderColor = 'rgba(0,255,65,0.6)';
this.style.boxShadow = '0 0 30px rgba(0,255,65,0.3)';
setTimeout(() => {
this.textContent = '⚡ Get Charged Up';
this.style.borderColor = '#00ff41';
this.style.boxShadow = 'none';
}, 2000);
}, 400);
});
</script>
</body>
</html>