Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Update Free Weekend Vue School banner #1566

Merged
merged 6 commits into from Sep 30, 2022
Merged

Docs: Update Free Weekend Vue School banner #1566

merged 6 commits into from Sep 30, 2022

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.

None yet

2 participants