We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e29b12 commit e8f3de2Copy full SHA for e8f3de2
docs/.vuepress/theme/Layout.vue
@@ -1,6 +1,5 @@
1
<template>
2
- <div class="main-container" :class="{ 'has-top-banner': showTopBanner }">
3
- <BannerTop v-if="showTopBanner" @close="closeBannerTop" />
+ <div class="main-container">
4
<ParentLayout>
5
<template #page-top>
6
<CarbonAds
@@ -65,22 +64,11 @@ export default {
65
64
components: {
66
ParentLayout,
67
CarbonAds,
68
- BuySellAds,
69
- BannerTop: () => import('./components/BannerTop.vue')
+ BuySellAds
70
},
71
data() {
72
return {
73
- sponsors,
74
- showTopBanner: false
75
- }
76
- },
77
- mounted() {
78
- this.showTopBanner = !localStorage.getItem('VS_BTS_BANNER_CLOSED')
79
80
- methods: {
81
- closeBannerTop() {
82
- this.showTopBanner = false
83
- localStorage.setItem('VS_BTS_BANNER_CLOSED', 1)
+ sponsors
84
}
85
86
0 commit comments