From 0f446e873d16b6e081649e8dc4fefac10826479c Mon Sep 17 00:00:00 2001 From: Mike Allanson Date: Thu, 13 Sep 2018 23:26:48 +0100 Subject: [PATCH 1/4] Add meta description --- www/src/pages/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/www/src/pages/index.js b/www/src/pages/index.js index 864d3e6c86af4..f711572937df9 100644 --- a/www/src/pages/index.js +++ b/www/src/pages/index.js @@ -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" @@ -23,6 +24,9 @@ class IndexRoute extends React.Component { const blogPosts = this.props.data.allMarkdownRemark return ( + + +
Date: Thu, 13 Sep 2018 23:27:16 +0100 Subject: [PATCH 2/4] Show text earlier --- www/src/fonts/Webfonts/futurapt_book_macroman/stylesheet.css | 3 ++- .../fonts/Webfonts/futurapt_bookitalic_macroman/stylesheet.css | 3 ++- www/src/fonts/Webfonts/futurapt_demi_macroman/stylesheet.css | 3 ++- .../fonts/Webfonts/futurapt_demiitalic_macroman/stylesheet.css | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/www/src/fonts/Webfonts/futurapt_book_macroman/stylesheet.css b/www/src/fonts/Webfonts/futurapt_book_macroman/stylesheet.css index c49e28a1eeffd..4ccfc3fa19666 100644 --- a/www/src/fonts/Webfonts/futurapt_book_macroman/stylesheet.css +++ b/www/src/fonts/Webfonts/futurapt_book_macroman/stylesheet.css @@ -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. * @@ -24,6 +24,7 @@ @font-face { font-family: "Futura PT"; + font-display: swap; src: url("./ftn45-webfont.woff2") format("woff2"), url("./ftn45-webfont.woff") format("woff"), url("./ftn45-webfont.ttf") format("truetype"); diff --git a/www/src/fonts/Webfonts/futurapt_bookitalic_macroman/stylesheet.css b/www/src/fonts/Webfonts/futurapt_bookitalic_macroman/stylesheet.css index 495a829e34b51..0af1fa33e3357 100644 --- a/www/src/fonts/Webfonts/futurapt_bookitalic_macroman/stylesheet.css +++ b/www/src/fonts/Webfonts/futurapt_bookitalic_macroman/stylesheet.css @@ -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. * @@ -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"); diff --git a/www/src/fonts/Webfonts/futurapt_demi_macroman/stylesheet.css b/www/src/fonts/Webfonts/futurapt_demi_macroman/stylesheet.css index 3b00be3f1272e..219c74351c9dc 100644 --- a/www/src/fonts/Webfonts/futurapt_demi_macroman/stylesheet.css +++ b/www/src/fonts/Webfonts/futurapt_demi_macroman/stylesheet.css @@ -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. * @@ -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"); diff --git a/www/src/fonts/Webfonts/futurapt_demiitalic_macroman/stylesheet.css b/www/src/fonts/Webfonts/futurapt_demiitalic_macroman/stylesheet.css index 7bbb1e16a3be0..762e9070960ff 100644 --- a/www/src/fonts/Webfonts/futurapt_demiitalic_macroman/stylesheet.css +++ b/www/src/fonts/Webfonts/futurapt_demiitalic_macroman/stylesheet.css @@ -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. * @@ -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"); From 7cf68bc77181e0e6a6633216956f4dbb1a6fae06 Mon Sep 17 00:00:00 2001 From: Mike Allanson Date: Thu, 13 Sep 2018 23:27:31 +0100 Subject: [PATCH 3/4] Label homepage link --- www/src/components/navigation.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/src/components/navigation.js b/www/src/components/navigation.js index 6be80112aa9e0..991dbf8fe6af6 100644 --- a/www/src/components/navigation.js +++ b/www/src/components/navigation.js @@ -125,8 +125,8 @@ const Navigation = ({ pathname }) => { : {}), }} > - - + + Gatsby logo
    Docs From e7b8f0ad58711c3bb528009c0369b67686ce2bf5 Mon Sep 17 00:00:00 2001 From: Mike Allanson Date: Thu, 13 Sep 2018 23:27:47 +0100 Subject: [PATCH 4/4] Increase contrast in diagram --- www/src/components/diagram.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/src/components/diagram.js b/www/src/components/diagram.js index 81cb06ee0b991..fe4702531e563 100644 --- a/www/src/components/diagram.js +++ b/www/src/components/diagram.js @@ -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`, @@ -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, },