From 5d793e3bd19fdf41158052984ae9d17950c9d31c Mon Sep 17 00:00:00 2001 From: Rolf Haug Date: Fri, 26 Mar 2021 17:36:28 +0100 Subject: [PATCH] docs: update vueschool banner --- .../public/images/vueschool/learn-more.svg | 9 + .../vueschool/vs-banner-bg-desktop-2.svg | 214 ++++++++++++++++++ .../vueschool/vs-banner-bg-mobile-2.svg | 14 ++ .../vueschool/vs-banner-bg-tablet-2.svg | 196 ++++++++++++++++ docs/.vuepress/theme/Layout.vue | 4 +- docs/.vuepress/theme/components/BannerTop.vue | 23 +- 6 files changed, 448 insertions(+), 12 deletions(-) create mode 100644 docs/.vuepress/public/images/vueschool/learn-more.svg create mode 100644 docs/.vuepress/public/images/vueschool/vs-banner-bg-desktop-2.svg create mode 100644 docs/.vuepress/public/images/vueschool/vs-banner-bg-mobile-2.svg create mode 100644 docs/.vuepress/public/images/vueschool/vs-banner-bg-tablet-2.svg diff --git a/docs/.vuepress/public/images/vueschool/learn-more.svg b/docs/.vuepress/public/images/vueschool/learn-more.svg new file mode 100644 index 000000000..58cc3f56a --- /dev/null +++ b/docs/.vuepress/public/images/vueschool/learn-more.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/docs/.vuepress/public/images/vueschool/vs-banner-bg-desktop-2.svg b/docs/.vuepress/public/images/vueschool/vs-banner-bg-desktop-2.svg new file mode 100644 index 000000000..bf8503e69 --- /dev/null +++ b/docs/.vuepress/public/images/vueschool/vs-banner-bg-desktop-2.svg @@ -0,0 +1,214 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/.vuepress/public/images/vueschool/vs-banner-bg-mobile-2.svg b/docs/.vuepress/public/images/vueschool/vs-banner-bg-mobile-2.svg new file mode 100644 index 000000000..74cffc629 --- /dev/null +++ b/docs/.vuepress/public/images/vueschool/vs-banner-bg-mobile-2.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/docs/.vuepress/public/images/vueschool/vs-banner-bg-tablet-2.svg b/docs/.vuepress/public/images/vueschool/vs-banner-bg-tablet-2.svg new file mode 100644 index 000000000..8fe06eae8 --- /dev/null +++ b/docs/.vuepress/public/images/vueschool/vs-banner-bg-tablet-2.svg @@ -0,0 +1,196 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/.vuepress/theme/Layout.vue b/docs/.vuepress/theme/Layout.vue index b0a22d223..4a48b64dc 100644 --- a/docs/.vuepress/theme/Layout.vue +++ b/docs/.vuepress/theme/Layout.vue @@ -145,13 +145,13 @@ export default { this.isSidebarOpen = false }) - this.showTopBanner = !localStorage.getItem('VS_BANNER_CLOSED') + this.showTopBanner = !localStorage.getItem('VS_OFFER_BANNER_CLOSED') }, methods: { closeBannerTop () { this.showTopBanner = false - localStorage.setItem('VS_BANNER_CLOSED', 1) + localStorage.setItem('VS_OFFER_BANNER_CLOSED', 1) }, toggleSidebar (to) { diff --git a/docs/.vuepress/theme/components/BannerTop.vue b/docs/.vuepress/theme/components/BannerTop.vue index 6661db478..b717670d6 100644 --- a/docs/.vuepress/theme/components/BannerTop.vue +++ b/docs/.vuepress/theme/components/BannerTop.vue @@ -1,5 +1,5 @@ +