Skip to content

Commit 9bd07ac

Browse files
committed
Revert "Add vuemastery banner (#1825)"
This reverts commit d26b8a4.
1 parent 12bc1ec commit 9bd07ac

File tree

7 files changed

+2
-990
lines changed

7 files changed

+2
-990
lines changed

.vitepress/theme/components/VueMasteryBanner.vue

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

.vitepress/theme/index.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +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 VueMasteryBanner from './components/VueMasteryBanner.vue'
65
import {
76
preferComposition,
87
preferSFC,
98
filterHeadersByPreference
109
} from './components/preferences'
1110
import SponsorsAside from './components/SponsorsAside.vue'
11+
import VueSchoolLink from './components/VueSchoolLink.vue'
1212
import VueJobs from './components/VueJobs.vue'
1313

1414
export default Object.assign({}, VPTheme, {
1515
Layout: () => {
1616
// @ts-ignore
1717
return h(VPTheme.Layout, null, {
18-
banner: () => h('div', {}, [
19-
h(VueMasteryBanner)
20-
]),
2118
'sidebar-top': () => h(PreferenceSwitch),
2219
'aside-mid': () => h(SponsorsAside),
2320
'aside-bottom': () => h(VueJobs)
@@ -27,5 +24,6 @@ export default Object.assign({}, VPTheme, {
2724
app.provide('prefer-composition', preferComposition)
2825
app.provide('prefer-sfc', preferSFC)
2926
app.provide('filter-headers', filterHeadersByPreference)
27+
app.component('VueSchoolLink', VueSchoolLink)
3028
}
3129
})

0 commit comments

Comments
 (0)