This commit is contained in:
MangMang 2025-05-07 22:37:21 +08:00
parent 84191ee079
commit 2b47aa76d7
6 changed files with 24 additions and 6 deletions

View File

@ -1,14 +1,12 @@
<script setup lang="ts"> <script setup lang="ts">
import BlogHero from "vuepress-theme-hope/blog/components/BlogHero.js"; import BlogHero from "vuepress-theme-hope/blog/components/BlogHero.js";
import HitokotoBlogHero from "vuepress-theme-hope/presets/HitokotoBlogHero.js"; import HitokotoBlogHero from "vuepress-theme-hope/presets/HitokotoBlogHero.js";
import BingHeroBackground from "vuepress-theme-hope/presets/BingHeroBackground.js";
</script> </script>
<template> <template>
<BlogHero> <BlogHero>
<template #info="info" #bg> <template #info="info" #bg>
<HitokotoBlogHero v-bind="info" /> <HitokotoBlogHero v-bind="info" />
<BingHeroBackground />
</template> </template>
</BlogHero> </BlogHero>
</template> </template>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 1.4 MiB

View File

@ -30,10 +30,17 @@ export default sidebar({
prefix: "java/", prefix: "java/",
children: [ children: [
{ {
text: "Framework", text: "框架",
icon: "simple-icons:framework", icon: "simple-icons:framework",
collapsible: true, collapsible: true,
prefix: "framework/", prefix: "框架/",
children: "structure",
},
{
text: "工具箱",
icon: "simple-icons:framework",
collapsible: true,
prefix: "工具箱/",
children: "structure", children: "structure",
} }
] ]

View File

@ -1 +1,13 @@
// place your custom styles here // place your custom styles here
// .vuepress/styles/index.scss
/* .vuepress/styles/index.scss */
.hitokoto-text {
color: #DC143C !important; // 替换为你想要的颜色
}
.hitokoto-author {
color: #DC143C!important; // 可选也可自定义作者名颜色
}

View File

@ -8,7 +8,6 @@ export default hopeTheme(
hostname: "http://10.6.212.39:8080", hostname: "http://10.6.212.39:8080",
author: { author: {
name: "LiuMangMang", name: "LiuMangMang",
email: "362165265@qq.com"
}, },
license: "CC 4.0", license: "CC 4.0",
// 导航栏 // 导航栏
@ -23,6 +22,7 @@ export default hopeTheme(
footer: "Powered by VuePress | Theme by Hope", footer: "Powered by VuePress | Theme by Hope",
displayFooter: true, displayFooter: true,
lastUpdated: false, lastUpdated: false,
darkmode: "toggle",
// 博客相关 // 博客相关
blog: { blog: {
description: "一个后端开发者", description: "一个后端开发者",

View File

@ -8,7 +8,8 @@ tagline: ''
#heroImage: logo/transparentLogo.png #heroImage: logo/transparentLogo.png
#heroImageDark: logo/transparentLogo.png #heroImageDark: logo/transparentLogo.png
#heroAlt: 可爱小熊猫 #heroAlt: 可爱小熊猫
#bgImage: bg/bgImage.jpg bgImage: bg/day.png
bgImageDark: bg/night.png
heroFullScreen: true heroFullScreen: true
icon: house icon: house