mirror of
https://github.com/afoim/fuwari.git
synced 2026-01-31 00:53:19 +08:00
feat(sponsors): 重构赞助页面并迁移至/sponsors路径
- 将原/donate页面迁移至/sponsors路径并重构实现 - 添加sponsors.json数据文件存储赞助者信息 - 实现从astro文件自动提取友链数据的脚本 - 更新导航栏配置和重定向规则 - 新增相关类型定义和配置文件
This commit is contained in:
@@ -37,6 +37,10 @@ export default defineConfig({
|
||||
base: "/",
|
||||
trailingSlash: "always",
|
||||
output: "static",
|
||||
redirects: {
|
||||
"/donate": "/sponsors",
|
||||
"/donate/": "/sponsors/"
|
||||
},
|
||||
integrations: [tailwind({
|
||||
nesting: true,
|
||||
}), swup({
|
||||
|
||||
Reference in New Issue
Block a user