From c990a97eacf213c513bd016dc604cc0b748a66c4 Mon Sep 17 00:00:00 2001 From: drd <2912458403@qq.com> Date: Mon, 8 Dec 2025 23:37:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=B0=86=E7=AB=99=E7=82=B9=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=9B=B4=E6=96=B0=E4=B8=BA=20DRDFileNest?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将站点标题从 "Fuwari" 更改为 "DRDFileNest" - 更新副标题为 "A Site For File Storage" - 将语言设置从英语更改为简体中文 (zh_CN) - 启用站点横幅功能 - 添加自定义图标配置 - 更新导航栏中的 GitHub 链接为 Gitea 链接 - 更新个人资料信息,包括姓名和个人简介 - 移除所有社交媒体链接配置 --- src/config.ts | 46 ++++++++++++++-------------------------------- 1 file changed, 14 insertions(+), 32 deletions(-) diff --git a/src/config.ts b/src/config.ts index c7b2d11..2718c9e 100644 --- a/src/config.ts +++ b/src/config.ts @@ -8,15 +8,15 @@ import type { 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: "DRDFileNest", + subtitle: "A Site For File Storage", + 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 fixed: false, // Hide the theme color picker for visitors }, 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 '/' position: "center", // Equivalent to object-position, only supports 'top', 'center', 'bottom'. 'center' by default credit: { @@ -31,11 +31,11 @@ export const siteConfig: SiteConfig = { }, favicon: [ // Leave this array empty to use the default favicon - // { - // 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 - // sizes: '32x32', // (Optional) Size of the favicon, set only if you have favicons of different sizes - // } + { + 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 + 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.About, { - name: "GitHub", - url: "https://github.com/saicaca/fuwari", // Internal links should not include the base path, as it is automatically added + name: "Gitea", + 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 }, ], @@ -54,27 +54,9 @@ export const navBarConfig: NavBarConfig = { 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.", - 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/` - 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", - }, - ], + name: "Runda Dong", + bio: "", + links: [], }; export const licenseConfig: LicenseConfig = {