We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14f96d3 commit ecd2002Copy full SHA for ecd2002
docs/.vuepress/theme/Layout.vue
@@ -91,7 +91,9 @@ export default {
91
}
92
},
93
mounted () {
94
- this.showTopBanner = !localStorage.getItem('VS_FW_22_BANNER_CLOSED')
+ const now = new Date()
95
+ const end = new Date('2022-05-04T00:00:00+02:00')
96
+ this.showTopBanner = !localStorage.getItem('VS_FW_22_BANNER_CLOSED') && (now < end)
97
98
methods: {
99
closeBannerTop () {
docs/.vuepress/theme/components/VueSchool/BannerTop.vue
@@ -12,10 +12,10 @@
12
<div class="vs-core">
13
<div class="vs-slogan">
14
<div class="vs-slogan-title">
15
- Get up to <strong>40% off</strong> your Vue School Subscription
+ Extended for <strong>48 hours!</strong>
16
</div>
17
<div class="vs-slogan-subtitle">
18
- Time Limited Offer
+ Get up to 40% off your Vue School Subscription
19
20
21
<div class="vs-button">
0 commit comments