Repository navigation
Expand file tree
/
Copy path404.html
More file actions
110 lines (96 loc) · 6.43 KB
/
Copy path404.html
File metadata and controls
110 lines (96 loc) · 6.43 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
<!DOCTYPE html>
<html lang="zh-CN" class="scroll-smooth">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>页面走丢了 · 楠屿札记</title>
<meta name="robots" content="noindex" />
<meta name="description" content="你要找的页面不存在,可能改过名字,或者从来就没有过。" />
<!-- 与主站一致:任何样式生效前先应用保存的主题,避免亮色用户进站闪黑 -->
<script>
(function () {
// 站点恒深色:无条件挂 dark(旧写法读的是无前缀键 theme,且会跟随访客系统浅色,
// 与主站 2026-09-29 定下的「恒深色」口径冲突,2026-09-30 修正)
document.documentElement.classList.add('dark');
})();
</script>
<meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)" />
<meta name="theme-color" content="#0a0a0c" media="(prefers-color-scheme: dark)" />
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='14' fill='%231d1d1f'/%3E%3Ctext x='32' y='43' font-family='Inter,-apple-system,sans-serif' font-size='34' font-weight='700' fill='white' text-anchor='middle'%3ES%3C/text%3E%3C/svg%3E" />
<link rel="apple-touch-icon" href="apple-touch-icon.png" />
<!-- 与主站同一套样式:Inter 字体 + Tailwind 静态构建 + 定制样式 -->
<link rel="stylesheet" href="assets/fonts/inter.css" />
<link rel="stylesheet" href="assets/vendor/tailwind.css" />
<link rel="stylesheet" href="css/style.css" />
</head>
<body class="bg-white text-[#1d1d1f] dark:bg-[#0a0a0c] dark:text-[#f5f5f7] min-h-screen transition-colors duration-200 antialiased selection:bg-[#0071e3] selection:text-white">
<!-- 顶栏:与主站同一套视觉,只保留能用的入口 -->
<header class="fixed top-0 inset-x-0 z-50 border-b border-[#d2d2d7]/50 dark:border-white/10 bg-white/80 dark:bg-[#0a0a0c]/80 site-nav">
<div class="max-w-6xl mx-auto px-4 sm:px-6 h-12 flex items-center justify-between text-xs">
<a href="/" class="flex items-center gap-2 font-semibold text-sm tracking-tight text-[#1d1d1f] dark:text-white hover:opacity-80 transition">
<span>楠屿札记</span>
</a>
<div class="flex items-center gap-3">
<a href="/#products" class="hidden sm:inline-block text-[#86868b] hover:text-black dark:hover:text-white transition">工具</a>
<a href="/#blog" class="hidden sm:inline-block text-[#86868b] hover:text-black dark:hover:text-white transition">技术手记</a>
<button id="theme-toggle" aria-label="切换明暗模式" class="p-1.5 rounded-full text-[#86868b] hover:text-black dark:hover:text-white transition cursor-pointer">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-3.5 h-3.5 hidden dark:block" aria-hidden="true">
<circle cx="12" cy="12" r="4"></circle>
<path d="M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41"></path>
</svg>
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-3.5 h-3.5 block dark:hidden" aria-hidden="true">
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
</svg>
</button>
<a href="/" class="btn-primary px-3 py-1 text-xs">回到首页</a>
</div>
</div>
</header>
<main class="max-w-2xl mx-auto px-4 sm:px-6 pt-40 pb-24 text-center">
<p class="text-[5rem] sm:text-[7rem] font-extrabold tracking-tight leading-none text-[#1d1d1f] dark:text-white">404</p>
<h1 class="mt-6 text-2xl sm:text-3xl font-bold tracking-tight text-[#1d1d1f] dark:text-white">
这个页面走丢了
</h1>
<p class="mt-3 text-sm sm:text-base text-[#86868b] leading-relaxed">
地址可能改过名字,也可能从来就没存在过。<br class="hidden sm:block" />
要不要回首页看看?那儿放着几个小工具,还有几篇技术手记。
</p>
<div class="mt-8 flex flex-col sm:flex-row items-center justify-center gap-3">
<a href="/" class="btn-primary px-5 py-2.5 text-sm">回到首页</a>
<a href="/#products" class="btn-secondary px-5 py-2.5 text-sm border border-[#d2d2d7] dark:border-white/15 hover:bg-black/5 dark:hover:bg-white/10">看看我做的工具</a>
</div>
<div class="mt-14 grid gap-3 sm:grid-cols-3 text-left">
<a href="/#blog" class="bento-card p-4 block border border-[#d2d2d7]/60 dark:border-white/10 hover:border-[#0071e3]/50 dark:hover:border-[#2997ff]/50">
<p class="text-sm font-semibold text-[#1d1d1f] dark:text-white">技术手记</p>
<p class="mt-1 text-xs text-[#86868b]">端侧 AI、帧率防抖、离线应用</p>
</a>
<a href="/#products" class="bento-card p-4 block border border-[#d2d2d7]/60 dark:border-white/10 hover:border-[#0071e3]/50 dark:hover:border-[#2997ff]/50">
<p class="text-sm font-semibold text-[#1d1d1f] dark:text-white">几个小工具</p>
<p class="mt-1 text-xs text-[#86868b]">FileButler / 拍案 / NetOps / Fluxion / GameBoost</p>
</a>
<a href="https://github.com/7SteveJohn" target="_blank" rel="noopener noreferrer" class="bento-card p-4 block border border-[#d2d2d7]/60 dark:border-white/10 hover:border-[#0071e3]/50 dark:hover:border-[#2997ff]/50">
<p class="text-sm font-semibold text-[#1d1d1f] dark:text-white">GitHub</p>
<p class="mt-1 text-xs text-[#86868b]">@7SteveJohn</p>
</a>
</div>
</main>
<footer class="border-t border-[#d2d2d7]/50 dark:border-white/10 py-8 text-center text-xs text-[#86868b]">
© <span id="footer-year">2026</span> 楠屿札记. 慢慢写,慢慢看。
</footer>
<script>
// 主题切换(与主站共用 localStorage 的 theme 键,切换后回首页保持一致)
(function () {
var root = document.documentElement;
var btn = document.getElementById('theme-toggle');
if (btn) {
btn.addEventListener('click', function () {
var dark = root.classList.toggle('dark');
try { localStorage.setItem('theme', dark ? 'dark' : 'light'); } catch (e) {}
});
}
var year = document.getElementById('footer-year');
if (year) year.textContent = String(new Date().getFullYear());
})();
</script>
</body>
</html>