From: Israel Date: Sat, 25 Mar 2023 01:41:10 +0000 (+0000) Subject: add vuemastery pinia weekend promotion banner (#2075) X-Git-Tag: @pinia/nuxt@0.4.8~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d29ed3f4f8da157e11d9391687739d562f014ee;p=thirdparty%2Fvuejs%2Fpinia.git add vuemastery pinia weekend promotion banner (#2075) --- diff --git a/packages/docs/.vitepress/theme/components/VueMasteryBanner.vue b/packages/docs/.vitepress/theme/components/VueMasteryBanner.vue new file mode 100644 index 00000000..b2dfdbdd --- /dev/null +++ b/packages/docs/.vitepress/theme/components/VueMasteryBanner.vue @@ -0,0 +1,286 @@ + + + + + + \ No newline at end of file diff --git a/packages/docs/.vitepress/theme/index.ts b/packages/docs/.vitepress/theme/index.ts index 089a8019..47667b62 100644 --- a/packages/docs/.vitepress/theme/index.ts +++ b/packages/docs/.vitepress/theme/index.ts @@ -2,19 +2,21 @@ import { h, watchEffect } from 'vue' import { Theme, useData } from 'vitepress' import DefaultTheme from 'vitepress/theme' // import AsideSponsors from './components/AsideSponsors.vue' -// import HomeSponsors from './components/HomeSponsors.vue' +// import AsideSponsors from './components/AsideSponsors.vue' +import VueMasteryBanner from './components/VueMasteryBanner.vue' import './styles/vars.css' import VueSchoolLink from './components/VueSchoolLink.vue' import VueMasteryLogoLink from './components/VueMasteryLogoLink.vue' const theme: Theme = { ...DefaultTheme, - // Layout() { - // return h(DefaultTheme.Layout, null, { - // 'home-features-after': () => h(HomeSponsors), - // 'aside-ads-before': () => h(AsideSponsors), - // }) - // }, + Layout() { + return h(DefaultTheme.Layout, null, { + // 'home-features-after': () => h(HomeSponsors), + // 'aside-ads-before': () => h(AsideSponsors), + 'layout-top': () => h(VueMasteryBanner), + }) + }, enhanceApp({ app }) { app.component('VueSchoolLink', VueSchoolLink) diff --git a/packages/docs/public/vuemastery/background-bubbles-vuemastery.svg b/packages/docs/public/vuemastery/background-bubbles-vuemastery.svg new file mode 100644 index 00000000..8f5ec7e8 --- /dev/null +++ b/packages/docs/public/vuemastery/background-bubbles-vuemastery.svg @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/docs/public/vuemastery/background-vuemastery.svg b/packages/docs/public/vuemastery/background-vuemastery.svg new file mode 100644 index 00000000..fdb8488e --- /dev/null +++ b/packages/docs/public/vuemastery/background-vuemastery.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/docs/public/vuemastery/lock-vuemastery.svg b/packages/docs/public/vuemastery/lock-vuemastery.svg new file mode 100644 index 00000000..c9583a1a --- /dev/null +++ b/packages/docs/public/vuemastery/lock-vuemastery.svg @@ -0,0 +1,230 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/docs/public/vuemastery/logo-vuemastery.svg b/packages/docs/public/vuemastery/logo-vuemastery.svg new file mode 100644 index 00000000..b4ce163d --- /dev/null +++ b/packages/docs/public/vuemastery/logo-vuemastery.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/docs/public/vuemastery/unlock-vuemastery.svg b/packages/docs/public/vuemastery/unlock-vuemastery.svg new file mode 100644 index 00000000..917b2bd2 --- /dev/null +++ b/packages/docs/public/vuemastery/unlock-vuemastery.svg @@ -0,0 +1,283 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/docs/public/vuemastery/vuemastery-white.svg b/packages/docs/public/vuemastery/vuemastery-white.svg new file mode 100644 index 00000000..8b3b9171 --- /dev/null +++ b/packages/docs/public/vuemastery/vuemastery-white.svg @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +