-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
147 lines (120 loc) · 4.42 KB
/
index.html
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>index | sabitm</title>
<link rel="stylesheet" type="text/css" href="https://sabitm.github.io/_static/style.css">
<link rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'"
href="https://cdnjs.cloudflare.com/ajax/libs/prism-themes/1.9.0/prism-a11y-dark.min.css">
<noscript>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism-themes/1.9.0/prism-coldark-dark.min.css">
</noscript>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-core.min.js"></script>
<script defer
src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/autoloader/prism-autoloader.min.js"></script>
</head>
<body>
<aside class="sidebar" id="menu" data-pagefind-ignore="all">
<div class="sidebar-wrapper">
<div class="site-name">
<h1>sabitm</h1>
</div>
<nav>
<ul>
</li>
<li> <details open>
<summary>Blog</summary>
<ul>
</li>
<li> <a href="https://sabitm.github.io/Blog/Emoji Could be Joined.html" title="Emoji Could be Joined"
>Emoji Could be Joined</a
>
</li>
</ul>
</details>
</li>
</li>
<li> <a href="https://sabitm.github.io/Contact.html" title="Contact"
>Contact</a
>
</li>
<li class="current"> <a href="https://sabitm.github.io/index.html" title="index"
>index</a
>
</li>
</ul>
</nav>
<footer>
<p>
Built with
<a href="https://github.com/ecarrara/obsidian-garden">Obsidian Garden</a
>.
</p>
</footer>
</div>
</aside>
<div class="main-area">
<div class="topnav">
<button id="toggle-menu">☰</button>
<nav><a title="Github" href="https://github.com/sabitm">Github</a></nav>
</div>
<div class="actions">
<button id="toggle-metadata">☰ Metadata</button>
</div>
<main class="main-content">
<article id="note-content" data-pagefind-body>
<header>
<h1 class="note-title">index</h1>
</header><p><strong>Author:</strong> sabitm</p>
<blockquote>
<p>This site exists thanks to this great <a href="https://github.com/ecarrara/obsidian-garden">tool</a> that help me focus on actually writing something than spent most of my time perfecting this static site!</p>
</blockquote>
<p>I’m Sabit. “Just an ordinary person” on the internet who loves about computers, programming, and stuff. Doing web backend with Python for work
and literally anything else for hobbies. Love tinkering with system or lower-level ones (not bare metal yet, but love doing that soon :)).
Interested in performance, safety, and correctness. Part of that is why I appreciate Rust as a programming language that brings you
aforementioned feature higher in the feature list.</p>
</article>
<aside class="right-sidebar" id="article-aside">
<div class="section">
<h3 class="section-title">Relationships</h3>
<div class="network-graph" id="graph"></div>
</div>
<nav class="section toc hide" id="toc-section">
<h3 class="section-title">On this page</h3>
</nav>
</aside>
</main>
</div>
<script type="module">
import {initGraph, toc} from "https://sabitm.github.io/_static/script.js"
const currentPath = "index"
const graph = {"edge_property":"directed","edges":[],"node_holes":[],"nodes":["index"]}
const g = initGraph(currentPath, graph)
document.getElementById("graph").appendChild(g.node())
const menuEl = document.getElementById("menu")
const rightSidebar = document.getElementById("article-aside")
document.getElementById("toggle-menu").addEventListener("click", (event) => {
menuEl.classList.toggle("show")
rightSidebar.classList.remove("show")
event.stopPropagation()
})
document.getElementById("toggle-metadata").addEventListener("click", (event) => {
rightSidebar.classList.toggle("show")
menuEl.classList.remove("show")
event.stopPropagation()
})
document.addEventListener("click", (event) => {
if (!menuEl.contains(event.target)) {
menuEl.classList.remove("show")
}
if (!rightSidebar.contains(event.target)) {
rightSidebar.classList.remove("show")
}
})
const articleEl = document.getElementById("note-content")
const tocSectionEl = document.getElementById("toc-section")
toc(articleEl, tocSectionEl)
</script>
</body>
</html>