-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathindex.html
More file actions
110 lines (102 loc) · 4.4 KB
/
Copy pathindex.html
File metadata and controls
110 lines (102 loc) · 4.4 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>LearnHub Contributors Leaderboard</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:wght@400;500;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./index/css/style.css">
</head>
<body>
<canvas id="bg-canvas" aria-hidden="true"></canvas>
<div class="wrap">
<header class="terminal-bar" aria-label="Terminal header">
<div class="terminal-title">learnhub://contributors/leaderboard</div>
<div class="terminal-meta">status=[LIVE] mode=[GITHUB_PAGES] theme=[AMBER+BLUE]</div>
</header>
<main>
<section class="hero" aria-labelledby="page-title">
<div class="panel">
<div class="panel-header">
<span>system boot</span>
<span>$ leaderboard --recent --ranked</span>
</div>
<div class="panel-body">
<div class="ascii-logo" aria-hidden="true"> _ _ _ _
| | ___ __ _ _ __ _ __ | | | |_ _| |__
| | / _ \/ _` | '__| '_ \| |_| | | | | '_ \
| |__| __/ (_| | | | | | | _ | |_| | |_) |
|_____\___|\__,_|_| |_| |_|_| |_|\__,_|_.__/ </div>
<p class="prompt">uday@learnhub:~$ cat contributors.json</p>
<h1 id="page-title">Contributors <span class="blue">command center</span></h1>
<p id="typeLine" class="type-line"></p>
</div>
</div>
<aside class="panel" aria-labelledby="quick-stats-title">
<div class="panel-header">
<span id="quick-stats-title">system stats</span>
<span>[OK]</span>
</div>
<div class="panel-body">
<div class="stats-grid">
<div class="stat-card">
<div class="stat-label">Total contributors</div>
<div class="stat-value" id="totalContributors">--</div>
<div class="stat-sub">unique ranked contributors loaded from the repository</div>
</div>
<div class="stat-card">
<div class="stat-label">Total XP</div>
<div class="stat-value" id="totalXP">--</div>
<div class="stat-sub">cumulative XP across the full LearnHub board</div>
</div>
<div class="stat-card">
<div class="stat-label">Merged PRs</div>
<div class="stat-value" id="totalPRs">--</div>
<div class="stat-sub">successful merged contributions powering rank movement</div>
</div>
<div class="stat-card">
<div class="stat-label">Top title</div>
<div class="stat-value" id="topRankTitle" style="font-size: clamp(1rem, 2.4vw, 1.5rem);">--</div>
<div class="stat-sub">highest current rank title detected in the leaderboard</div>
</div>
</div>
</div>
</aside>
</section>
<div class="section-head">
<div>ranked contributors</div>
<small>sorted by xp, merged prs, activity order</small>
</div>
<section class="leaderboard" aria-label="Leaderboard layout">
<div class="contributors-list panel">
<div class="panel-header">
<span>leaderboard</span>
<span id="boardCount">loading...</span>
</div>
<div class="panel-body" id="contributorsMount">
<div class="loading">Loading contributors.json ...</div>
</div>
</div>
<aside class="feed panel">
<div class="panel-header">
<span>recent merged pr stream</span>
<span>[tail -n 8]</span>
</div>
<div class="panel-body" id="recentPrMount">
<div class="loading">Reconstructing recent activity feed ...</div>
</div>
</aside>
</section>
<footer class="status-line">
<span id="sourceStatus">source=[contributors.json]</span>
<span id="updatedStatus">last_update=[detecting]</span>
<span>deploy=[github pages static mode]</span>
</footer>
</main>
</div>
<script src="https://unpkg.com/three@0.166.1/build/three.min.js"></script>
<script src="./index/js/script.js"></script>
</body>
</html>