fear: 优化站点配置

1. Nav 增加状态
2. 新增一个图标库
3. 优化文档描述
This commit is contained in:
Ad-closeNN
2025-08-09 14:35:49 +08:00
parent 7a423b467a
commit b31aea8e6e
6 changed files with 39 additions and 3 deletions
+1
View File
@@ -29,6 +29,7 @@
"@iconify-json/fa6-brands": "^1.2.6",
"@iconify-json/fa6-regular": "^1.2.4",
"@iconify-json/fa6-solid": "^1.2.4",
"@iconify-json/ic": "^1.2.2",
"@iconify-json/material-symbols": "^1.2.30",
"@iconify/svelte": "^4.2.0",
"@swup/astro": "^1.7.0",
+10
View File
@@ -47,6 +47,9 @@ importers:
'@iconify-json/fa6-solid':
specifier: ^1.2.4
version: 1.2.4
'@iconify-json/ic':
specifier: ^1.2.2
version: 1.2.2
'@iconify-json/material-symbols':
specifier: ^1.2.30
version: 1.2.30
@@ -1097,6 +1100,9 @@ packages:
'@iconify-json/fa6-solid@1.2.4':
resolution: {integrity: sha512-LmDNNdJVyvF5mPm1yxWvL8KjCc/E8LzoqnF1LNTVpyY2ZJRUlGOWuPIThdbuFBF2IovgttkIyumhyqfmlHdwKg==}
'@iconify-json/ic@1.2.2':
resolution: {integrity: sha512-QmjwS3lYiOmVWgTCEOTFyGODaR/+689+ajep/VsrCcsUN0Gdle5PmIcibDsdmRyrOsW/E77G41UUijdbjQUofw==}
'@iconify-json/material-symbols@1.2.30':
resolution: {integrity: sha512-3dA1jxkCd8LqEaAWjwQ5tob4pJNKE59Bz604AL1GP3Kyv//pR3un3cIyAUWOFQS1lz0vKKkn0BKOCmcUDi1G8A==}
@@ -6390,6 +6396,10 @@ snapshots:
dependencies:
'@iconify/types': 2.0.0
'@iconify-json/ic@1.2.2':
dependencies:
'@iconify/types': 2.0.0
'@iconify-json/material-symbols@1.2.30':
dependencies:
'@iconify/types': 2.0.0
+15
View File
@@ -63,6 +63,11 @@ export const navBarConfig: NavBarConfig = {
url: "https://umami.adclosenn.top/share/XMDJoIb1D21UxHdH", // Internal links should not include the base path, as it is automatically added
external: true, // Show an external link icon and will open in a new tab
},
{
name: "状态信息",
url: "https://status.adclosenn.top", // Internal links should not include the base path, as it is automatically added
external: true, // Show an external link icon and will open in a new tab
},
],
};
@@ -85,11 +90,21 @@ export const profileConfig: ProfileConfig = {
icon: "fa6-brands:steam",
url: "https://steamcommunity.com/id/Ad_closeNN",
},
{
name: "Discord",
icon: "fa6-brands:discord",
url: "https://discord.com/users/1068060784300658688",
},
{
name: "GitHub",
icon: "fa6-brands:github",
url: "https://github.com/Ad-closeNN",
},
{
name: "Email",
icon: "ic:sharp-email",
url: "mailto:1709301095@qq.com",
},
],
};
+7 -1
View File
@@ -19,8 +19,14 @@ const postsCollection = defineCollection({
nextSlug: z.string().default(""),
}),
});
/* https://github.com/afoim/fuwari/commit/8b651d5d4e666c520d8fc95e89bf9d0ecf307644#diff-544dcd1cb4d05890db2dcf497052df475216a57683c346216e43133407b7ea58 */
const specCollection = defineCollection({
schema: z.object({}),
schema: z.object({
title: z.string().optional(),
published: z.date().optional(),
updated: z.date().optional(),
draft: z.boolean().optional().default(false),
}),
});
export const collections = {
posts: postsCollection,
+2 -1
View File
@@ -1,10 +1,11 @@
# 关于 / Hi there!
既然你来到了这里,就说明你在访问由 [Netlify](https://www.netlify.com) 托管的 [adclosenn.top](https://adclosenn.top)。本站 Netlify 优选 IP`3.33.186.135`
本站使用 [@satcaca/fuwari](https://github.com/saicaca/fuwari) 博客模板。嗯,真漂亮,真好用。
本站使用 [@satcaca/fuwari](https://github.com/saicaca/fuwari) 博客模板,部分代码来源于 [@afoim/fuwri](https://github.com/afoim/fuwar)。嗯,真漂亮,真好用。
::github{repo="saicaca/fuwari"}
::github{repo="withastro/astro"}
::github{repo="afoim/fuwari"}
## 域名
目前你现在见到的,也就是 [adclosenn.top](https://adclosenn.top)。除了这个,我还有其他的域名(部分):
+4 -1
View File
@@ -19,8 +19,11 @@
}
}
/* https://github.com/afoim/fuwari/blob/main/src/styles/markdown.css */
a:not(.no-styling) {
@apply relative bg-none link font-medium text-[var(--primary)]
@apply relative bg-none transition rounded-md p-1 -m-1 font-medium text-[var(--primary)]
before:ease-out before:transition active:bg-none hover:before:bg-[var(--btn-plain-bg-hover)] active:before:bg-[var(--btn-plain-bg-active)] z-0
before:absolute before:rounded-[inherit] before:inset-0 before:scale-[0.85] hover:before:scale-100 before:-z-10
underline decoration-[var(--link-underline)] decoration-1 decoration-dashed underline-offset-4;
box-decoration-break: clone;
-webkit-box-decoration-break: clone;