Skip to content

Commit a02bab0

Browse files
nicodevsnaokie
authored andcommitted
Remove Vue School's Black Friday banner (#1367)
1 parent 4eaa31d commit a02bab0

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/.vuepress/theme/layouts/Layout.vue

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,16 +125,9 @@ export default {
125125
this.$router.afterEach(() => {
126126
this.isSidebarOpen = false
127127
})
128-
129-
this.showTopBanner = !localStorage.getItem('VS_BF21_BANNER_CLOSED')
130128
},
131129
132130
methods: {
133-
closeBannerTop () {
134-
this.showTopBanner = false
135-
localStorage.setItem('VS_BF21_BANNER_CLOSED', 1)
136-
},
137-
138131
toggleSidebar(to) {
139132
this.isSidebarOpen = typeof to === 'boolean' ? to : !this.isSidebarOpen
140133
this.$emit('toggle-sidebar', this.isSidebarOpen)

0 commit comments

Comments
 (0)