diff --git a/gatsby-browser.js b/gatsby-browser.js index eb4a188..8ecfcfe 100644 --- a/gatsby-browser.js +++ b/gatsby-browser.js @@ -1 +1,2 @@ +import 'typeface-montserrat'; import './src/index.css'; diff --git a/gatsby-config.js b/gatsby-config.js index 378764e..2628055 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -91,17 +91,6 @@ module.exports = { component: require.resolve(`./src/layout/Index.tsx`), }, }, - { - resolve: `gatsby-plugin-prefetch-google-fonts`, - options: { - fonts: [ - { - family: `Lato`, - variants: ['300', '400', `700`, `900`], - }, - ], - }, - }, `gatsby-transformer-sharp`, `gatsby-plugin-sharp`, { diff --git a/package-lock.json b/package-lock.json index dc0f48e..735525e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24521,6 +24521,11 @@ "is-typedarray": "^1.0.0" } }, + "typeface-montserrat": { + "version": "0.0.75", + "resolved": "https://registry.npmjs.org/typeface-montserrat/-/typeface-montserrat-0.0.75.tgz", + "integrity": "sha512-8ski20t3hdwu2T85pVfjK4jsDbwW8yWzd+LAKxYEmu+JVLVlB7G2yfmdKZz06pUwYCLVFvHvup+NYYulHDpE+w==" + }, "typescript": { "version": "3.9.7", "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.7.tgz", diff --git a/package.json b/package.json index 42125bc..c0e2317 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "react-helmet": "^6.1.0", "react-instantsearch-dom": "^6.7.0", "react-toastify": "^6.0.8", + "typeface-montserrat": "0.0.75", "yup": "^0.29.3" }, "devDependencies": { diff --git a/src/index.css b/src/index.css index 0ee219a..8c0ff66 100644 --- a/src/index.css +++ b/src/index.css @@ -3,5 +3,5 @@ @tailwind utilities; body { - font-family: 'Lato', sans-serif; + font-family: 'Montserrat', sans-serif; }