From 980ab445f20ac04eebf25e1ef30fffe0828b2cf1 Mon Sep 17 00:00:00 2001 From: Nico Devs Date: Mon, 8 Nov 2021 16:25:38 -0300 Subject: [PATCH 1/2] Add Vue School Black Friday 21 banners --- src/.vuepress/config.js | 4 +- ...eschool_blackfriday_background_desktop.svg | 200 ++++++++++++++++++ ...ueschool_blackfriday_background_tablet.svg | 200 ++++++++++++++++++ .../vueschool/vueschool_blackfriday_logo.svg | 7 + .../images/vueschool/vueschool_close.svg | 7 + src/.vuepress/theme/components/BannerTop.vue | 139 +++++------- src/.vuepress/theme/layouts/Layout.vue | 7 +- 7 files changed, 478 insertions(+), 86 deletions(-) create mode 100644 src/.vuepress/public/images/vueschool/vueschool_blackfriday_background_desktop.svg create mode 100644 src/.vuepress/public/images/vueschool/vueschool_blackfriday_background_tablet.svg create mode 100644 src/.vuepress/public/images/vueschool/vueschool_blackfriday_logo.svg create mode 100644 src/.vuepress/public/images/vueschool/vueschool_close.svg diff --git a/src/.vuepress/config.js b/src/.vuepress/config.js index 5fbe7c6d69..c86fe52d07 100644 --- a/src/.vuepress/config.js +++ b/src/.vuepress/config.js @@ -274,7 +274,7 @@ module.exports = { 'link', { href: - 'https://fonts.googleapis.com/css?family=Inter:300,400,500,600|Open+Sans:400,600;display=swap', + 'https://fonts.googleapis.com/css?family=Inter:300,400,500,600|Archivo:400,600|Open+Sans:400,600;display=swap', rel: 'stylesheet' } ], @@ -510,7 +510,7 @@ module.exports = { custom: 'CKYD62QM', placement: 'vuejsorg' }, - topBanner: false + topBanner: true }, plugins: [ [ diff --git a/src/.vuepress/public/images/vueschool/vueschool_blackfriday_background_desktop.svg b/src/.vuepress/public/images/vueschool/vueschool_blackfriday_background_desktop.svg new file mode 100644 index 0000000000..b7327da38d --- /dev/null +++ b/src/.vuepress/public/images/vueschool/vueschool_blackfriday_background_desktop.svg @@ -0,0 +1,200 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/.vuepress/public/images/vueschool/vueschool_blackfriday_background_tablet.svg b/src/.vuepress/public/images/vueschool/vueschool_blackfriday_background_tablet.svg new file mode 100644 index 0000000000..022da2d0a1 --- /dev/null +++ b/src/.vuepress/public/images/vueschool/vueschool_blackfriday_background_tablet.svg @@ -0,0 +1,200 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/.vuepress/public/images/vueschool/vueschool_blackfriday_logo.svg b/src/.vuepress/public/images/vueschool/vueschool_blackfriday_logo.svg new file mode 100644 index 0000000000..351c55977e --- /dev/null +++ b/src/.vuepress/public/images/vueschool/vueschool_blackfriday_logo.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/.vuepress/public/images/vueschool/vueschool_close.svg b/src/.vuepress/public/images/vueschool/vueschool_close.svg new file mode 100644 index 0000000000..0e2f31fcd4 --- /dev/null +++ b/src/.vuepress/public/images/vueschool/vueschool_close.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/src/.vuepress/theme/components/BannerTop.vue b/src/.vuepress/theme/components/BannerTop.vue index 6e18821d4a..a333130c64 100644 --- a/src/.vuepress/theme/components/BannerTop.vue +++ b/src/.vuepress/theme/components/BannerTop.vue @@ -1,27 +1,23 @@ @@ -29,12 +25,12 @@ diff --git a/src/.vuepress/theme/components/BannerTop.vue b/src/.vuepress/theme/components/BannerTop.vue index a333130c64..db0688dbda 100644 --- a/src/.vuepress/theme/components/BannerTop.vue +++ b/src/.vuepress/theme/components/BannerTop.vue @@ -1,5 +1,6 @@ + +