Skip to content

Conversation

@nicodevs
Copy link
Contributor

@nicodevs nicodevs commented Sep 29, 2022

This PR updates the top banner of router.vuejs.org to inform users about Vue School’s Free Weekend promotion.

The banner is closable and opens Vue School's Summer promo page in a new tab. The banner will not reappear if a user has closed it (stored in localStorage).

The banner has different phases, each with an expiration date. The copy, graphics and link of the banner depending on the current phase. When the last phase ends, the banner is no longer displayed.

Here is the list of phases:

Free Weekend subscription (the current banner)
Ends 2022-09-30T23:59:59+02:00
Links to https://vueschool.io/free-weekend with UTMs
Screenshots

Free Weekend now live
Ends 2022-10-02T23:59:59+02:00
Links to https://vueschool.io/free-weekend with UTMs
Screenshots

Special Offer
Ends 2022-10-04T23:59:59+02:00
Links to https://vueschool.io/sales/levelup2022 with UTMs
Screenshots

Special Offer Extended
Ends 2022-10-06T23:59:59+02:00
Links to https://vueschool.io/sales/levelup2022 with UTMs
Screenshots

For testing: You can emulate each phase by editing line 104 of BannerTop.vue and setting different date values. Please check that each phase link works as expected.

@netlify
Copy link

netlify bot commented Sep 29, 2022

Deploy Preview for vue-router ready!

Name Link
🔨 Latest commit 576df12
🔍 Latest deploy log https://app.netlify.com/sites/vue-router/deploys/6336ef4f9e1aa00008ab635c
😎 Deploy Preview https://deploy-preview-1566--vue-router.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@nicodevs nicodevs marked this pull request as ready for review September 30, 2022 15:29
@posva posva merged commit 3a939c9 into vuejs:main Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants