From 74ba633c666b71ea26e590693db21bcec501b222 Mon Sep 17 00:00:00 2001 From: Israel Date: Sun, 24 Dec 2023 10:05:49 +0000 Subject: [PATCH] docs: Add vuemastery banner (#2535) * feat: add vuemastery banner * Update packages/docs/.vitepress/theme/components/VueMasteryBanner.vue --------- Co-authored-by: Eduardo San Martin Morote --- .../theme/components/VueMasteryBanner.vue | 291 ++++++++++++++++++ packages/docs/.vitepress/theme/index.ts | 2 + .../background-bubbles-vuemastery.svg | 109 +++++++ .../public/vuemastery/lock-vuemastery.svg | 230 ++++++++++++++ .../public/vuemastery/unlock-vuemastery.svg | 283 +++++++++++++++++ .../public/vuemastery/vuemastery-white.svg | 31 ++ 6 files changed, 946 insertions(+) create mode 100644 packages/docs/.vitepress/theme/components/VueMasteryBanner.vue create mode 100644 packages/docs/public/vuemastery/background-bubbles-vuemastery.svg create mode 100644 packages/docs/public/vuemastery/lock-vuemastery.svg create mode 100644 packages/docs/public/vuemastery/unlock-vuemastery.svg create mode 100644 packages/docs/public/vuemastery/vuemastery-white.svg diff --git a/packages/docs/.vitepress/theme/components/VueMasteryBanner.vue b/packages/docs/.vitepress/theme/components/VueMasteryBanner.vue new file mode 100644 index 0000000000..e05c5d9c3b --- /dev/null +++ b/packages/docs/.vitepress/theme/components/VueMasteryBanner.vue @@ -0,0 +1,291 @@ + + + + + + diff --git a/packages/docs/.vitepress/theme/index.ts b/packages/docs/.vitepress/theme/index.ts index 0055a4deb0..7076e68374 100644 --- a/packages/docs/.vitepress/theme/index.ts +++ b/packages/docs/.vitepress/theme/index.ts @@ -7,6 +7,7 @@ import './styles/vars.css' import './styles/playground-links.css' import VueSchoolLink from './components/VueSchoolLink.vue' import VueMasteryLogoLink from './components/VueMasteryLogoLink.vue' +import VueMasteryBanner from './components/VueMasteryBanner.vue' const theme: Theme = { ...DefaultTheme, @@ -14,6 +15,7 @@ const theme: Theme = { return h(DefaultTheme.Layout, null, { // 'home-features-after': () => h(HomeSponsors), 'aside-ads-before': () => h(AsideSponsors), + 'layout-top': () => h(VueMasteryBanner), }) }, 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 0000000000..8f5ec7e888 --- /dev/null +++ b/packages/docs/public/vuemastery/background-bubbles-vuemastery.svg @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/docs/public/vuemastery/lock-vuemastery.svg b/packages/docs/public/vuemastery/lock-vuemastery.svg new file mode 100644 index 0000000000..c9583a1a0b --- /dev/null +++ b/packages/docs/public/vuemastery/lock-vuemastery.svg @@ -0,0 +1,230 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/docs/public/vuemastery/unlock-vuemastery.svg b/packages/docs/public/vuemastery/unlock-vuemastery.svg new file mode 100644 index 0000000000..917b2bd2ae --- /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 0000000000..8b3b9171b1 --- /dev/null +++ b/packages/docs/public/vuemastery/vuemastery-white.svg @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +