Squashed commit of the following:

commit 54078a69f8
Author: Ad-closeNN <1709301095@qq.com>
Date:   Thu Aug 7 23:33:17 2025 +0800

    2025/8/7

commit f65632b1e8
Author: Ad-closeNN <1709301095@qq.com>
Date:   Thu Aug 7 18:45:38 2025 +0800

    Finish

commit 7986271c89
Author: Ad-closeNN <1709301095@qq.com>
Date:   Thu Aug 7 17:41:57 2025 +0800

    Delete umami.md

commit fc0208cf4f
Author: Ad-closeNN <1709301095@qq.com>
Date:   Thu Aug 7 17:38:53 2025 +0800

    测试第一篇文章

commit 690d1290e4
Author: Ad-closeNN <1709301095@qq.com>
Date:   Thu Aug 7 11:56:58 2025 +0800

    feat: 博客访问量测试

commit 135830db3c
Author: Ad-closeNN <1709301095@qq.com>
Date:   Thu Aug 7 00:30:57 2025 +0800

    25/8/6
This commit is contained in:
Ad-closeNN
2025-08-07 23:33:48 +08:00
parent b62aa887e7
commit 5fbc350af2
49 changed files with 1073 additions and 734 deletions
+36 -13
View File
@@ -4,15 +4,16 @@ import type {
NavBarConfig,
ProfileConfig,
SiteConfig,
UmamiConfig,
} from "./types/config";
import { LinkPreset } from "./types/config";
export const siteConfig: SiteConfig = {
title: "Fuwari",
subtitle: "Demo Site",
lang: "en", // Language code, e.g. 'en', 'zh-CN', 'ja', etc.
title: "Ad_closeNN 的小站",
subtitle: "Ad_closeNN 的小站,时不时会刷新一些野生的文档。",
lang: "zh_CN", // Language code, e.g. 'en', 'zh-CN', 'ja', etc.
themeColor: {
hue: 250, // Default hue for the theme color, from 0 to 360. e.g. red: 0, teal: 200, cyan: 250, pink: 345
hue: 360, // Invalid but fun( Default hue for the theme color, from 0 to 360. e.g. red: 0, teal: 200, cyan: 250, pink: 345
fixed: false, // Hide the theme color picker for visitors
},
banner: {
@@ -20,16 +21,29 @@ export const siteConfig: SiteConfig = {
src: "assets/images/demo-banner.png", // Relative to the /src directory. Relative to the /public directory if it starts with '/'
position: "center", // Equivalent to object-position, only supports 'top', 'center', 'bottom'. 'center' by default
credit: {
enable: false, // Display the credit text of the banner image
text: "", // Credit text to be displayed
enable: true, // Display the credit text of the banner image
text: "a", // Credit text to be displayed
url: "", // (Optional) URL link to the original artwork or artist's page
},
},
background: {
enable: true, // Enable background image
//src: "https://eo-pic.2x.nz/h", // Background image URL (supports HTTPS)
src: "https://bing.img.run/rand_1366x768.php", // Bing daily theme
position: "center", // Background position: 'top', 'center', 'bottom'
size: "cover", // Background size: 'cover', 'contain', 'auto'
repeat: "no-repeat", // Background repeat: 'no-repeat', 'repeat', 'repeat-x', 'repeat-y'
attachment: "fixed", // Background attachment: 'fixed', 'scroll', 'local'
opacity: 0.5, // Background opacity (0-1)
},
toc: {
enable: true, // Display the table of contents on the right side of the post
depth: 2, // Maximum heading depth to show in the table, from 1 to 3
},
favicon: [
{
src: '/assets/avatar.jpg',
}
// Leave this array empty to use the default favicon
// {
// src: '/favicon/icon.png', // Path of the favicon, relative to the /public directory
@@ -45,18 +59,19 @@ export const navBarConfig: NavBarConfig = {
LinkPreset.Archive,
LinkPreset.About,
{
name: "GitHub",
url: "https://github.com/saicaca/fuwari", // Internal links should not include the base path, as it is automatically added
name: "统计信息",
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
},
],
};
export const profileConfig: ProfileConfig = {
avatar: "assets/images/demo-avatar.png", // Relative to the /src directory. Relative to the /public directory if it starts with '/'
name: "Lorem Ipsum",
bio: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
avatar: "/assets/avatar.jpg", // Relative to the /src directory. Relative to the /public directory if it starts with '/'
name: "Ad_closeNN",
bio: "永远相信美好的事情即将发生",
links: [
/*
{
name: "Twitter",
icon: "fa6-brands:twitter", // Visit https://icones.js.org/ for icon codes
@@ -64,15 +79,16 @@ export const profileConfig: ProfileConfig = {
// `pnpm add @iconify-json/<icon-set-name>`
url: "https://twitter.com",
},
*/
{
name: "Steam",
icon: "fa6-brands:steam",
url: "https://store.steampowered.com",
url: "https://steamcommunity.com/id/Ad_closeNN",
},
{
name: "GitHub",
icon: "fa6-brands:github",
url: "https://github.com/saicaca/fuwari",
url: "https://github.com/Ad-closeNN",
},
],
};
@@ -88,3 +104,10 @@ export const expressiveCodeConfig: ExpressiveCodeConfig = {
// Please select a dark theme, as this blog theme currently only supports dark background color
theme: "github-dark",
};
export const umamiConfig: UmamiConfig = {
enable: true,
baseUrl: "https://umami.adclosenn.top",
shareId: "XMDJoIb1D21UxHdH",
timezone: "Asia/Shanghai",
};