feat: 将站点配置更新为 DRDFileNest
Some checks failed
Code quality / quality (push) Has been cancelled
Build and Check / Astro Check for Node.js 22 (push) Has been cancelled
Build and Check / Astro Check for Node.js 23 (push) Has been cancelled
Build and Check / Astro Build for Node.js 22 (push) Has been cancelled
Build and Check / Astro Build for Node.js 23 (push) Has been cancelled

- 将站点标题从 "Fuwari" 更改为 "DRDFileNest"
- 更新副标题为 "A Site For File Storage"
- 将语言设置从英语更改为简体中文 (zh_CN)
- 启用站点横幅功能
- 添加自定义图标配置
- 更新导航栏中的 GitHub 链接为 Gitea 链接
- 更新个人资料信息,包括姓名和个人简介
- 移除所有社交媒体链接配置
This commit is contained in:
drd
2025-12-08 23:37:57 +08:00
parent 415fb97054
commit c990a97eac

View File

@@ -8,15 +8,15 @@ import type {
import { LinkPreset } from "./types/config"; import { LinkPreset } from "./types/config";
export const siteConfig: SiteConfig = { export const siteConfig: SiteConfig = {
title: "Fuwari", title: "DRDFileNest",
subtitle: "Demo Site", subtitle: "A Site For File Storage",
lang: "en", // Language code, e.g. 'en', 'zh_CN', 'ja', etc. lang: "zh_CN", // Language code, e.g. 'en', 'zh_CN', 'ja', etc.
themeColor: { themeColor: {
hue: 250, // Default hue for the theme color, from 0 to 360. e.g. red: 0, teal: 200, cyan: 250, pink: 345 hue: 250, // 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 fixed: false, // Hide the theme color picker for visitors
}, },
banner: { banner: {
enable: false, enable: true,
src: "assets/images/demo-banner.png", // Relative to the /src directory. Relative to the /public directory if it starts with '/' 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 position: "center", // Equivalent to object-position, only supports 'top', 'center', 'bottom'. 'center' by default
credit: { credit: {
@@ -31,11 +31,11 @@ export const siteConfig: SiteConfig = {
}, },
favicon: [ favicon: [
// Leave this array empty to use the default favicon // Leave this array empty to use the default favicon
// { {
// src: '/favicon/icon.png', // Path of the favicon, relative to the /public directory src: '/favicon/icon.png', // Path of the favicon, relative to the /public directory
// theme: 'light', // (Optional) Either 'light' or 'dark', set only if you have different favicons for light and dark mode theme: 'light', // (Optional) Either 'light' or 'dark', set only if you have different favicons for light and dark mode
// sizes: '32x32', // (Optional) Size of the favicon, set only if you have favicons of different sizes sizes: '32x32', // (Optional) Size of the favicon, set only if you have favicons of different sizes
// } }
], ],
}; };
@@ -45,8 +45,8 @@ export const navBarConfig: NavBarConfig = {
LinkPreset.Archive, LinkPreset.Archive,
LinkPreset.About, LinkPreset.About,
{ {
name: "GitHub", name: "Gitea",
url: "https://github.com/saicaca/fuwari", // Internal links should not include the base path, as it is automatically added url: "https://drdfilenest.xyz:8443/", // 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 external: true, // Show an external link icon and will open in a new tab
}, },
], ],
@@ -54,27 +54,9 @@ export const navBarConfig: NavBarConfig = {
export const profileConfig: ProfileConfig = { export const profileConfig: ProfileConfig = {
avatar: "assets/images/demo-avatar.png", // Relative to the /src directory. Relative to the /public directory if it starts with '/' avatar: "assets/images/demo-avatar.png", // Relative to the /src directory. Relative to the /public directory if it starts with '/'
name: "Lorem Ipsum", name: "Runda Dong",
bio: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.", bio: "",
links: [ links: [],
{
name: "Twitter",
icon: "fa6-brands:twitter", // Visit https://icones.js.org/ for icon codes
// You will need to install the corresponding icon set if it's not already included
// `pnpm add @iconify-json/<icon-set-name>`
url: "https://twitter.com",
},
{
name: "Steam",
icon: "fa6-brands:steam",
url: "https://store.steampowered.com",
},
{
name: "GitHub",
icon: "fa6-brands:github",
url: "https://github.com/saicaca/fuwari",
},
],
}; };
export const licenseConfig: LicenseConfig = { export const licenseConfig: LicenseConfig = {