Skip to content
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

[www] Gatsby/rebeccapurple banner #6161

Merged
merged 2 commits into from
Jun 26, 2018
Merged

Conversation

fk
Copy link
Contributor

@fk fk commented Jun 26, 2018

  • Reduce banner font-size.
  • Store banner height in presets.bannerHeight.
  • Reduce banner copy from „You're viewing the docs for Gatsby v2 beta. View the v1 docs instead.“ to „These are the docs for v2 beta. View the v1 docs instead.“ and drop the „instead“ for screens < presets.Mobile. This change makes the banner copy fit in one (instead of two) lines on screens with a maximum width of 320px.
  • Remove sidebar inset box-shadow.

image

image

* Reduce banner font-size.
* Store banner height in presets.bannerHeight.
* Reduce banner copy from „You're viewing the docs for Gatsby v2 beta. View the v1 docs instead.“ to „These are the docs for v2 beta. View the v1 docs instead.“ and drop the „instead“ for screens < presets.Mobile. This change makes the banner copy fit in one (instead of two) lines on screens with a maximum width of 320px.
* Remove sidebar inset box-shadow.
@fk
Copy link
Contributor Author

fk commented Jun 26, 2018

Ah, hold on—let me fix the banner overlapping the main navigation:

image

@fk
Copy link
Contributor Author

fk commented Jun 26, 2018

GTG:

image

@gatsbybot
Copy link
Collaborator

Deploy preview for gatsbygram ready!

Built with commit 59b0979

https://deploy-preview-6161--gatsbygram.netlify.com

@gatsbybot
Copy link
Collaborator

Deploy preview for using-drupal ready!

Built with commit 59b0979

https://deploy-preview-6161--using-drupal.netlify.com

@gatsbybot
Copy link
Collaborator

Deploy preview for using-drupal ready!

Built with commit c130283

https://deploy-preview-6161--using-drupal.netlify.com

@gatsbybot
Copy link
Collaborator

Deploy preview for gatsbygram ready!

Built with commit c130283

https://deploy-preview-6161--gatsbygram.netlify.com

@fk
Copy link
Contributor Author

fk commented Jun 26, 2018

PS: This PR is powered by the 90s: https://www.youtube.com/watch?v=BWTJ2st1PpQ :-D

Copy link
Contributor

@m-allanson m-allanson left a comment

Choose a reason for hiding this comment

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

Much nicer, thanks :) I like the homepage colour change.

@m-allanson m-allanson merged commit 3f35009 into gatsbyjs:master Jun 26, 2018
@fk fk deleted the topics/www-banner branch June 28, 2018 01:49
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.

3 participants