Skip to content

Commit

Permalink
Merge pull request #7 from rgiese/local-deps-only
Browse files Browse the repository at this point in the history
Remove dependencies on external assets, domains
  • Loading branch information
rgiese committed Mar 16, 2019
2 parents a744599 + c293dbe commit 2a126f0
Show file tree
Hide file tree
Showing 12 changed files with 514 additions and 1,117 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -9,6 +9,9 @@ Website for GrumpyCorp Creative Industries (via Gatsby).
## Icons
See [The Noun Project](https://thenounproject.com/).

## Fonts
The GrumpyCorp logo text is set in Clone Rounded Latin (Medium weight) from TypeKit.

## Links
- [Gatsby](https://www.gatsbyjs.org)
- [TypeScript guide](http://2ality.com/2018/04/type-notation-typescript.html)
Expand Down
18 changes: 11 additions & 7 deletions gatsby-config.js
Expand Up @@ -19,14 +19,18 @@ module.exports = {

// Typefaces
{
resolve: `gatsby-plugin-web-font-loader`,
resolve: `gatsby-plugin-prefetch-google-fonts`,
options: {
google: {
families: [`Noto Serif`, `Noto Sans`],
},
typekit: {
id: `cfg7ddl`,
},
fonts: [
{
family: `Noto Serif`,
subsets: [`latin`],
},
{
family: `Noto Sans`,
subsets: [`latin`],
},
],
},
},

Expand Down
4 changes: 2 additions & 2 deletions gatsby-ssr.js
Expand Up @@ -3,9 +3,9 @@ import React from "react";
function getAnalyticsCode() {
return (
<React.Fragment key="simpleanalytics">
<script async defer src="https://cdn.simpleanalytics.io/hello.js" />
<script async defer src="https://sa.grumpycorp.com/hello.js" />
<noscript>
<img src="https://api.simpleanalytics.io/hello.gif" alt="" />
<img src="https://sa.grumpycorp.com/hello.gif" alt="" />
</noscript>
</React.Fragment>
);
Expand Down

0 comments on commit 2a126f0

Please sign in to comment.