-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
46 lines (44 loc) · 1.72 KB
/
Copy pathindex.html
File metadata and controls
46 lines (44 loc) · 1.72 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hacker DOCS</title>
<!-- Highlight.js Github Dark Theme -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/github-dark.min.css">
<link rel="stylesheet" href="public/style.css">
<link href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;700&family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
</head>
<body>
<div class="app-container">
<aside class="sidebar" id="sidebar">
<div class="sidebar-header">
<div class="logo">
<span class="glitch" data-text="Hacker DOCS">Hacker DOCS</span>
</div>
</div>
<div class="nav-container" id="nav-container">
<!-- Tree will be injected here -->
</div>
</aside>
<div class="resizer" id="resizer"></div>
<main class="content-area">
<header class="topbar">
<button id="toggle-sidebar-btn" class="menu-btn" title="Toggle Sidebar">☰</button>
<span class="active-path" id="active-path">/ </span>
</header>
<div class="markdown-body" id="markdown-body">
<div class="welcome-screen">
<h1>Welcome to Hacker DOCS</h1>
<p>A personal collection of unofficial writeups. Select a file from the sidebar to start reading.</p>
</div>
</div>
</main>
</div>
<!-- Dependencies -->
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
<!-- App logic -->
<script src="public/script.js"></script>
</body>
</html>