Skip to content

Add script to show the Free Weekend banner from Vue School #2274

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 1 commit into from
Mar 9, 2023
Merged

Add script to show the Free Weekend banner from Vue School #2274

merged 1 commit into from
Mar 9, 2023

Conversation

nicodevs
Copy link
Contributor

@nicodevs nicodevs commented Mar 7, 2023

This PR adds a banner fixed top banner to vuejs.org, to inform users about Vue School’s upcoming free weekend.

The banner opens Vue School's free weekend landing page in a new tab. The banner will not reappear if a user has closed it (a key is stored in localStorage).

This implementation uses an external script to render the banner. This file is hosted on the Vue School server. If you prefer to host the file on own your server, use this PR instead: #2275

For more info about how the script works, please check the documentation here: https://vueschool.io/affiliates/banner

Click here to see screenshots of the banner

@netlify
Copy link

netlify bot commented Mar 7, 2023

Deploy Preview for vuejs ready!

Name Link
🔨 Latest commit 6ffb009
🔍 Latest deploy log https://app.netlify.com/sites/vuejs/deploys/6407944b63f06c00087a00d7
😎 Deploy Preview https://deploy-preview-2274--vuejs.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 March 8, 2023 11:20
@yyx990803 yyx990803 merged commit b9e1f41 into vuejs:main Mar 9, 2023
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