Skip to content

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 script to render the banner. This script was originally hosted on Vue School website, but has been copied to this codebase to minimize external dependencies. If you prefer the external script, use this PR: #2274

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

If you prefer to use the external script, hosted in Vue School, use this PR.

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 d0fc383
🔍 Latest deploy log https://app.netlify.com/sites/vuejs/deploys/640799924f38b40008a7d1d3
😎 Deploy Preview https://deploy-preview-2275--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.

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