Merge pull request 'updates/gatsby' (#7) from updates/gatsby into master

Reviewed-on: #7
This commit is contained in:
Rick van Lieshout 2023-03-26 23:43:00 +02:00
commit 99d42b8de4
25 changed files with 6763 additions and 6401 deletions

View File

@ -1,5 +1,8 @@
{ {
"cSpell.words": [ "cSpell.words": [
"disqus",
"fontawesome",
"fortawesome",
"frontmatter", "frontmatter",
"slsw" "slsw"
], ],

View File

@ -2,6 +2,8 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
### [1.2.1](https://github.com/mastermindzh/rickvanlieshout.com/compare/v1.2.0...v1.2.1) (2023-03-26)
## [1.2.0](https://github.com/mastermindzh/rickvanlieshout.com/compare/v1.1.0...v1.2.0) (2023-02-14) ## [1.2.0](https://github.com/mastermindzh/rickvanlieshout.com/compare/v1.1.0...v1.2.0) (2023-02-14)

View File

@ -66,7 +66,7 @@ Some of these have (official) certificates, some don't, but all have brought val
- Hiring & interview training ([icm.nl](https://www.icm.nl/opleidingen-en-trainingen/hrm/selectiegesprekken-voeren/)) - Hiring & interview training ([icm.nl](https://www.icm.nl/opleidingen-en-trainingen/hrm/selectiegesprekken-voeren/))
- Conversation techniques & de-escalation ([TIJDwinst.com](https://gesprekstechnieken.com/cursus-gesprekstechnieken/)](<https://gesprekstechnieken.com/cursus-gesprekstechnieken/>)). - Conversation techniques & de-escalation ([TIJDwinst.com](https://gesprekstechnieken.com/cursus-gesprekstechnieken/)](<https://gesprekstechnieken.com/cursus-gesprekstechnieken/>)).
- Kubernetes - Kubernetes (NobleProg Certification Kubernetes on Azure (AKS), 26 August 2019 - 27 August 2019)
- SEEBURGER b2b integration - SEEBURGER b2b integration
## Projects ## Projects

View File

@ -62,29 +62,27 @@ export default {
guid: site.siteMetadata.url + node?.fields?.slug, guid: site.siteMetadata.url + node?.fields?.slug,
custom_elements: [{ "content:encoded": node.html }], custom_elements: [{ "content:encoded": node.html }],
})), })),
query: ` query: `{
{ allMarkdownRemark(
allMarkdownRemark( limit: 1000
limit: 1000, sort: {frontmatter: {date: DESC}}
sort: { order: DESC, fields: [frontmatter___date] }, filter: {frontmatter: {template: {eq: "post"}, draft: {ne: true}}}
filter: { frontmatter: { template: { eq: "post" }, draft: { ne: true } } } ) {
) { edges {
edges { node {
node { html
html fields {
fields { slug
slug }
} frontmatter {
frontmatter { date
date title
title description
description
}
} }
} }
} }
} }
`, }`,
output: "/rss.xml", output: "/rss.xml",
title: config.title, title: config.title,
}, },
@ -191,6 +189,13 @@ export default {
}, },
}, },
}, },
{
resolve: "gatsby-plugin-react-helmet-canonical-urls",
options: {
siteUrl: config.url,
stripQueryString: true,
},
},
"gatsby-plugin-image", "gatsby-plugin-image",
"gatsby-plugin-catch-links", "gatsby-plugin-catch-links",
"gatsby-plugin-react-helmet", "gatsby-plugin-react-helmet",

View File

