Skip to content

Commit

Permalink
更新页面
Browse files Browse the repository at this point in the history
  • Loading branch information
Moriafly committed Nov 8, 2024
1 parent 92a104d commit 7ac749c
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 26 deletions.
4 changes: 2 additions & 2 deletions docs/.vitepress/cache/deps/_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"vue": {
"src": "../../../../node_modules/vue/dist/vue.runtime.esm-bundler.js",
"file": "vue.js",
"fileHash": "24895791",
"fileHash": "4452611c",
"needsInterop": false
},
"vitepress > @vue/devtools-api": {
Expand All @@ -19,7 +19,7 @@
"vitepress > @vueuse/core": {
"src": "../../../../node_modules/@vueuse/core/index.mjs",
"file": "vitepress___@vueuse_core.js",
"fileHash": "818d970e",
"fileHash": "3478737b",
"needsInterop": false
}
},
Expand Down
21 changes: 11 additions & 10 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,24 @@ export default defineConfig({
head: [['link', { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }]],
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
// logo: '/logo.png',
nav: [
{ text: 'Home', link: '/' },
{ text: 'Examples', link: '/markdown-examples' }
// { text: '首页', link: '/' },
// { text: 'Examples', link: '/markdown-examples' }
],

sidebar: [
{
text: 'Examples',
items: [
{ text: 'Markdown Examples', link: '/markdown-examples' },
{ text: 'Runtime API Examples', link: '/api-examples' }
]
}
// {
// text: 'Examples',
// items: [
// { text: 'Markdown Examples', link: '/markdown-examples' },
// { text: 'Runtime API Examples', link: '/api-examples' }
// ]
// }
],

socialLinks: [
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' }
{ icon: 'github', link: 'https://github.com/Moriafly/SPW' }
]
}
})
28 changes: 14 additions & 14 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ layout: home
hero:
name: "SPW"
text: "Salt Player®\nfor Windows™"
tagline: My great project tagline
tagline: 数十万用户选择的本地音乐播放器品牌
actions:
- theme: brand
text: Markdown Examples
link: /markdown-examples
- theme: alt
text: API Examples
link: /api-examples
text: 加入 Steam 愿望单
link: https://store.steampowered.com/app/3009140/Salt_Player_for_Windows/
# - theme: alt
# text: API Examples
# link: /api-examples

features:
- title: Feature A
details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
- title: Feature B
details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
- title: Feature C
details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
---
# features:
# - title: Feature A
# details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
# - title: Feature B
# details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
# - title: Feature C
# details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
# ---

File renamed without changes.
Binary file added docs/public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7ac749c

Please sign in to comment.