-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (52 loc) · 2.56 KB
/
index.html
File metadata and controls
54 lines (52 loc) · 2.56 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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<title>ZenBlog - Modern Personal Blog</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
darkMode: 'class',
}
</script>
<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=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Plus Jakarta Sans', sans-serif;
background-color: #f9fafb;
margin: 0;
}
#initial-loader {
position: fixed; top: 0; left: 0; width: 100%; height: 100%;
display: flex; flex-direction: column; align-items: center; justify-content: center;
background: #f9fafb; z-index: 9999;
transition: opacity 0.5s ease;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 10px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #cbd5e1; border: 3px solid transparent; background-clip: content-box; }
/* Dark mode scrollbar */
.dark ::-webkit-scrollbar-thumb { background: #374151; }
.dark ::-webkit-scrollbar-thumb:hover { background: #4b5563; }
</style>
</head>
<body>
<div id="root">
<div id="initial-loader">
<div style="position: relative; width: 56px; height: 56px;">
<img src="/logo.png" alt="" style="width: 48px; height: 48px; border-radius: 12px; position: absolute; top: 4px; left: 4px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); object-fit: contain;">
<div style="width: 56px; height: 56px; border: 3px solid #4f46e5; border-top-color: transparent; border-radius: 14px; animation: spin 0.8s linear infinite;"></div>
</div>
<p style="margin-top: 24px; color: #4f46e5; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px;">ZenBlog Initializing...</p>
</div>
</div>
<script type="module" src="/index.tsx"></script>
</body>
</html>