chore: personalize site with BlackCyan branding and config
- Replace favicon and wallpaper images with custom assets - Update site config (favicon path, colors, page switches) - Style footer beian info with inline CSS - Remove unused Firefly demo images and sponsor ads - Update lqips cache for image changes
|
Before Width: | Height: | Size: 72 KiB |
|
After Width: | Height: | Size: 982 B |
|
Before Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 125 KiB |
|
Before Width: | Height: | Size: 655 B After Width: | Height: | Size: 200 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 200 KiB |
|
Before Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 96 KiB |
|
Before Width: | Height: | Size: 100 KiB |
|
Before Width: | Height: | Size: 73 KiB |
|
Before Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 310 KiB |
|
After Width: | Height: | Size: 5.4 MiB |
|
Before Width: | Height: | Size: 300 KiB |
|
Before Width: | Height: | Size: 295 KiB |
|
Before Width: | Height: | Size: 240 KiB |
|
Before Width: | Height: | Size: 246 KiB |
|
Before Width: | Height: | Size: 250 KiB |
|
Before Width: | Height: | Size: 238 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 147 KiB |
|
Before Width: | Height: | Size: 79 KiB |
@@ -1,7 +1,33 @@
|
|||||||
|
<style>
|
||||||
|
.footer-beian {
|
||||||
|
margin-top: 8px;
|
||||||
|
font-size: 0.875rem;
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px 16px;
|
||||||
|
}
|
||||||
|
.footer-beian a {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 4px;
|
||||||
|
}
|
||||||
|
.footer-beian a:hover {
|
||||||
|
color: var(--primary, oklch(0.55 0.18 var(--hue)));
|
||||||
|
}
|
||||||
|
.footer-beian img {
|
||||||
|
height: 0.875rem;
|
||||||
|
width: auto;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<div class="footer-beian">
|
<div class="footer-beian">
|
||||||
<a href="https://beian.mps.gov.cn/#/query/webSearch?code=43130202000333" rel="noreferrer" target="_blank">
|
<a href="https://beian.mps.gov.cn/#/query/webSearch?code=43130202000333" rel="noreferrer" target="_blank">
|
||||||
<img src="/static/beian.png" alt="">
|
<img src="/assets/images/other/beian.png" alt="">
|
||||||
湘公网安备43130202000333号
|
湘公网安备43130202000333号
|
||||||
</a>
|
</a>
|
||||||
<a href="https://beian.miit.gov.cn/" target="_blank" id="icp">湘ICP备2025126482号-1</a>
|
<a href="https://beian.miit.gov.cn/" target="_blank">湘ICP备2025126482号-1</a>
|
||||||
</div>
|
</div>
|
||||||
@@ -43,22 +43,12 @@ export const backgroundWallpaper: BackgroundWallpaperConfig = {
|
|||||||
// 桌面背景图片(支持单张或多张随机)
|
// 桌面背景图片(支持单张或多张随机)
|
||||||
// desktop: "assets/images/DesktopWallpaper/d1.avif",
|
// desktop: "assets/images/DesktopWallpaper/d1.avif",
|
||||||
desktop: [
|
desktop: [
|
||||||
"assets/images/DesktopWallpaper/d1.avif",
|
"assets/images/DesktopWallpaper/musketeers.png",
|
||||||
"assets/images/DesktopWallpaper/d2.avif",
|
|
||||||
"assets/images/DesktopWallpaper/d3.avif",
|
|
||||||
"assets/images/DesktopWallpaper/d4.avif",
|
|
||||||
"assets/images/DesktopWallpaper/d5.avif",
|
|
||||||
"assets/images/DesktopWallpaper/d6.avif",
|
|
||||||
],
|
],
|
||||||
// 移动背景图片(支持单张或多张随机)
|
// 移动背景图片(支持单张或多张随机)
|
||||||
// mobile: "assets/images/MobileWallpaper/m1.avif",
|
// mobile: "assets/images/MobileWallpaper/m1.avif",
|
||||||
mobile: [
|
mobile: [
|
||||||
"assets/images/MobileWallpaper/m1.avif",
|
"assets/images/MobileWallpaper/hunter.png",
|
||||||
"assets/images/MobileWallpaper/m2.avif",
|
|
||||||
"assets/images/MobileWallpaper/m3.avif",
|
|
||||||
"assets/images/MobileWallpaper/m4.avif",
|
|
||||||
"assets/images/MobileWallpaper/m5.avif",
|
|
||||||
"assets/images/MobileWallpaper/m6.avif",
|
|
||||||
],
|
],
|
||||||
// 背景视频播放地址
|
// 背景视频播放地址
|
||||||
// 支持单个视频路径(字符串)或多个视频循环(数组)
|
// 支持单个视频路径(字符串)或多个视频循环(数组)
|
||||||
|
|||||||
@@ -16,12 +16,11 @@ export const siteConfig: SiteConfig = {
|
|||||||
|
|
||||||
// 站点描述
|
// 站点描述
|
||||||
description:
|
description:
|
||||||
"墨青的技术博客 - 分享编程、算法与技术的思考与实践。",
|
"三点几了,饮茶先啦",
|
||||||
|
|
||||||
// 站点关键词
|
// 站点关键词
|
||||||
keywords: [
|
keywords: [
|
||||||
"博客",
|
"博客",
|
||||||
"技术博客",
|
|
||||||
"编程",
|
"编程",
|
||||||
"算法",
|
"算法",
|
||||||
"Kotlin",
|
"Kotlin",
|
||||||
@@ -32,9 +31,9 @@ export const siteConfig: SiteConfig = {
|
|||||||
// 主题色
|
// 主题色
|
||||||
themeColor: {
|
themeColor: {
|
||||||
// 主题色的默认色相,范围从 0 到 360。例如:红色:0,青色:200,蓝绿色:250,粉色:345
|
// 主题色的默认色相,范围从 0 到 360。例如:红色:0,青色:200,蓝绿色:250,粉色:345
|
||||||
hue: 200,
|
hue: 255,
|
||||||
// 是否对访问者隐藏主题色选择器
|
// 是否对访问者隐藏主题色选择器
|
||||||
fixed: false,
|
fixed: true,
|
||||||
// 默认模式:"light" 亮色,"dark" 暗色,"system" 跟随系统
|
// 默认模式:"light" 亮色,"dark" 暗色,"system" 跟随系统
|
||||||
defaultMode: "system",
|
defaultMode: "system",
|
||||||
},
|
},
|
||||||
@@ -73,8 +72,8 @@ export const siteConfig: SiteConfig = {
|
|||||||
// 3. 本地图片(src目录,自动优化但会增加构建时间): { type: "image", value: "assets/images/logo.webp", alt: "Logo" }
|
// 3. 本地图片(src目录,自动优化但会增加构建时间): { type: "image", value: "assets/images/logo.webp", alt: "Logo" }
|
||||||
// 4. 网络图片: { type: "url", value: "https://example.com/logo.png", alt: "Logo" }
|
// 4. 网络图片: { type: "url", value: "https://example.com/logo.png", alt: "Logo" }
|
||||||
logo: {
|
logo: {
|
||||||
type: "icon",
|
type: "image",
|
||||||
value: "material-symbols:terminal",
|
value: "assets/images/blog.jpg",
|
||||||
},
|
},
|
||||||
// 导航栏标题
|
// 导航栏标题
|
||||||
title: "墨青的博客",
|
title: "墨青的博客",
|
||||||
|
|||||||
@@ -1,22 +1,9 @@
|
|||||||
{
|
{
|
||||||
"src:assets/images/firefly.png": "72d3af9ee699aced93",
|
"src:assets/images/firefly.png": "72d3af9ee699aced93",
|
||||||
"src:assets/images/cover.avif": "7c6f966a628a816e82",
|
|
||||||
"src:assets/images/avatar.avif": "dcd8d5d1cecabea9a9",
|
|
||||||
"public:gallery/firefly-2026/cover.avif": "7588a28a8f989e8d88",
|
"public:gallery/firefly-2026/cover.avif": "7588a28a8f989e8d88",
|
||||||
"public:gallery/firefly-2026/1.avif": "c8bca9dde6d2babfb5",
|
"public:gallery/firefly-2026/1.avif": "c8bca9dde6d2babfb5",
|
||||||
"src:assets/images/DesktopWallpaper/d6.avif": "d9e5ec9ca7aebda9b0",
|
"public:assets/images/other/beian.png": "c18975c3886cc99d5e",
|
||||||
"src:assets/images/DesktopWallpaper/d5.avif": "e2dbe0e1dae1d9c9cd",
|
"src:assets/images/blog.jpg": "b8bde8b3bce89a9fce",
|
||||||
"src:assets/images/DesktopWallpaper/d4.avif": "727991b7a7bbe2b8c2",
|
"src:assets/images/MobileWallpaper/hunter.png": "7b8b9085a8bd83818d",
|
||||||
"src:assets/images/DesktopWallpaper/d3.avif": "4268936f829e99adc7",
|
"src:assets/images/DesktopWallpaper/musketeers.png": "b2aba1bac3c9bfc2c5"
|
||||||
"src:assets/images/DesktopWallpaper/d2.avif": "b49db67a7e91d0aabc",
|
|
||||||
"src:assets/images/DesktopWallpaper/d1.avif": "8b9bb59ba6bae7d7dd",
|
|
||||||
"src:assets/images/MobileWallpaper/m6.avif": "a08eaac3abbfc7bdc8",
|
|
||||||
"src:assets/images/MobileWallpaper/m5.avif": "af99aecab1c1d2c2cb",
|
|
||||||
"src:assets/images/MobileWallpaper/m4.avif": "f0e1e2d4bfc7c2abc1",
|
|
||||||
"src:assets/images/MobileWallpaper/m3.avif": "c3a6b4dac2cad2c0c9",
|
|
||||||
"src:assets/images/MobileWallpaper/m2.avif": "f1e0ded8c2c6bbb0bc",
|
|
||||||
"src:assets/images/MobileWallpaper/m1.avif": "cccce0cbc0d59294c0",
|
|
||||||
"public:assets/images/sponsor/wechat.png": "d5d5d5dad9d7dbd8cf",
|
|
||||||
"public:assets/images/sponsor/alipay.png": "8ebbde91bedf93c0e0",
|
|
||||||
"public:assets/images/ad/ad1.webp": "a1b8b68a8e918c8f93"
|
|
||||||
}
|
}
|
||||||
@@ -11,7 +11,7 @@ export const site = {
|
|||||||
name: "墨青的博客",
|
name: "墨青的博客",
|
||||||
desc: "三点几了,饮茶先啦",
|
desc: "三点几了,饮茶先啦",
|
||||||
url: "https://blog.blackcyan.top",
|
url: "https://blog.blackcyan.top",
|
||||||
avatar: "http://q.qlogo.cn/headimg_dl?dst_uin=2035778950&spec=640&img_type=jpg",
|
avatar: "https://avatars.githubusercontent.com/u/117635344?v=4",
|
||||||
email: "blackcyan07@outlook.com",
|
email: "blackcyan07@outlook.com",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||