Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
117 changed files
with
857 additions
and
331 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+4.33 KB
website/.yarn/cache/merge-options-npm-1.0.1-f0426121e0-7e3d5d6588.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+4.6 KB
website/.yarn/cache/postcss-prefix-selector-npm-1.16.0-7a619aee07-8bdf10628e.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+4.47 KB
website/.yarn/cache/posthtml-parser-npm-0.2.1-0a04a85392-1111cced3e.zip
Binary file not shown.
Binary file added
BIN
+4.19 KB
website/.yarn/cache/posthtml-rename-id-npm-1.0.12-ffab81a750-5bfb88f906.zip
Binary file not shown.
Binary file added
BIN
+8.72 KB
website/.yarn/cache/posthtml-render-npm-1.4.0-a7b39109c3-68c5c85834.zip
Binary file not shown.
Binary file added
BIN
+3.98 KB
website/.yarn/cache/posthtml-svg-mode-npm-1.0.3-f4be582ef6-a9f88294dd.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.3 KB
website/.yarn/cache/strict-uri-encode-npm-1.1.0-a79c6f7f24-9466d371f7.zip
Binary file not shown.
Binary file added
BIN
+2.65 KB
website/.yarn/cache/supports-color-npm-2.0.0-22c0f0adbc-602538c581.zip
Binary file not shown.
Binary file added
BIN
+3.37 KB
website/.yarn/cache/supports-color-npm-3.2.3-117b06af49-56afc05fa8.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+26.2 KB
website/.yarn/cache/svg-baker-runtime-npm-1.4.7-fbb2e3215b-32fbb51209.zip
Binary file not shown.
Binary file added
BIN
+355 KB
website/.yarn/cache/svg-sprite-loader-npm-6.0.11-7e3e1e48d4-8ef822902d.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
exports.onCreateWebpackConfig = ( | ||
{ actions, loaders, getConfig }, | ||
options = {} | ||
) => { | ||
const prevConfig = getConfig(); | ||
|
||
const { rule, ...rest } = options; | ||
|
||
actions.replaceWebpackConfig({ | ||
...prevConfig, | ||
module: { | ||
...prevConfig.module, | ||
rules: [ | ||
...prevConfig.module.rules.map((item) => { | ||
const { test } = item; | ||
|
||
if ( | ||
test && | ||
test.toString() === "/\\.(ico|svg|jpg|jpeg|png|gif|webp)(\\?.*)?$/" | ||
) { | ||
return { | ||
...item, | ||
test: /\.(ico|jpg|jpeg|png|gif|webp)(\?.*)?$/, | ||
}; | ||
} | ||
|
||
return { ...item }; | ||
}), | ||
{ | ||
test: /\.svg$/, | ||
...rule, | ||
use: [ | ||
{ | ||
loader: require.resolve("svg-sprite-loader"), | ||
options: rest, | ||
}, | ||
], | ||
}, | ||
], | ||
}, | ||
}); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "gatsby-plugin-svg-sprite", | ||
"main": "gatsby-node.js" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
import React from "react"; | ||
import styled from "styled-components"; | ||
|
||
export const Article = styled.article` | ||
|
7 changes: 4 additions & 3 deletions
7
website/src/components/blog-article/blog-article-metadata.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.