File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,9 @@ export default {
91
91
}
92
92
},
93
93
mounted () {
94
- this .showTopBanner = ! localStorage .getItem (' VS_FW_22_BANNER_CLOSED' )
94
+ 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)
95
97
},
96
98
methods: {
97
99
closeBannerTop () {
Original file line number Diff line number Diff line change 12
12
<div class =" vs-core" >
13
13
<div class =" vs-slogan" >
14
14
<div class =" vs-slogan-title" >
15
- Get up to <strong >40% off </strong > your Vue School Subscription
15
+ Extended for <strong >48 hours! </strong >
16
16
</div >
17
17
<div class =" vs-slogan-subtitle" >
18
- Time Limited Offer
18
+ Get up to 40% off your Vue School Subscription
19
19
</div >
20
20
</div >
21
21
<div class =" vs-button" >
You can’t perform that action at this time.
0 commit comments