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

Small updates to next.gatsbyjs.org #8134

Merged
merged 4 commits into from
Sep 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions www/src/components/diagram.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const SegmentTitle = ({ children }) => (
css={{
display: `inline`,
background: colors.accent,
color: `#fff`,
color: colors.gray.copy,
borderRadius: presets.radius,
margin: `0 auto`,
position: `relative`,
Expand Down Expand Up @@ -163,7 +163,7 @@ const ItemDescription = ({ children }) => (
css={{
lineHeight: 1.2,
display: `block`,
color: colors.lilac,
color: colors.gatsby,
[presets.Hd]: {
fontSize: scale(-1 / 5).fontSize,
},
Expand Down
4 changes: 2 additions & 2 deletions www/src/components/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ const Navigation = ({ pathname }) => {
: {}),
}}
>
<Link to="/" css={styles.logoLink}>
<img src={logo} css={styles.logo} alt="" />
<Link to="/" css={styles.logoLink} aria-label="Go to homepage">
<img src={logo} css={styles.logo} alt="Gatsby logo" />
</Link>
<ul css={styles.navContainer}>
<NavItem linkTo="/docs/">Docs</NavItem>
Expand Down
3 changes: 2 additions & 1 deletion www/src/fonts/Webfonts/futurapt_book_macroman/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Fully installable fonts can be purchased at http://www.fontspring.com
*
* The fonts included in this stylesheet are subject to the End User License you purchased
* from Fontspring. The fonts are protected under domestic and international trademark and
* from Fontspring. The fonts are protected under domestic and international trademark and
* copyright law. You are prohibited from modifying, reverse engineering, duplicating, or
* distributing this font software.
*
Expand All @@ -24,6 +24,7 @@

@font-face {
font-family: "Futura PT";
font-display: swap;
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe ~200ms

src: url("./ftn45-webfont.woff2") format("woff2"),
url("./ftn45-webfont.woff") format("woff"),
url("./ftn45-webfont.ttf") format("truetype");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Fully installable fonts can be purchased at http://www.fontspring.com
*
* The fonts included in this stylesheet are subject to the End User License you purchased
* from Fontspring. The fonts are protected under domestic and international trademark and
* from Fontspring. The fonts are protected under domestic and international trademark and
* copyright law. You are prohibited from modifying, reverse engineering, duplicating, or
* distributing this font software.
*
Expand All @@ -24,6 +24,7 @@

@font-face {
font-family: "Futura PT";
font-display: swap;
src: url("ftn46-webfont.woff2") format("woff2"),
url("ftn46-webfont.woff") format("woff"),
url("ftn46-webfont.ttf") format("truetype");
Expand Down
3 changes: 2 additions & 1 deletion www/src/fonts/Webfonts/futurapt_demi_macroman/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Fully installable fonts can be purchased at http://www.fontspring.com
*
* The fonts included in this stylesheet are subject to the End User License you purchased
* from Fontspring. The fonts are protected under domestic and international trademark and
* from Fontspring. The fonts are protected under domestic and international trademark and
* copyright law. You are prohibited from modifying, reverse engineering, duplicating, or
* distributing this font software.
*
Expand All @@ -24,6 +24,7 @@

@font-face {
font-family: "Futura PT";
font-display: swap;
src: url("ftn65-webfont.woff2") format("woff2"),
url("ftn65-webfont.woff") format("woff"),
url("ftn65-webfont.ttf") format("truetype");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Fully installable fonts can be purchased at http://www.fontspring.com
*
* The fonts included in this stylesheet are subject to the End User License you purchased
* from Fontspring. The fonts are protected under domestic and international trademark and
* from Fontspring. The fonts are protected under domestic and international trademark and
* copyright law. You are prohibited from modifying, reverse engineering, duplicating, or
* distributing this font software.
*
Expand All @@ -24,6 +24,7 @@

@font-face {
font-family: "Futura PT";
font-display: swap;
src: url("ftn66-webfont.woff2") format("woff2"),
url("ftn66-webfont.woff") format("woff"),
url("ftn66-webfont.ttf") format("truetype");
Expand Down
4 changes: 4 additions & 0 deletions www/src/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from "react"
import { graphql } from "gatsby"
import Helmet from "react-helmet"
import Layout from "../components/layout"
import presets, { colors } from "../utils/presets"
import { rhythm, options } from "../utils/typography"
Expand All @@ -23,6 +24,9 @@ class IndexRoute extends React.Component {
const blogPosts = this.props.data.allMarkdownRemark
return (
<Layout location={this.props.location}>
<Helmet>
<meta name="Description" content="Blazing fast modern site generator for React. Go beyond static sites: build blogs, ecommerce sites, full-blown apps, and more with Gatsby." />
</Helmet>
<div css={{ position: `relative` }}>
<MastheadBg />
<div
Expand Down