forked from gatsbyjs/gatsby
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[www] Add "Used by" block to homepage masthead (gatsbyjs#1707)
* This adds the "used by" block to the masthead as originally designed by @SachaG. On small screens said block is displayed below the homepage main content. For now the implementation drops the lighter of the two shapes in the right part of the design, but we can bring that back for bigger screens. This PR currently also implements Futura PT 700 for the homepage masthead claim. This currently happens via Typekit until we decide if it's worth buying the additional weight or not. It's relatively easy to revert this to get this PR through though. Along the way: * remove obsolete presets.purple; use preset.brand * remove obsolete presets.brandDark; use preset.brand * add presets for animation curve and speed * fix padding of last "social link" in main navigation * reduce CtaButton inner whitespace * Remove obsolete breakpoints * Prevent logos displaying on bright masthead background for max-height: 650px screens * Remove Futura PT 700/Heavy As discussed with Kyle via Discord. * Bring back Futura for "Used by" * Unstick masthead background * Almost there ✌️ * Show "Used by" in masthead for Phablet and up * Social links: right-aligned for Phablet and up, fix icon alignment, add title attribute * Tidy: don't use color keyword, lowercase CSS class names (analog to Kyle's .main-body) Still missing some love for "Used by on small screens, both on when displayed below the main content as well as on Phablet.
- Loading branch information
1 parent
e5d6656
commit b8183f6
Showing
12 changed files
with
487 additions
and
299 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.