mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-01-13 23:39:32 +01:00
Added Google Fonts support
This commit is contained in:
parent
69d2834bee
commit
9cf753b94b
@ -119,6 +119,12 @@ module.exports = {
|
|||||||
resolve: 'gatsby-plugin-google-analytics',
|
resolve: 'gatsby-plugin-google-analytics',
|
||||||
options: { trackingId: '' }
|
options: { trackingId: '' }
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
resolve: `gatsby-plugin-google-fonts`,
|
||||||
|
options: {
|
||||||
|
fonts: [`roboto\:400,400i,500,700`]
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
resolve: 'gatsby-plugin-sitemap',
|
resolve: 'gatsby-plugin-sitemap',
|
||||||
options: {
|
options: {
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
"react": "^15.6.1",
|
"react": "^15.6.1",
|
||||||
"react-helmet": "^5.2.0",
|
"react-helmet": "^5.2.0",
|
||||||
"react-disqus-comments": "^1.1.1",
|
"react-disqus-comments": "^1.1.1",
|
||||||
"typeface-roboto": "latest"
|
"gatsby-plugin-google-fonts": "latest"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^4.14.0",
|
"eslint": "^4.14.0",
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import Helmet from 'react-helmet';
|
import Helmet from 'react-helmet';
|
||||||
import 'typeface-roboto';
|
|
||||||
import '../assets/scss/init.scss';
|
import '../assets/scss/init.scss';
|
||||||
|
|
||||||
class Layout extends React.Component {
|
class Layout extends React.Component {
|
||||||
|
Loading…
Reference in New Issue
Block a user