Skip to content

vueschool free-weekend banner #952

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
Mar 22, 2021
Merged

Conversation

rahaug
Copy link
Contributor

@rahaug rahaug commented Mar 18, 2021

This PR adds a banner on top of vuejs.org to inform users about Vue School’s free-weekend promotion.

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

We’ve based the promotion on a previously used banner.

Click here to see screenshots of the banner

PR for V2

@yyx990803
Copy link
Member

After dismissing the banner, it still shows up for a split second and then disappear on subsequent reloads (maybe due to late CSS load). We should make it hidden by default to prevent that.

@rahaug
Copy link
Contributor Author

rahaug commented Mar 19, 2021

Thanks for the feedback @yyx990803!

I am not able to reproduce the issue, but we've changed the logic so it's hidden by default as suggested.

Please let me know if this isn't sufficient.

@yyx990803 yyx990803 merged commit fddab34 into vuejs:master Mar 22, 2021
@rahaug rahaug mentioned this pull request Mar 26, 2021
@rahaug rahaug deleted the vueschool-banner branch March 30, 2021 19:33
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