@ -13,12 +13,10 @@ const categoriesQuery = async (graphql: CreatePagesArgs["graphql"]) => {
const result = await graphql<CategoriesQueryResult>(` const result = await graphql<CategoriesQueryResult>(`
{ {
allMarkdownRemark( allMarkdownRemark(
filter: { filter: { frontmatter: { template: { eq: "post" }, draft: { ne: true } } }
frontmatter: { template: { eq: "post" }, draft: { ne: true } } sort: { frontmatter: { date: DESC } }
}
sort: { order: DESC, fields: [frontmatter___date] }
) { ) {
group(field: frontmatter___category) { group(field: { frontmatter: { category: SELECT } }) {
fieldValue fieldValue
totalCount totalCount
} }

View File

@ -13,11 +13,9 @@ const tagsQuery = async (graphql: CreatePagesArgs["graphql"]) => {
const result = await graphql<TagsQueryResult>(` const result = await graphql<TagsQueryResult>(`
{ {
allMarkdownRemark( allMarkdownRemark(
filter: { filter: { frontmatter: { template: { eq: "post" }, draft: { ne: true } } }
frontmatter: { template: { eq: "post" }, draft: { ne: true } }
}
) { ) {
group(field: frontmatter___tags) { group(field: { frontmatter: { tags: SELECT } }) {
fieldValue fieldValue
totalCount totalCount
} }

12884
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "rickvanlieshout-com", "name": "rickvanlieshout-com",
"version": "1.2.0", "version": "1.2.1",
"description": "My personal blog / website", "description": "My personal blog / website",
"keywords": [ "keywords": [
"gatsby", "gatsby",
@ -49,36 +49,37 @@
] ]
}, },
"dependencies": { "dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.2.0", "@fortawesome/fontawesome-svg-core": "^6.3.0",
"@fortawesome/free-solid-svg-icons": "^6.2.0", "@fortawesome/free-solid-svg-icons": "^6.3.0",
"@fortawesome/react-fontawesome": "^0.2.0", "@fortawesome/react-fontawesome": "^0.2.0",
"classnames": "^2.3.2", "classnames": "^2.3.2",
"disqus-react": "^1.1.4", "disqus-react": "^1.1.5",
"gatsby": "^4.24.4", "gatsby": "^5.8.0",
"gatsby-link": "^4.24.1", "gatsby-link": "^5.8.0",
"gatsby-plugin-catch-links": "^4.24.0", "gatsby-plugin-catch-links": "^5.8.0",
"gatsby-plugin-feed": "^4.24.0", "gatsby-plugin-feed": "^5.8.0",
"gatsby-plugin-google-gtag": "^4.24.0", "gatsby-plugin-google-gtag": "^5.8.0",
"gatsby-plugin-image": "^2.24.0", "gatsby-plugin-image": "^3.8.0",
"gatsby-plugin-manifest": "^4.24.0", "gatsby-plugin-manifest": "^5.8.0",
"gatsby-plugin-offline": "^5.24.0", "gatsby-plugin-offline": "^6.8.0",
"gatsby-plugin-optimize-svgs": "^1.0.5", "gatsby-plugin-optimize-svgs": "^1.0.5",
"gatsby-plugin-react-helmet": "^5.24.0", "gatsby-plugin-react-helmet": "^6.8.0",
"gatsby-plugin-robots-txt": "^1.7.1", "gatsby-plugin-react-helmet-canonical-urls": "^1.4.0",
"gatsby-plugin-sass": "^5.24.0", "gatsby-plugin-robots-txt": "^1.8.0",
"gatsby-plugin-sharp": "^4.24.0", "gatsby-plugin-sass": "^6.8.0",
"gatsby-plugin-sitemap": "^5.24.0", "gatsby-plugin-sharp": "^5.8.0",
"gatsby-remark-autolink-headers": "^5.24.0", "gatsby-plugin-sitemap": "^6.8.0",
"gatsby-remark-copy-linked-files": "^5.24.0", "gatsby-remark-autolink-headers": "^6.8.0",
"gatsby-remark-copy-linked-files": "^6.8.0",
"gatsby-remark-external-links": "0.0.4", "gatsby-remark-external-links": "0.0.4",
"gatsby-remark-images": "^6.24.0", "gatsby-remark-images": "^7.8.0",
"gatsby-remark-images-medium-zoom": "^1.7.0", "gatsby-remark-images-medium-zoom": "^1.7.0",
"gatsby-remark-prismjs": "^6.24.0", "gatsby-remark-prismjs": "^7.8.0",
"gatsby-remark-responsive-iframe": "^5.24.0", "gatsby-remark-responsive-iframe": "^6.8.0",
"gatsby-remark-smartypants": "^5.24.0", "gatsby-remark-smartypants": "^6.8.0",
"gatsby-source-filesystem": "^4.24.0", "gatsby-source-filesystem": "^5.8.0",
"gatsby-transformer-remark": "^5.24.0", "gatsby-transformer-remark": "^6.8.0",
"gatsby-transformer-sharp": "^4.24.0", "gatsby-transformer-sharp": "^5.8.0",
"prismjs": "^1.29.0", "prismjs": "^1.29.0",
"react": "^18.2.0", "react": "^18.2.0",
"react-cookie-consent": "^8.0.1", "react-cookie-consent": "^8.0.1",
@ -88,70 +89,69 @@
"reading-time": "^1.5.0" "reading-time": "^1.5.0"
}, },
"devDependencies": { "devDependencies": {
"@commitlint/config-conventional": "^17.2.0", "@commitlint/config-conventional": "^17.4.4",
"@commitlint/cz-commitlint": "^17.2.0", "@commitlint/cz-commitlint": "^17.5.0",
"@jest/globals": "^29.1.2", "@jest/globals": "^29.5.0",
"@mastermindzh/eslint-config": "^1.0.2", "@mastermindzh/eslint-config": "^1.0.2",
"@mastermindzh/prettier-config": "^1.0.0", "@mastermindzh/prettier-config": "^1.0.0",
"@semantic-release/exec": "6.0.3", "@semantic-release/exec": "6.0.3",
"@semantic-release/git": "10.0.1", "@semantic-release/git": "10.0.1",
"@swc/core": "^1.3.6", "@swc/core": "^1.3.42",
"@swc/jest": "^0.2.23", "@swc/jest": "^0.2.24",
"@types/gatsby-transformer-remark": "^2.9.1", "@types/gatsby-transformer-remark": "^2.9.1",
"@types/jest": "^29.1.2", "@types/jest": "^29.5.0",
"@types/node": "^18.8.4", "@types/node": "^18.15.10",
"@types/react": "^18.0.21", "@types/react": "^18.0.29",
"@types/react-dom": "^18.0.6", "@types/react-dom": "^18.0.11",
"@types/react-helmet": "^6.1.5", "@types/react-helmet": "^6.1.6",
"@types/react-test-renderer": "^18.0.0", "@types/react-test-renderer": "^18.0.0",
"@types/react-toggle": "^4.0.3", "@types/react-toggle": "^4.0.3",
"@types/sass": "^1.43.1", "@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/eslint-plugin": "^5.40.0", "@typescript-eslint/parser": "^5.56.0",
"@typescript-eslint/parser": "^5.40.0", "autoprefixer": "^10.4.14",
"autoprefixer": "^10.4.12", "browserslist": "^4.21.5",
"browserslist": "^4.21.4",
"codecov": "^3.8.3", "codecov": "^3.8.3",
"commitizen": "^4.2.5", "commitizen": "^4.3.0",
"commitlint": "^17.2.0", "commitlint": "^17.5.0",
"concurrently": "^7.4.0", "concurrently": "^7.6.0",
"eslint": "^8.25.0", "eslint": "^8.36.0",
"eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0", "eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0", "eslint-config-prettier": "^8.8.0",
"eslint-config-react-app": "^7.0.1", "eslint-config-react-app": "^7.0.1",
"eslint-import-resolver-typescript": "^3.5.1", "eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-flowtype": "^8.0.3", "eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.26.0", "eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.1.1", "eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jsx-a11y": "^6.6.1", "eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1", "eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.10", "eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^8.0.0", "eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "8.0.1", "husky": "^8.0.3",
"identity-obj-proxy": "3.0.0", "identity-obj-proxy": "3.0.0",
"jest": "^29.1.2", "jest": "^29.5.0",
"jest-cli": "^29.1.2", "jest-cli": "^29.5.0",
"jest-environment-jsdom": "^29.1.2", "jest-environment-jsdom": "^29.5.0",
"jest-svg-transformer": "^1.0.0", "jest-svg-transformer": "^1.0.0",
"lint-staged": "^13.0.3", "lint-staged": "^13.2.0",
"lost": "9.0.1", "lost": "9.0.1",
"markdownlint": "^0.26.2", "markdownlint": "^0.28.0",
"postcss": "^8.4.17", "postcss": "^8.4.21",
"postcss-scss": "^4.0.5", "postcss-scss": "^4.0.6",
"prettier": "^2.7.1", "prettier": "^2.8.7",
"prettier-plugin-packagejson": "^2.3.0", "prettier-plugin-packagejson": "^2.4.3",
"react-test-renderer": "^18.2.0", "react-test-renderer": "^18.2.0",
"rimraf": "3.0.2", "rimraf": "^4.4.1",
"sass": "^1.55.0", "sass": "^1.60.0",
"source-map-support": "^0.5.21", "source-map-support": "^0.5.21",
"standard-version": "^9.5.0", "standard-version": "^9.5.0",
"stylelint": "^14.13.0", "stylelint": "^15.3.0",
"stylelint-config-recommended-scss": "^7.0.0", "stylelint-config-recommended-scss": "^9.0.1",
"stylelint-order": "^5.0.0", "stylelint-order": "^6.0.3",
"stylelint-scss": "^4.3.0", "stylelint-scss": "^4.6.0",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typescript": "^4.8.4" "typescript": "^5.0.2"
}, },
"config": { "config": {
"commitizen": { "commitizen": {

View File

@ -33,6 +33,7 @@ exports[`Content renders correctly 1`] = `
onClick={[Function]} onClick={[Function]}
style={ style={
{ {
"cursor": "pointer",
"lineHeight": "50px", "lineHeight": "50px",
"marginRight": "10px", "marginRight": "10px",
} }
@ -111,7 +112,7 @@ exports[`Content renders correctly 1`] = `
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
> >
<path <path
d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM352 256c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zm32 0c0-70.7-57.3-128-128-128s-128 57.3-128 128s57.3 128 128 128s128-57.3 128-128z" d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"
fill="currentColor" fill="currentColor"
style={{}} style={{}}
/> />

View File

@ -34,6 +34,7 @@ exports[`Post renders correctly 1`] = `
onClick={[Function]} onClick={[Function]}
style={ style={
{ {
"cursor": "pointer",
"lineHeight": "50px", "lineHeight": "50px",
"marginRight": "10px", "marginRight": "10px",
} }
@ -112,7 +113,7 @@ exports[`Post renders correctly 1`] = `
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
> >
<path <path
d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM352 256c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zm32 0c0-70.7-57.3-128-128-128s-128 57.3-128 128s57.3 128 128 128s128-57.3 128-128z" d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"
fill="currentColor" fill="currentColor"
style={{}} style={{}}
/> />

View File

@ -24,7 +24,10 @@ export const PostHeader: FunctionComponent<Props> = ({ author }) => {
</span> </span>
<span className="hideInPrintView"> <span className="hideInPrintView">
<a onClick={() => navigate("/")} style={{ lineHeight: "50px", marginRight: "10px" }}> <a
onClick={() => navigate("/")}
style={{ lineHeight: "50px", marginRight: "10px", cursor: "pointer" }}
>
Back to articles Back to articles
</a> </a>
<ThemeSwitcher showLabel={false} /> <ThemeSwitcher showLabel={false} />

View File

@ -221,7 +221,7 @@ exports[`Sidebar renders correctly 1`] = `
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
> >
<path <path
d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM352 256c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zm32 0c0-70.7-57.3-128-128-128s-128 57.3-128 128s57.3 128 128 128s128-57.3 128-128z" d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"
fill="currentColor" fill="currentColor"
style={{}} style={{}}
/> />

View File

@ -14,17 +14,15 @@ const useCategoriesList = () => {
graphql` graphql`
query CategoriesListQuery { query CategoriesListQuery {
allMarkdownRemark( allMarkdownRemark(
filter: { filter: { frontmatter: { template: { eq: "post" }, draft: { ne: true } } }
frontmatter: { template: { eq: "post" }, draft: { ne: true } }
}
) { ) {
group(field: frontmatter___category) { group(field: { frontmatter: { category: SELECT } }) {
fieldValue fieldValue
totalCount totalCount
} }
} }
} }
`, `
); );
return allMarkdownRemark.group ?? []; return allMarkdownRemark.group ?? [];

View File

@ -14,17 +14,15 @@ const useTagsList = () => {
graphql` graphql`
query TagsListQuery { query TagsListQuery {
allMarkdownRemark( allMarkdownRemark(
filter: { filter: { frontmatter: { template: { eq: "post" }, draft: { ne: true } } }
frontmatter: { template: { eq: "post" }, draft: { ne: true } }
}
) { ) {
group(field: frontmatter___tags) { group(field: { frontmatter: { tags: SELECT } }) {
fieldValue fieldValue
totalCount totalCount
} }
} }
} }
`, `
); );
return allMarkdownRemark.group || []; return allMarkdownRemark.group || [];

View File

@ -222,7 +222,7 @@ exports[`CategoriesTemplate renders correctly 1`] = `
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
> >
<path <path
d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM352 256c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zm32 0c0-70.7-57.3-128-128-128s-128 57.3-128 128s57.3 128 128 128s128-57.3 128-128z" d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"
fill="currentColor" fill="currentColor"
style={{}} style={{}}
/> />

View File

@ -21,14 +21,11 @@ const CategoryTemplate: React.FC<Props> = ({ data, pageContext }: Props) => {
const { title: siteTitle, subtitle: siteSubtitle } = useSiteMetadata(); const { title: siteTitle, subtitle: siteSubtitle } = useSiteMetadata();
const { group, pagination } = pageContext; const { group, pagination } = pageContext;
const { currentPage, prevPagePath, nextPagePath, hasPrevPage, hasNextPage } = const { currentPage, prevPagePath, nextPagePath, hasPrevPage, hasNextPage } = pagination;
pagination;
const { edges } = data.allMarkdownRemark; const { edges } = data.allMarkdownRemark;
const pageTitle = const pageTitle =
currentPage > 0 currentPage > 0 ? `${group} - Page ${currentPage} - ${siteTitle}` : `${group} - ${siteTitle}`;
? `${group} - Page ${currentPage} - ${siteTitle}`
: `${group} - ${siteTitle}`;
return ( return (
<Layout title={pageTitle} description={siteSubtitle}> <Layout title={pageTitle} description={siteSubtitle}>
@ -52,13 +49,9 @@ export const query = graphql`
limit: $limit limit: $limit
skip: $offset skip: $offset
filter: { filter: {
frontmatter: { frontmatter: { category: { eq: $group }, template: { eq: "post" }, draft: { ne: true } }
category: { eq: $group }
template: { eq: "post" }
draft: { ne: true }
}
} }
sort: { order: DESC, fields: [frontmatter___date] } sort: { frontmatter: { date: DESC } }
) { ) {
edges { edges {
node { node {

View File

@ -222,7 +222,7 @@ exports[`CategoryTemplate renders correctly 1`] = `
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
> >
<path <path
d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM352 256c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zm32 0c0-70.7-57.3-128-128-128s-128 57.3-128 128s57.3 128 128 128s128-57.3 128-128z" d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"
fill="currentColor" fill="currentColor"
style={{}} style={{}}
/> />

View File

@ -46,7 +46,7 @@ export const query = graphql`
allMarkdownRemark( allMarkdownRemark(
limit: $limit limit: $limit
skip: $offset skip: $offset
sort: { order: DESC, fields: [frontmatter___date] } sort: { frontmatter: { date: DESC } }
filter: { frontmatter: { template: { eq: "post" }, draft: { ne: true } } } filter: { frontmatter: { template: { eq: "post" }, draft: { ne: true } } }
) { ) {
edges { edges {

View File

@ -222,7 +222,7 @@ exports[`IndexTemplate renders correctly 1`] = `
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
> >
<path <path
d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM352 256c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zm32 0c0-70.7-57.3-128-128-128s-128 57.3-128 128s57.3 128 128 128s128-57.3 128-128z" d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"
fill="currentColor" fill="currentColor"
style={{}} style={{}}
/> />

View File

@ -222,7 +222,7 @@ exports[`NotFoundTemplate renders correctly 1`] = `
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
> >
<path <path
d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM352 256c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zm32 0c0-70.7-57.3-128-128-128s-128 57.3-128 128s57.3 128 128 128s128-57.3 128-128z" d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"
fill="currentColor" fill="currentColor"
style={{}} style={{}}
/> />

View File

@ -222,7 +222,7 @@ exports[`PageTemplate renders correctly 1`] = `
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
> >
<path <path
d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM352 256c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zm32 0c0-70.7-57.3-128-128-128s-128 57.3-128 128s57.3 128 128 128s128-57.3 128-128z" d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"
fill="currentColor" fill="currentColor"
style={{}} style={{}}
/> />

View File

@ -35,6 +35,7 @@ exports[`PostTemplate renders correctly 1`] = `
onClick={[Function]} onClick={[Function]}
style={ style={
{ {
"cursor": "pointer",
"lineHeight": "50px", "lineHeight": "50px",
"marginRight": "10px", "marginRight": "10px",
} }
@ -113,7 +114,7 @@ exports[`PostTemplate renders correctly 1`] = `
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
> >
<path <path
d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM352 256c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zm32 0c0-70.7-57.3-128-128-128s-128 57.3-128 128s57.3 128 128 128s128-57.3 128-128z" d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"
fill="currentColor" fill="currentColor"
style={{}} style={{}}
/> />

View File

@ -21,14 +21,11 @@ const TagTemplate: React.FC<Props> = ({ data, pageContext }: Props) => {
const { title: siteTitle, subtitle: siteSubtitle } = useSiteMetadata(); const { title: siteTitle, subtitle: siteSubtitle } = useSiteMetadata();
const { group, pagination } = pageContext; const { group, pagination } = pageContext;
const { currentPage, prevPagePath, nextPagePath, hasPrevPage, hasNextPage } = const { currentPage, prevPagePath, nextPagePath, hasPrevPage, hasNextPage } = pagination;
pagination;
const { edges } = data.allMarkdownRemark; const { edges } = data.allMarkdownRemark;
const pageTitle = const pageTitle =
currentPage > 0 currentPage > 0 ? `${group} - Page ${currentPage} - ${siteTitle}` : `${group} - ${siteTitle}`;
? `${group} - Page ${currentPage} - ${siteTitle}`
: `${group} - ${siteTitle}`;
return ( return (
<Layout title={pageTitle} description={siteSubtitle}> <Layout title={pageTitle} description={siteSubtitle}>
@ -58,13 +55,9 @@ export const query = graphql`
limit: $limit limit: $limit
skip: $offset skip: $offset
filter: { filter: {
frontmatter: { frontmatter: { tags: { in: [$group] }, template: { eq: "post" }, draft: { ne: true } }
tags: { in: [$group] }
template: { eq: "post" }
draft: { ne: true }
}
} }
sort: { order: DESC, fields: [frontmatter___date] } sort: { frontmatter: { date: DESC } }
) { ) {
edges { edges {
node { node {

View File

@ -222,7 +222,7 @@ exports[`TagTemplate renders correctly 1`] = `
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
> >
<path <path
d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM352 256c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zm32 0c0-70.7-57.3-128-128-128s-128 57.3-128 128s57.3 128 128 128s128-57.3 128-128z" d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"
fill="currentColor" fill="currentColor"
style={{}} style={{}}
/> />

View File

@ -222,7 +222,7 @@ exports[`TagsTemplate renders correctly 1`] = `
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
> >
<path <path
d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM352 256c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zm32 0c0-70.7-57.3-128-128-128s-128 57.3-128 128s57.3 128 128 128s128-57.3 128-128z" d="M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"
fill="currentColor" fill="currentColor"
style={{}} style={{}}
/> />