File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,9 @@ export default {
9191 }
9292 },
9393 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)
9597 },
9698 methods: {
9799 closeBannerTop () {
Original file line number Diff line number Diff line change 1212 <div class =" vs-core" >
1313 <div class =" vs-slogan" >
1414 <div class =" vs-slogan-title" >
15- Get up to <strong >40% off </strong > your Vue School Subscription
15+ Extended for <strong >48 hours! </strong >
1616 </div >
1717 <div class =" vs-slogan-subtitle" >
18- Time Limited Offer
18+ Get up to 40% off your Vue School Subscription
1919 </div >
2020 </div >
2121 <div class =" vs-button" >
You can’t perform that action at this time.
0 commit comments