Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update #876

Merged
merged 1 commit into from
Dec 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions web/.vitepress/theme/components/Docs/AsideOutlineAfter.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<script setup lang="ts">
const companies = [
{
name: 'df81.com',
link: 'https://df81.com/',
image: '/images/companies/df81.png'
},
]
interface Company {
name: string
image: string
link: string
}

const companies: Company[] = []
</script>

<template>
Expand Down
13 changes: 7 additions & 6 deletions web/.vitepress/theme/components/Docs/Donate/Companies.vue
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
<script setup lang="ts">
const companies = [
interface Company {
name: string
image: string
link: string
}

const companies: Company[] = [
{
name: 'jetbrains',
link: 'https://www.jetbrains.com/',
image: '/images/companies/jetbrains.png'
},
{
name: 'df81.com',
link: 'https://df81.com/',
image: '/images/companies/df81.png'
},
]
</script>

Expand Down
2 changes: 1 addition & 1 deletion web/.vitepress/theme/components/Docs/Donate/People.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{ nickname: 'N*s', intent: '¥10.00' },
{ nickname: 'FastAdmin开源社区 / F4nniu', intent: '¥100.00', link: 'https://www.fastadmin.net' },
{ nickname: '小黑 / **瑞', intent: '¥50.00' },
{ nickname: '《建站管家》多语言建站系统 / **明', intent: '¥88.88', link: 'https://df81.com/' },
{ nickname: '《建站管家》多语言建站系统 / **明', intent: '¥108.88', link: 'https://df81.com/' },
{ nickname: 'N*s', intent: '¥10.00' },
]
</script>
Expand Down
4 changes: 2 additions & 2 deletions web/.vitepress/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import { h } from 'vue'
import DefaultTheme from 'vitepress/theme'
import HomePrimary from '@components/Home/Primary.vue'
import HomeAuthorize from '@components/Home/Authorize.vue'
import AsideOutlineAfter from '@components/Docs/AsideOutlineAfter.vue'
// import AsideOutlineAfter from '@components/Docs/AsideOutlineAfter.vue'

export default {
...DefaultTheme,
Layout() {
return h(DefaultTheme.Layout, null, {
'home-hero-before': () => h(HomePrimary),
'home-features-after': () => h(HomeAuthorize),
'aside-outline-after': () => h(AsideOutlineAfter)
// 'aside-outline-after': () => h(AsideOutlineAfter)
})
}
}
8 changes: 4 additions & 4 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"web:serve": "vitepress serve"
},
"devDependencies": {
"@types/node": "^20.9.0",
"@types/node": "^20.10.3",
"fast-glob": "^3.3.2",
"sass": "^1.69.5",
"vite": "^4.5.0",
"vitepress": "1.0.0-rc.24",
"vue": "^3.3.8"
"vite": "^5.0.5",
"vitepress": "1.0.0-rc.31",
"vue": "^3.3.10"
},
"pnpm": {
"peerDependencyRules": {
Expand Down
Loading