-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgithub.html
More file actions
144 lines (135 loc) · 6.15 KB
/
Copy pathgithub.html
File metadata and controls
144 lines (135 loc) · 6.15 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>GitHub Dashboard — XAYTHEON</title>
<link rel="icon" href="assets/favicon.svg" type="image/svg+xml">
<link rel="stylesheet" href="style.css" />
<!-- Supabase SDK & auth bootstrap -->
<script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js@2.44.4/dist/umd/supabase.min.js"></script>
<script defer src="auth.js"></script>
</head>
<body class="eightgon-page">
<div class="content">
<nav class="navbar">
<div class="nav-container">
<a class="logo" href="index.html" aria-label="Back to Home">
<img class="logo-img" src="assets/logo/thelogo.png" alt="XAYTHEON logo" />
</a>
<ul class="nav-menu">
<li><a class="nav-link" href="index.html#home">Home</a></li>
<li><a class="nav-link" href="community.html">Community Highlights</a></li>
<li><a class="nav-link" href="explore.html">Explore by Topic</a></li>
<li><a class="nav-link" href="contributions.html">Contributions</a></li>
<li>
<button class="theme-toggle" id="theme-toggle" aria-label="Toggle dark mode">
<svg class="theme-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="5"/>
<line x1="12" y1="1" x2="12" y2="3"/>
<line x1="12" y1="21" x2="12" y2="23"/>
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/>
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/>
<line x1="1" y1="12" x2="3" y2="12"/>
<line x1="21" y1="12" x2="23" y2="12"/>
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/>
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/>
</svg>
</button>
</li>
<li id="auth-area"></li>
</ul>
</div>
</nav>
<section id="github" class="github-section">
<div class="container">
<div class="github-header">
<h2 class="section-title">GitHub Dashboard</h2>
<div class="mini-3d" aria-hidden="true">
<canvas id="mini-3d-canvas"></canvas>
<div class="mini-3d-loading">Loading…</div>
</div>
</div>
<form id="github-form" class="github-form" autocomplete="off">
<div class="field-group" style="grid-column: span 6;">
<label for="gh-username">Username</label>
<input id="gh-username" name="username" type="text" placeholder="e.g. octocat" required />
</div>
<button class="btn btn-primary" type="submit">Load Dashboard</button>
<button class="btn btn-outline" type="button" id="gh-clear">Clear</button>
<div id="github-status" class="github-status" aria-live="polite"></div>
</form>
<div class="github-grid">
<div class="card profile-card" id="gh-profile">
<div class="card-header">
<h3>Profile</h3>
</div>
<div class="card-body">
<div class="profile-row">
<img id="gh-avatar" alt="Avatar" class="avatar" />
<div>
<div class="profile-name" id="gh-name">—</div>
<div class="profile-login" id="gh-login">—</div>
<div class="profile-bio" id="gh-bio"></div>
</div>
</div>
<div class="profile-stats">
<div><span id="gh-followers">0</span><label>Followers</label></div>
<div><span id="gh-following">0</span><label>Following</label></div>
<div><span id="gh-repos-count">0</span><label>Repos</label></div>
</div>
</div>
</div>
<div class="card contributions-card" id="gh-contributions">
<div class="card-header">
<h3>Contributions</h3>
</div>
<div class="card-body">
<div id="gh-contrib-note" class="muted">Public contributions chart is shown below. If it’s unavailable, we’ll render an approximate heatmap from recent public activity.</div>
<div id="gh-contrib-svg" class="contrib-svg" role="img" aria-label="Contributions calendar"></div>
</div>
</div>
<div class="card repos-card" id="gh-repos" data-requires-auth style="display:none;">
<div class="card-header">
<h3>Top Repositories</h3>
<div class="muted small">Sorted by stars</div>
</div>
<div class="card-body">
<div id="gh-repo-list" class="repo-list"></div>
</div>
</div>
<div class="card activity-card" id="gh-activity" data-requires-auth style="display:none;">
<div class="card-header">
<h3>Recent Activity</h3>
<div class="muted small">Public events</div>
</div>
<div class="card-body">
<ul id="gh-activity-list" class="activity-list"></ul>
</div>
</div>
</div>
</div>
</section>
<footer class="footer">
<div class="container">
<div class="footer-content">
<div class="footer-brand">
<span class="logo-text">XAYTHEON</span>
<p>Empowering the next generation of innovators</p>
</div>
</div>
<div class="footer-bottom">
<p>© 2025 XAYTHEON. All rights reserved.</p>
</div>
</div>
</footer>
</div>
<!-- Contributions module -->
<script src="contributions.js"></script>
<!-- Three.js for mini viewer -->
<script src="https://cdn.jsdelivr.net/npm/three@0.128.0/build/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/three@0.128.0/examples/js/loaders/GLTFLoader.js"></script>
<!-- Auth & app scripts -->
<script src="script.js"></script>
</body>
</html>