Compare commits

..

2 Commits

Author SHA1 Message Date
857eb126dc 更新友链
- Shimakaze 岛风

详情(https://github.com/AgxCOy/AgxCOy/issues/5)
2025-06-17 10:23:11 +00:00
4e2f5770b3 chore: merge friends.ts into FriendsHome.vue
All checks were successful
部署文档 / build (push) Successful in 51s
2025-06-17 18:15:21 +08:00
3 changed files with 5 additions and 8 deletions

View File

@ -26,7 +26,7 @@
"#5:0": {
"name": "Shimakaze 岛风",
"icon": "https://blog.shimakaze.dev/avatar.webp",
"desc": "愿世界没有加班",
"desc": "愿世界没有加班",
"link": "https://blog.shimakaze.dev"
}
}

View File

@ -1,6 +0,0 @@
import { ThemeBlogHomeProjectOptions } from 'vuepress-theme-hope'
import friendsJson from './friends.json' with { type: 'json' }
const friends: ThemeBlogHomeProjectOptions[] = Object.values(friendsJson)
export default friends

View File

@ -30,13 +30,16 @@
<script lang="ts" setup>
import InfoPanel from 'vuepress-theme-hope/components/blog/InfoPanel'
import ProjectPanel from 'vuepress-theme-hope/components/blog/ProjectPanel'
import { ThemeBlogHomeProjectOptions } from 'vuepress-theme-hope'
import DropTransition from 'vuepress-theme-hope/components/transitions/DropTransition'
import Layout from 'vuepress-theme-hope/layouts/base/Layout.js'
import BingHeroBackground from 'vuepress-theme-hope/presets/BingHeroBackground.js'
import HitokotoBlogHero from 'vuepress-theme-hope/presets/HitokotoBlogHero.js'
import friends from "../friends"
import MarkdownContent from '../components/MarkdownContent.vue'
import FriendsInfo from '../friends.json' with { type: 'json' }
const friends: ThemeBlogHomeProjectOptions[] = Object.values(FriendsInfo)
</script>
<style lang="scss">