Skip to content

Commit 91a0a54

Browse files
authored
remove vueschool banner / revert vueschool link (#525)
* remove vueschool banner * revert vueschool link
1 parent 18a5ee2 commit 91a0a54

File tree

3 files changed

+4
-234
lines changed

3 files changed

+4
-234
lines changed

.vitepress/theme/components/VueSchoolBanner.vue

Lines changed: 0 additions & 226 deletions
This file was deleted.

.vitepress/theme/components/VueSchoolLink.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
export default {
1515
props: {
1616
href: { type: String, required: true },
17-
title: { type: String, required: true },
18-
},
17+
title: { type: String, required: true }
18+
}
1919
}
2020
</script>
2121
<style scoped>
@@ -56,4 +56,4 @@ export default {
5656
border-bottom: 5px solid transparent;
5757
border-left: 8px solid #fff;
5858
}
59-
</style>
59+
</style>

.vitepress/theme/index.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,19 @@ import './styles/index.css'
22
import { h, App } from 'vue'
33
import { VPTheme } from '@vue/theme'
44
import PreferenceSwitch from './components/PreferenceSwitch.vue'
5-
import VueSchoolLink from './components/VueSchoolLink.vue'
6-
import VueSchoolBanner from './components/VueSchoolBanner.vue'
75
import {
86
preferComposition,
97
preferSFC,
108
filterHeadersByPreference
119
} from './components/preferences'
1210
import SponsorsAside from './components/SponsorsAside.vue'
11+
import VueSchoolLink from './components/VueSchoolLink.vue'
1312
import VueJobs from './components/VueJobs.vue'
1413

1514
export default Object.assign({}, VPTheme, {
1615
Layout: () => {
1716
// @ts-ignore
1817
return h(VPTheme.Layout, null, {
19-
banner: () => h('div', {}, [
20-
h(VueSchoolBanner)
21-
]),
2218
'sidebar-top': () => h(PreferenceSwitch),
2319
'aside-mid': () => h(SponsorsAside),
2420
'aside-bottom': () => h(VueJobs)

0 commit comments

Comments
 (0)