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 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" >
Original file line number Diff line number Diff line change @@ -73,7 +73,9 @@ export default {
7373 }
7474 },
7575 mounted () {
76- this .showTopBanner = ! localStorage .getItem (' VS_FW_22' )
76+ const now = new Date ()
77+ const end = new Date (' 2022-05-04T00:00:00+02:00' )
78+ this .showTopBanner = ! localStorage .getItem (' VS_FW_22' ) && (now < end)
7779 },
7880 methods: {
7981 closeBannerTop () {
You can’t perform that action at this time.
0 commit comments