Skip to content

Commit

Permalink
Docs: Remove Vue School Summer Sale banner (#3582)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicodevs committed Jun 26, 2021
1 parent 8aaf0e6 commit aa13243
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 51 deletions.
7 changes: 0 additions & 7 deletions docs/.vuepress/public/images/vueschool/close.svg

This file was deleted.

Binary file not shown.
13 changes: 0 additions & 13 deletions docs/.vuepress/public/images/vueschool/vs-iso.svg

This file was deleted.

16 changes: 0 additions & 16 deletions docs/.vuepress/public/images/vueschool/vs-logo.svg

This file was deleted.

16 changes: 1 addition & 15 deletions docs/.vuepress/theme/Layout.vue
Expand Up @@ -3,10 +3,6 @@
class="main-container"
:class="{ 'has-top-banner': showTopBanner }"
>
<BannerTop
v-if="showTopBanner"
@close="closeBannerTop"
/>
<ParentLayout>
<template #page-top>
<CarbonAds
Expand Down Expand Up @@ -59,23 +55,13 @@ export default {
components: {
ParentLayout,
CarbonAds,
BuySellAds,
BannerTop: () => import('./components/BannerTop.vue')
BuySellAds
},
data () {
return {
sponsors,
showTopBanner: false
}
},
mounted () {
this.showTopBanner = !localStorage.getItem('VS_SUMMER_BANNER_CLOSED')
},
methods: {
closeBannerTop () {
this.showTopBanner = false
localStorage.setItem('VS_SUMMER_BANNER_CLOSED', 1)
}
}
}
</script>
Expand Down

0 comments on commit aa13243

Please sign in to comment.