首页样式更新
Some checks failed
Deploy to Cloudflare Workers / deploy (push) Failing after 1m0s

This commit is contained in:
2026-01-08 04:22:00 +00:00
parent c66df20fdf
commit c47696e770
3 changed files with 7 additions and 17 deletions

View File

@@ -8,9 +8,9 @@ export const backgroundWallpaper: BackgroundWallpaperConfig = {
// 背景图片配置
src: {
// 桌面背景图片
desktop: "/assets/images/d1.webp",
desktop: "",
// 移动背景图片
mobile: "/assets/images/m1.webp",
mobile: "",
},
// Banner模式特有配置
banner: {
@@ -24,17 +24,13 @@ export const backgroundWallpaper: BackgroundWallpaperConfig = {
// 是否启用主页横幅文字
enable: true,
// 主页横幅主标题
title: "Lovely firefly!",
title: "5426主基地",
// 主页横幅主标题字体大小
titleSize: "3.8rem",
// 主页横幅副标题
subtitle: [
"In Reddened Chrysalis, I Once Rest",
"From Shattered Sky, I Free Fall",
"Amidst Silenced Stars, I Deep Sleep",
"Upon Lighted Fyrefly, I Soon Gaze",
"From Undreamt Night, I Thence Shine",
"In Finalized Morrow, I Full Bloom",
"欢迎来到5426基地",
"虫子是永远不会被打败的"
],
// 主页横幅副标题字体大小
subtitleSize: "1.5rem",

View File

@@ -28,16 +28,10 @@ const getDynamicNavBarConfig = (): NavBarConfig => {
children: [
{
name: "GitHub",
url: "https://github.com/CuteLeaf/Firefly",
url: "https://github.com/bluishhao",
external: true,
icon: "fa6-brands:github",
},
{
name: "Bilibili",
url: "https://space.bilibili.com/38932988",
external: true,
icon: "fa6-brands:bilibili",
},
],
});

View File

@@ -66,7 +66,7 @@ export const siteConfig: SiteConfig = {
alt: "🍀",
},
// 导航栏标题
title: "Firefly",
title: "5426的技术分享基地",
// 全宽导航栏导航栏是否占满屏幕宽度true占满false不占满
widthFull: false,
// 导航栏图标和标题是否跟随主题色