Skip to content

Update Free Weekend Vue School banner #2969

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

Merged
merged 2 commits into from
Oct 1, 2022
Merged

Update Free Weekend Vue School banner #2969

merged 2 commits into from
Oct 1, 2022

Conversation

nicodevs
Copy link
Contributor

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

The banner is closable and opens Vue School's site 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 end date. The copy, graphics and link of the banner depending on the current phase.

Here is the list of phases:

Free Weekend subscription (the current banner, no changes)
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 345 of common.js and setting different date values. Please check that each phase link works as expected.

@netlify
Copy link

netlify bot commented Sep 30, 2022

Deploy Preview for vuejs-docs-v2 ready!

Name Link
🔨 Latest commit d789128
🔍 Latest deploy log https://app.netlify.com/sites/vuejs-docs-v2/deploys/63371282d636d20008fb7a67
😎 Deploy Preview https://deploy-preview-2969--vuejs-docs-v2.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 16:32
@yyx990803 yyx990803 merged commit 19c7843 into vuejs:master Oct 1, 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