-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
258 lines (222 loc) · 11.1 KB
/
Copy pathindex.html
File metadata and controls
258 lines (222 loc) · 11.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SynergyStation Hub</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="logo.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.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/homepage/style.css">
<!-- Google AdSense -->
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5190849771422282"
crossorigin="anonymous"></script>
</head>
<body>
<nav class="navbar">
<a href="#" class="nav-logo">NETZ<span>NETZ</span></a>
<div class="nav-links">
<a href="/files.html" class="nav-btn dev-btn">
<i class="fas fa-folder-open" style="color: var(--accent-hazard);"></i>
<span>Files</span>
</a>
<a href="developer.html" class="nav-btn dev-btn">
<img src="logo.png" alt="Ben" class="nav-avatar">
<span>Developers</span>
</a>
</button>
<a href="https://dc.gg/ben" target="_blank" class="nav-btn discord-btn">
<i class="fab fa-discord"></i> <span>Discord</span>
</a>
<button type="button" class="theme-toggle-btn" id="theme-toggle" aria-label="Hell/Dunkel umschalten">
<i class="fas fa-gear"></i>
</div>
</nav>
<div class="container">
<header class="hub-header">
<div class="avatar-mainframe">
<img src="logo.png" alt="Hub Mainframe" class="hub-avatar">
</div>
<h1 class="hub-title">NETZNETZ Hub</h1>
<p class="hub-tagline">Made by NETZNETZproductions</p>
</header>
<section class="panel" id="cron-box" style="display: none;">
<div class="panel-title">
<span><i class="fas fa-terminal" style="color: var(--accent-ok);"></i> DATALOG // REPOSITORY_MIRROR</span>
<span class="live-tag">SECURE_SYNC</span>
</div>
<div class="cron-terminal">
<div class="update-header-badge" style="color: var(--accent-ok); font-weight: 700; margin-bottom: 6px;"><i class="fas fa-check-circle"></i> INCOMING_PAYLOAD:</div>
<p id="update-text">Initializing stream data...</p>
</div>
</section>
<section class="panel">
<div class="panel-title">
<span><i class="fas fa-server"></i> Profiles</span>
<span class="badge">Profiles</span>
</div>
<div class="holo-grid">
<div class="profile-node">
<div class="status-config-box">
<span class="status-indicator online"></span>
<select class="status-selector" onchange="updateNodeStatus(this)">
<option value="online">ONLINE</option>
<option value="idle">IDLE</option>
<option value="offline">OFFLINE</option>
</select>
</div>
<a href="benkormos.html" class="node-overlay-link"></a>
<i class="fas fa-user-shield avatar-fallback"></i>
<h4>BenKormos</h4>
<span>Owner/Developer</span>
</div>
<div class="profile-node">
<div class="status-config-box">
<span class="status-indicator online"></span>
<select class="status-selector" onchange="updateNodeStatus(this)">
<option value="online">ONLINE</option>
<option value="idle">IDLE</option>
<option value="offline">OFFLINE</option>
</select>
</div>
<a href="julian.html" class="node-overlay-link"></a>
<i class="fas fa-user-shield avatar-fallback"></i>
<h4>Julian442</h4>
<span>Dev</span>
</div>
<div class="profile-node">
<div class="status-config-box">
<span class="status-indicator online"></span>
<select class="status-selector" onchange="updateNodeStatus(this)">
<option value="online">ONLINE</option>
<option value="idle">IDLE</option>
<option value="offline">OFFLINE</option>
</select>
</div>
<a href="mexo.html" class="node-overlay-link"></a>
<i class="fas fa-user-shield avatar-fallback"></i>
<h4>Mexo</h4>
<span>Dev</span>
</div>
</div>
</section>
<section class="panel" id="github-panel">
<div class="panel-title">
<span><i class="fas fa-code-branch" style="color: var(--accent-stamp);"></i> OPEN_SOURCE_CODE</span>
</div>
<a href="https://github.com/netznetzproductions/website" target="_blank" class="oss-container">
<div class="oss-meta">
<i class="fab fa-github"></i>
<div class="oss-details">
<h4>netznetz.vercel.app</h4>
<p>Public deployment framework / Inspect core assets & stylesheets</p>
</div>
</div>
<div class="oss-stats">
<span><i class="fas fa-star"></i> Public</span>
<span><i class="fas fa-code"></i> HTML / CSS / JS</span>
</div>
</a>
</section>
<section class="panel" id="ad-panel">
<div class="panel-title">
<span><i class="fas fa-rectangle-ad" style="color: var(--text-muted);"></i> SPONSORED // AD_SLOT</span>
<span class="badge">EXT_CONTENT</span>
</div>
<!-- Echte AdSense Ad-Unit -->
<ins class="adsbygoogle"
style="display:block"
data-ad-format="fluid"
data-ad-layout-key="-bc+bx-47-9q+xs"
data-ad-client="ca-pub-5190849771422282"
data-ad-slot="7620254113"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</section>
<section class="panel">
<div class="panel-title">
<span><i class="fas fa-network-wired"></i> BROADCAST_NEW_PR0FILE</span>
</div>
<div class="join-interface">
<p class="join-desc">Request ur Profile in the Discord</p>
<a href="https://dc.gg/ben" target="_blank" class="action-link">Request Profile <i class="fas fa-arrow-right"></i></a>
</div>
</section>
<footer class="hub-footer">
// BenkormosProductions // ver3.12 //
</footer>
</div>
<script>
function updateNodeStatus(selectElement) {
const configBox = selectElement.parentElement;
const indicator = configBox.querySelector('.status-indicator');
const selectedStatus = selectElement.value;
indicator.className = 'status-indicator';
if (selectedStatus === 'online') {
indicator.classList.add('online');
} else if (selectedStatus === 'idle') {
indicator.classList.add('idle');
} else if (selectedStatus === 'offline') {
indicator.classList.add('offline');
}
}
async function fetchLatestUpdates() {
const owner = 'netznetzproductions';
const repo = 'website';
const path = 'updates';
const cronBox = document.getElementById('cron-box');
const updateText = document.getElementById('update-text');
try {
const response = await fetch(`https://api.github.com/repos/${owner}/${repo}/contents/${path}`);
if (!response.ok) return;
const items = await response.json();
const dateFolders = items
.filter(item => item.type === 'dir' && /^\d{4}\.\d{2}\.\d{2}$/.test(item.name))
.map(item => item.name)
.sort();
if (dateFolders.length > 0) {
const latestFolder = dateFolders[dateFolders.length - 1];
const [year, month, day] = latestFolder.split('.');
const months = [
"January", "February", "March", "April", "May", "June",
"July", "August", "September", "October", "November", "December"
];
const monthName = months[parseInt(month, 10) - 1];
const formattedDay = parseInt(day, 10);
updateText.innerHTML = `System revision committed securely on <strong>${monthName} ${formattedDay}, ${year}</strong>. Differential node packages compiled successfully inside execution tree: <code>/${path}/${latestFolder}</code>.`;
cronBox.style.display = 'block';
}
} catch (error) {
console.error("Core Engine Connection Disrupted:", error);
}
}
document.addEventListener('DOMContentLoaded', fetchLatestUpdates);
// --- 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();
})();
</script>
</body>
</html>