Compare commits

1 Commits

Author SHA1 Message Date
e0e60ea060 Build MeNav site 2026-04-22 12:47:22 +08:00
8 changed files with 5657 additions and 0 deletions

81
dist/404.html vendored Normal file
View File

@@ -0,0 +1,81 @@
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="robots" content="noindex" />
<title>Bighill导航 - 页面未找到</title>
<style>
body {
margin: 0;
padding: 40px 16px;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
background: #0b1020;
color: #e6e6e6;
}
.container {
max-width: 760px;
margin: 0 auto;
}
h1 {
margin: 0 0 12px;
font-size: 22px;
}
p {
margin: 8px 0;
line-height: 1.6;
color: rgba(230, 230, 230, 0.9);
}
a {
color: #74c0fc;
}
code {
background: rgba(255, 255, 255, 0.08);
padding: 2px 6px;
border-radius: 4px;
}
</style>
<script>
(function () {
try {
var l = window.location;
var pathname = l.pathname || '';
var segments = pathname.split('/').filter(Boolean);
// 用户站点:/<id>
// 仓库站点:/<repo>/<id>
var repoBase = '';
var pageId = '';
if (segments.length === 1) {
pageId = segments[0];
} else if (segments.length === 2) {
repoBase = '/' + segments[0];
pageId = segments[1];
} else {
repoBase = segments.length > 1 ? '/' + segments[0] : '';
pageId = segments.length ? segments[segments.length - 1] : '';
}
if (!pageId) {
l.replace(repoBase + '/');
return;
}
var target = repoBase + '/?page=' + encodeURIComponent(pageId) + (l.hash || '');
l.replace(target);
} catch (e) {
// 兜底:回到首页
window.location.replace('./');
}
})();
</script>
</head>
<body>
<div class="container">
<h1>页面未找到</h1>
<p>若你访问的是“页面路径深链接”,系统将自动回跳到 <code>?page=</code> 形式的可用地址。</p>
<p><a href="./">返回首页</a></p>
</div>
</body>
</html>

6
dist/assets/menav.svg vendored Normal file
View File

@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="22 22 56 56">
<!-- 字母 M使用比主题蓝更深一点的颜色适配深色背景 -->
<path d="M 22 78 L 22 22 L 34 22 L 50 48 L 66 22 L 78 22 L 78 78 L 66 78 L 66 45 L 55 62 L 45 62 L 34 45 L 34 78 Z" fill="#425E82"/>
<!-- 蓝色的向上箭头 -->
<path d="M 45 70 L 45 45 L 36 48 L 50 28 L 64 48 L 55 45 L 55 70 Z" fill="#7694B9"/>
</svg>

After

Width:  |  Height:  |  Size: 408 B

5533
dist/index.html vendored Normal file

File diff suppressed because it is too large Load Diff

28
dist/menav-config.json vendored Normal file
View File

@@ -0,0 +1,28 @@
{
"version": "1.3.0",
"timestamp": "2026-04-22T04:47:05.278Z",
"icons": {
"mode": "favicon",
"region": "cn"
},
"data": {
"homePageId": "common",
"pageTemplates": {
"common": "page",
"projects": "projects",
"articles": "articles",
"bookmarks": "bookmarks",
"content": "content"
},
"site": {
"security": {
"allowedSchemes": [
"http",
"https",
"mailto",
"tel"
]
}
}
}
}

6
dist/menav.svg vendored Normal file
View File

@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="22 22 56 56">
<!-- 字母 M使用比主题蓝更深一点的颜色适配深色背景 -->
<path d="M 22 78 L 22 22 L 34 22 L 50 48 L 66 22 L 78 22 L 78 78 L 66 78 L 66 45 L 55 62 L 45 62 L 34 45 L 34 78 Z" fill="#425E82"/>
<!-- 蓝色的向上箭头 -->
<path d="M 45 70 L 45 45 L 36 48 L 50 28 L 64 48 L 55 45 L 55 70 Z" fill="#7694B9"/>
</svg>

After

Width:  |  Height:  |  Size: 408 B

1
dist/pinyin-match.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/script.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/style.css vendored Normal file

File diff suppressed because one or more lines are too long