-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
387 lines (336 loc) · 12 KB
/
index.html
File metadata and controls
387 lines (336 loc) · 12 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Benjamin Cowen · Forensic Partner</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=Outfit:wght@300;400;600;700&family=Inter:wght@400;500;700&family=JetBrains+Mono:wght@400;700&display=swap"
rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script src="data.js"></script>
<style>
:root {
--bg-deep: #05080f;
--bg-surface: #0a0f1d;
--accent-primary: #3b82f6;
--accent-glow: rgba(59, 130, 246, 0.5);
--accent-cyan: #06b6d4;
--text-main: #f9fafb;
--text-dim: #94a3b8;
--border: rgba(255, 255, 255, 0.08);
--glass: rgba(255, 255, 255, 0.03);
--success: #10b981;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
background: var(--border);
border-radius: 10px;
}
body {
font-family: 'Inter', sans-serif;
background-color: var(--bg-deep);
color: var(--text-main);
line-height: 1.6;
background-image:
radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
radial-gradient(circle at 100% 100%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
min-height: 100vh;
overflow-x: hidden;
}
.container {
max-width: 1400px;
margin: 0 auto;
padding: 40px 20px;
}
header {
display: flex;
justify-content: space-between;
align-items: flex-end;
margin-bottom: 40px;
position: relative;
}
.branding h1 {
font-family: 'Outfit', sans-serif;
font-size: 3rem;
font-weight: 700;
letter-spacing: -0.04em;
background: linear-gradient(135deg, #fff 30%, var(--accent-primary) 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 10px;
}
.branding p {
font-family: 'JetBrains Mono', monospace;
color: var(--accent-cyan);
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.2em;
}
.pulse-badge {
display: inline-flex;
align-items: center;
gap: 10px;
background: var(--glass);
border: 1px solid var(--border);
padding: 8px 16px;
border-radius: 100px;
font-size: 0.8rem;
backdrop-filter: blur(10px);
}
.pulse-dot {
width: 8px;
height: 8px;
background: var(--success);
border-radius: 50%;
box-shadow: 0 0 15px var(--success);
animation: pulse-glow 2s infinite;
}
nav {
display: flex;
gap: 20px;
margin-bottom: 40px;
border-bottom: 1px solid var(--border);
padding-bottom: 20px;
}
.nav-btn {
background: none;
border: none;
color: var(--text-dim);
font-family: 'Outfit', sans-serif;
font-size: 1.1rem;
cursor: pointer;
transition: 0.2s;
position: relative;
padding: 5px 0;
}
.nav-btn:hover {
color: #fff;
}
.nav-btn.active {
color: var(--accent-primary);
}
.nav-btn.active::after {
content: '';
position: absolute;
bottom: -21px;
left: 0;
width: 100%;
height: 2px;
background: var(--accent-primary);
box-shadow: 0 0 10px var(--accent-glow);
}
.content-area {
display: grid;
grid-template-columns: 350px 1fr;
gap: 30px;
min-height: 600px;
}
.list-panel {
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: 20px;
padding: 20px;
max-height: 750px;
overflow-y: auto;
}
.detail-panel {
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: 24px;
padding: 40px;
min-height: 750px;
box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
overflow-y: auto;
position: relative;
}
.k-item {
background: var(--glass);
border: 1px solid var(--border);
padding: 15px;
border-radius: 12px;
margin-bottom: 12px;
transition: 0.2s;
cursor: pointer;
}
.k-item:hover {
border-color: var(--accent-primary);
background: rgba(255, 255, 255, 0.05);
transform: translateX(5px);
}
.k-item.active {
border-color: var(--accent-primary);
background: rgba(59, 130, 246, 0.1);
box-shadow: inset 0 0 10px rgba(59, 130, 246, 0.2);
}
.k-label {
font-family: 'JetBrains Mono', monospace;
font-size: 0.65rem;
color: var(--accent-cyan);
margin-bottom: 5px;
display: block;
}
.k-title {
font-weight: 600;
font-size: 0.95rem;
color: #fff;
}
.markdown-content h1 {
font-family: 'Outfit', sans-serif;
margin-bottom: 25px;
color: #fff;
font-size: 2.2rem;
border-bottom: 1px solid var(--border);
padding-bottom: 15px;
}
.markdown-content h2 {
font-family: 'Outfit', sans-serif;
margin: 35px 0 15px;
color: var(--accent-cyan);
font-size: 1.5rem;
}
.markdown-content p {
margin-bottom: 18px;
color: #cbd5e1;
font-size: 1.05rem;
}
.markdown-content ul {
margin: 15px 0 15px 25px;
}
.markdown-content li {
margin-bottom: 10px;
color: #cbd5e1;
}
.markdown-content code {
background: #1a2333;
padding: 2px 6px;
border-radius: 4px;
font-family: 'JetBrains Mono', monospace;
font-size: 0.9em;
color: var(--accent-cyan);
}
.markdown-content blockquote {
border-left: 4px solid var(--accent-primary);
padding-left: 20px;
color: var(--text-dim);
font-style: italic;
margin: 20px 0;
}
@keyframes pulse-glow {
0% {
box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
}
70% {
box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
}
}
@media (max-width: 1024px) {
.content-area {
grid-template-columns: 1fr;
}
.list-panel {
max-height: 300px;
}
}
</style>
</head>
<body>
<div class="container">
<header>
<div class="branding">
<h1>Benjamin Cowen Synthesis</h1>
<p>Forensic Partner Analytics · Recursive Data Stream</p>
</div>
<div class="system-status">
<div class="pulse-badge">
<div class="pulse-dot"></div>
<span id="last-updated">Real-time Sync: Active</span>
</div>
</div>
</header>
<nav id="main-nav">
<button class="nav-btn active" data-section="knowledge">Knowledge Vault</button>
<button class="nav-btn" data-section="reports">Forensic Reports</button>
<button class="nav-btn" data-section="transcripts">Transcripts</button>
</nav>
<div class="content-area">
<div class="list-panel" id="list-panel">
<!-- Data items injected here -->
</div>
<div class="detail-panel" id="detail-panel">
<div class="markdown-content" id="markdown-viewer">
<h1>Ready for Analysis</h1>
<p>Select a distilled forensic report from the sidebar to visualize the latest market thesis from
Benjamin's channel.</p>
</div>
</div>
</div>
</div>
<script>
let currentSection = 'knowledge';
const listPanel = document.getElementById('list-panel');
const detailPanel = document.getElementById('markdown-viewer');
const updatedLabel = document.getElementById('last-updated');
function init() {
if (typeof CRYPTOVERSE_DATA === 'undefined') {
detailPanel.innerHTML = "<h1>Forensic Hub Offline</h1><p>The shared intelligence manifest could not be loaded. Ensure data_builder.py has executed.</p>";
return;
}
updatedLabel.innerText = "Cycles Synced: " + CRYPTOVERSE_DATA.last_updated;
renderList('knowledge');
setupNav();
}
function setupNav() {
document.querySelectorAll('.nav-btn').forEach(btn => {
btn.onclick = () => {
document.querySelectorAll('.nav-btn').forEach(b => b.classList.remove('active'));
btn.classList.add('active');
currentSection = btn.dataset.section;
// Clear detail view on section switch
detailPanel.innerHTML = `<h1>Section: ${btn.innerText}</h1><p>Select an item from the sidebar to begin forensic review.</p>`;
renderList(currentSection);
};
});
}
function renderList(section) {
const data = CRYPTOVERSE_DATA[section] || [];
listPanel.innerHTML = data.map((item, index) => {
const title = item.name.replace('.md', '').replace('.txt', '').replace(/_/g, ' ').replace(/-/g, ' ');
return `
<div class="k-item" onclick="viewDetail('${section}', ${index})">
<span class="k-label">DATA-ID: ${section.toUpperCase()}#${index + 1}</span>
<h3 class="k-title">${title}</h3>
</div>
`;
}).join('') || '<p style="padding: 20px; color: #666; font-family: JetBrains Mono; font-size: 0.8rem;">[SYSTEM ERROR]: NO DATA ENTRIES FOUND FOR THIS REGISTER.</p>';
}
function viewDetail(section, index) {
const item = CRYPTOVERSE_DATA[section][index];
const content = item.content;
document.querySelectorAll('.k-item').forEach((it, idx) => {
it.classList.toggle('active', idx === index);
});
const isMarkdown = item.name.endsWith('.md');
detailPanel.innerHTML = isMarkdown ? marked.parse(content) : `<pre style="white-space: pre-wrap; color: var(--text-main); font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; background: #111; padding: 20px; border-radius: 12px; border: 1px solid var(--border);">${content}</pre>`;
document.querySelector('.detail-panel').scrollTop = 0;
}
init();
</script>
</body>
</html>