diff --git a/.vitepress/theme/components/VueMasteryBanner.vue b/.vitepress/theme/components/VueMasteryBanner.vue new file mode 100644 index 0000000000..0b42c4e691 --- /dev/null +++ b/.vitepress/theme/components/VueMasteryBanner.vue @@ -0,0 +1,253 @@ + + + + + + + + + BLACK FRIDAY + Get 60% off a year of Vue Mastery + + CLAIM DISCOUNT + + + + + + + + + + + + + diff --git a/.vitepress/theme/index.ts b/.vitepress/theme/index.ts index 9ea1fb93ff..212b41382b 100644 --- a/.vitepress/theme/index.ts +++ b/.vitepress/theme/index.ts @@ -10,14 +10,16 @@ import { } from './components/preferences' import SponsorsAside from './components/SponsorsAside.vue' import VueSchoolLink from './components/VueSchoolLink.vue' -import Banner from './components/Banner.vue' +// import Banner from './components/Banner.vue' // import TextAd from './components/TextAd.vue' +import VueMasteryBanner from './components/VueMasteryBanner.vue' export default Object.assign({}, VPTheme, { Layout: () => { // @ts-ignore return h(VPTheme.Layout, null, { - banner: () => h(Banner), + // banner: () => h(Banner), + banner: () => h(VueMasteryBanner), 'sidebar-top': () => h(PreferenceSwitch), 'sidebar-bottom': () => h(SecurityUpdateBtn), 'aside-mid': () => h(SponsorsAside) diff --git a/src/public/vuemastery/background-bubbles-vuemastery.svg b/src/public/vuemastery/background-bubbles-vuemastery.svg new file mode 100644 index 0000000000..886d9e89bb --- /dev/null +++ b/src/public/vuemastery/background-bubbles-vuemastery.svg @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/public/vuemastery/vuemastery-white.svg b/src/public/vuemastery/vuemastery-white.svg new file mode 100644 index 0000000000..bf97acdeba --- /dev/null +++ b/src/public/vuemastery/vuemastery-white.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Get 60% off a year of Vue Mastery