-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
70 lines (61 loc) · 1.76 KB
/
index.html
File metadata and controls
70 lines (61 loc) · 1.76 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="A single HTML notebook, perfect for minimalists."
/>
<title>Xie</title>
<link rel="stylesheet" href="styles/neat.css" />
<link rel="stylesheet" href="styles/custom.css" />
</head>
<body>
<header class="breathe">
<h1><a href="#archive">Xie</a></h1>
<blockquote>
A 9KB (3KB gzip) single HTML notebook, perfect for minimalists.
</blockquote>
<ol>
<li>click "New", write, and click "Publish" to finish the note.</li>
<li>Click "Save" to save it to index.html on your system.</li>
</ol>
<p>
Congratulations! You now have own notebook(index.html), feel free to
update, edit, and share it anytime you like!
</p>
<p>
<button id="save">Save</button>
<a href="#new" id="btnNew">New</a>
</p>
</header>
<main>
<section id="archive">
<ul></ul>
</section>
</main>
<section id="new">
<p>
<label for="title" class="row"
><input id="title" type="text" placeholder="Title"
/></label>
</p>
<p>
<label for="story" class="row">
<textarea id="story" placeholder="Your story..."></textarea>
</label>
</p>
<button id="publish">Publish</button>
</section>
<aside popover id="toast"></aside>
<footer>
<p style="float: right">
©2025 built with
<a href="https://github.com/chunqiuyiyu/xie">Xie</a>
<time id="buildTime"></time>
</p>
</footer>
<script type="module" defer src="src/main.js"></script>
</body>
</html>