Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Remove Vue School Summer Sale banner #3582

Merged
merged 2 commits into from Jun 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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