Skip to content

Conversation

pieer
Copy link
Contributor

@pieer pieer commented Feb 13, 2019

In preparation for Vue Mastery Free Weekend announcement on Friday here is a pull request that:

  • Add a banner at the top of the site vue.org
  • Redirect user to vue mastery in a new tab on click
  • The banner disappear after scroll to only show the static nav and the content
  • Let the user remove the banner
  • The banner won’t show up again after the user clicked on the close button (saved in local storage)
  • Keep the usual mobile behaviour with static header
  • Tested on Chrome, Safari, and firefox

Copy link
Contributor

@chrisvfritz chrisvfritz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The X button doesn't appear to work currently - it opens the page rather than closing the banner for me in Chrome.

@yyx990803
Copy link
Member

LGTM. @chrisvfritz you can merge after you approve the change.

@chrisvfritz chrisvfritz merged commit 23224fd into vuejs:master Feb 15, 2019
NataliaTepluhina pushed a commit to NataliaTepluhina/vuejs.org that referenced this pull request Feb 25, 2019
NataliaTepluhina added a commit that referenced this pull request Feb 25, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Revert "Vue Mastery Free Weekend announcement (#1997)"
phanan pushed a commit to phanan-forks/vuejs.org that referenced this pull request Mar 14, 2019
phanan pushed a commit to phanan-forks/vuejs.org that referenced this pull request Mar 20, 2019
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

3 participants