sitemap
This commit is contained in:
parent
dbf716c7c4
commit
ea8535130d
|
@ -5,9 +5,13 @@
|
|||
*/
|
||||
|
||||
module.exports = {
|
||||
siteMetadata: {
|
||||
siteUrl: `https://www.riksolo.com`,
|
||||
},
|
||||
/* Your site config here */
|
||||
plugins: [
|
||||
'gatsby-plugin-graphql-codegen',
|
||||
'gatsby-plugin-sitemap',
|
||||
'gatsby-plugin-react-helmet',
|
||||
{
|
||||
resolve: `gatsby-plugin-sass`,
|
||||
|
|
227
graphql-types.ts
227
graphql-types.ts
|
@ -254,8 +254,6 @@ export type DirectoryCtimeArgs = {
|
|||
export type Site = Node & {
|
||||
buildTime?: Maybe<Scalars['Date']>;
|
||||
siteMetadata?: Maybe<SiteSiteMetadata>;
|
||||
port?: Maybe<Scalars['Int']>;
|
||||
host?: Maybe<Scalars['String']>;
|
||||
polyfill?: Maybe<Scalars['Boolean']>;
|
||||
pathPrefix?: Maybe<Scalars['String']>;
|
||||
id: Scalars['ID'];
|
||||
|
@ -275,6 +273,7 @@ export type SiteBuildTimeArgs = {
|
|||
export type SiteSiteMetadata = {
|
||||
title?: Maybe<Scalars['String']>;
|
||||
description?: Maybe<Scalars['String']>;
|
||||
siteUrl?: Maybe<Scalars['String']>;
|
||||
};
|
||||
|
||||
export type SiteFunction = Node & {
|
||||
|
@ -295,15 +294,15 @@ export type SitePage = Node & {
|
|||
internalComponentName: Scalars['String'];
|
||||
componentChunkName: Scalars['String'];
|
||||
matchPath?: Maybe<Scalars['String']>;
|
||||
isCreatedByStatefulCreatePages?: Maybe<Scalars['Boolean']>;
|
||||
pluginCreator?: Maybe<SitePlugin>;
|
||||
pluginCreatorId?: Maybe<Scalars['String']>;
|
||||
componentPath?: Maybe<Scalars['String']>;
|
||||
id: Scalars['ID'];
|
||||
parent?: Maybe<Node>;
|
||||
children: Array<Node>;
|
||||
internal: Internal;
|
||||
isCreatedByStatefulCreatePages?: Maybe<Scalars['Boolean']>;
|
||||
context?: Maybe<SitePageContext>;
|
||||
pluginCreator?: Maybe<SitePlugin>;
|
||||
pluginCreatorId?: Maybe<Scalars['String']>;
|
||||
componentPath?: Maybe<Scalars['String']>;
|
||||
};
|
||||
|
||||
export type SitePageContext = {
|
||||
|
@ -437,6 +436,10 @@ export type SitePlugin = Node & {
|
|||
|
||||
export type SitePluginPluginOptions = {
|
||||
plugins?: Maybe<Array<Maybe<SitePluginPluginOptionsPlugins>>>;
|
||||
output?: Maybe<Scalars['String']>;
|
||||
createLinkInHead?: Maybe<Scalars['Boolean']>;
|
||||
entryLimit?: Maybe<Scalars['Int']>;
|
||||
query?: Maybe<Scalars['String']>;
|
||||
name?: Maybe<Scalars['String']>;
|
||||
path?: Maybe<Scalars['String']>;
|
||||
classPrefix?: Maybe<Scalars['String']>;
|
||||
|
@ -640,8 +643,6 @@ export type QueryAllDirectoryArgs = {
|
|||
export type QuerySiteArgs = {
|
||||
buildTime?: Maybe<DateQueryOperatorInput>;
|
||||
siteMetadata?: Maybe<SiteSiteMetadataFilterInput>;
|
||||
port?: Maybe<IntQueryOperatorInput>;
|
||||
host?: Maybe<StringQueryOperatorInput>;
|
||||
polyfill?: Maybe<BooleanQueryOperatorInput>;
|
||||
pathPrefix?: Maybe<StringQueryOperatorInput>;
|
||||
id?: Maybe<StringQueryOperatorInput>;
|
||||
|
@ -686,15 +687,15 @@ export type QuerySitePageArgs = {
|
|||
internalComponentName?: Maybe<StringQueryOperatorInput>;
|
||||
componentChunkName?: Maybe<StringQueryOperatorInput>;
|
||||
matchPath?: Maybe<StringQueryOperatorInput>;
|
||||
isCreatedByStatefulCreatePages?: Maybe<BooleanQueryOperatorInput>;
|
||||
pluginCreator?: Maybe<SitePluginFilterInput>;
|
||||
pluginCreatorId?: Maybe<StringQueryOperatorInput>;
|
||||
componentPath?: Maybe<StringQueryOperatorInput>;
|
||||
id?: Maybe<StringQueryOperatorInput>;
|
||||
parent?: Maybe<NodeFilterInput>;
|
||||
children?: Maybe<NodeFilterListInput>;
|
||||
internal?: Maybe<InternalFilterInput>;
|
||||
isCreatedByStatefulCreatePages?: Maybe<BooleanQueryOperatorInput>;
|
||||
context?: Maybe<SitePageContextFilterInput>;
|
||||
pluginCreator?: Maybe<SitePluginFilterInput>;
|
||||
pluginCreatorId?: Maybe<StringQueryOperatorInput>;
|
||||
componentPath?: Maybe<StringQueryOperatorInput>;
|
||||
};
|
||||
|
||||
|
||||
|
@ -1477,6 +1478,7 @@ export type DirectorySortInput = {
|
|||
export type SiteSiteMetadataFilterInput = {
|
||||
title?: Maybe<StringQueryOperatorInput>;
|
||||
description?: Maybe<StringQueryOperatorInput>;
|
||||
siteUrl?: Maybe<StringQueryOperatorInput>;
|
||||
};
|
||||
|
||||
export type SiteConnection = {
|
||||
|
@ -1528,8 +1530,7 @@ export type SiteFieldsEnum =
|
|||
| 'buildTime'
|
||||
| 'siteMetadata___title'
|
||||
| 'siteMetadata___description'
|
||||
| 'port'
|
||||
| 'host'
|
||||
| 'siteMetadata___siteUrl'
|
||||
| 'polyfill'
|
||||
| 'pathPrefix'
|
||||
| 'id'
|
||||
|
@ -1631,8 +1632,6 @@ export type SiteGroupConnection = {
|
|||
export type SiteFilterInput = {
|
||||
buildTime?: Maybe<DateQueryOperatorInput>;
|
||||
siteMetadata?: Maybe<SiteSiteMetadataFilterInput>;
|
||||
port?: Maybe<IntQueryOperatorInput>;
|
||||
host?: Maybe<StringQueryOperatorInput>;
|
||||
polyfill?: Maybe<BooleanQueryOperatorInput>;
|
||||
pathPrefix?: Maybe<StringQueryOperatorInput>;
|
||||
id?: Maybe<StringQueryOperatorInput>;
|
||||
|
@ -1810,6 +1809,10 @@ export type SiteFunctionSortInput = {
|
|||
order?: Maybe<Array<Maybe<SortOrderEnum>>>;
|
||||
};
|
||||
|
||||
export type SitePageContextFilterInput = {
|
||||
slug?: Maybe<StringQueryOperatorInput>;
|
||||
};
|
||||
|
||||
export type SitePluginFilterInput = {
|
||||
id?: Maybe<StringQueryOperatorInput>;
|
||||
parent?: Maybe<NodeFilterInput>;
|
||||
|
@ -1827,6 +1830,10 @@ export type SitePluginFilterInput = {
|
|||
|
||||
export type SitePluginPluginOptionsFilterInput = {
|
||||
plugins?: Maybe<SitePluginPluginOptionsPluginsFilterListInput>;
|
||||
output?: Maybe<StringQueryOperatorInput>;
|
||||
createLinkInHead?: Maybe<BooleanQueryOperatorInput>;
|
||||
entryLimit?: Maybe<IntQueryOperatorInput>;
|
||||
query?: Maybe<StringQueryOperatorInput>;
|
||||
name?: Maybe<StringQueryOperatorInput>;
|
||||
path?: Maybe<StringQueryOperatorInput>;
|
||||
classPrefix?: Maybe<StringQueryOperatorInput>;
|
||||
|
@ -1930,10 +1937,6 @@ export type SitePluginPackageJsonPeerDependenciesFilterInput = {
|
|||
version?: Maybe<StringQueryOperatorInput>;
|
||||
};
|
||||
|
||||
export type SitePageContextFilterInput = {
|
||||
slug?: Maybe<StringQueryOperatorInput>;
|
||||
};
|
||||
|
||||
export type SitePageConnection = {
|
||||
totalCount: Scalars['Int'];
|
||||
edges: Array<SitePageEdge>;
|
||||
|
@ -1985,89 +1988,6 @@ export type SitePageFieldsEnum =
|
|||
| 'internalComponentName'
|
||||
| 'componentChunkName'
|
||||
| 'matchPath'
|
||||
| 'isCreatedByStatefulCreatePages'
|
||||
| 'pluginCreator___id'
|
||||
| 'pluginCreator___parent___id'
|
||||
| 'pluginCreator___parent___parent___id'
|
||||
| 'pluginCreator___parent___parent___children'
|
||||
| 'pluginCreator___parent___children'
|
||||
| 'pluginCreator___parent___children___id'
|
||||
| 'pluginCreator___parent___children___children'
|
||||
| 'pluginCreator___parent___internal___content'
|
||||
| 'pluginCreator___parent___internal___contentDigest'
|
||||
| 'pluginCreator___parent___internal___description'
|
||||
| 'pluginCreator___parent___internal___fieldOwners'
|
||||
| 'pluginCreator___parent___internal___ignoreType'
|
||||
| 'pluginCreator___parent___internal___mediaType'
|
||||
| 'pluginCreator___parent___internal___owner'
|
||||
| 'pluginCreator___parent___internal___type'
|
||||
| 'pluginCreator___children'
|
||||
| 'pluginCreator___children___id'
|
||||
| 'pluginCreator___children___parent___id'
|
||||
| 'pluginCreator___children___parent___children'
|
||||
| 'pluginCreator___children___children'
|
||||
| 'pluginCreator___children___children___id'
|
||||
| 'pluginCreator___children___children___children'
|
||||
| 'pluginCreator___children___internal___content'
|
||||
| 'pluginCreator___children___internal___contentDigest'
|
||||
| 'pluginCreator___children___internal___description'
|
||||
| 'pluginCreator___children___internal___fieldOwners'
|
||||
| 'pluginCreator___children___internal___ignoreType'
|
||||
| 'pluginCreator___children___internal___mediaType'
|
||||
| 'pluginCreator___children___internal___owner'
|
||||
| 'pluginCreator___children___internal___type'
|
||||
| 'pluginCreator___internal___content'
|
||||
| 'pluginCreator___internal___contentDigest'
|
||||
| 'pluginCreator___internal___description'
|
||||
| 'pluginCreator___internal___fieldOwners'
|
||||
| 'pluginCreator___internal___ignoreType'
|
||||
| 'pluginCreator___internal___mediaType'
|
||||
| 'pluginCreator___internal___owner'
|
||||
| 'pluginCreator___internal___type'
|
||||
| 'pluginCreator___resolve'
|
||||
| 'pluginCreator___name'
|
||||
| 'pluginCreator___version'
|
||||
| 'pluginCreator___pluginOptions___plugins'
|
||||
| 'pluginCreator___pluginOptions___plugins___resolve'
|
||||
| 'pluginCreator___pluginOptions___plugins___id'
|
||||
| 'pluginCreator___pluginOptions___plugins___name'
|
||||
| 'pluginCreator___pluginOptions___plugins___version'
|
||||
| 'pluginCreator___pluginOptions___name'
|
||||
| 'pluginCreator___pluginOptions___path'
|
||||
| 'pluginCreator___pluginOptions___classPrefix'
|
||||
| 'pluginCreator___pluginOptions___showLineNumbers'
|
||||
| 'pluginCreator___pluginOptions___noInlineHighlight'
|
||||
| 'pluginCreator___pluginOptions___languageExtensions'
|
||||
| 'pluginCreator___pluginOptions___languageExtensions___language'
|
||||
| 'pluginCreator___pluginOptions___languageExtensions___extend'
|
||||
| 'pluginCreator___pluginOptions___prompt___user'
|
||||
| 'pluginCreator___pluginOptions___prompt___host'
|
||||
| 'pluginCreator___pluginOptions___prompt___global'
|
||||
| 'pluginCreator___pluginOptions___pathCheck'
|
||||
| 'pluginCreator___pluginOptions___allExtensions'
|
||||
| 'pluginCreator___pluginOptions___isTSX'
|
||||
| 'pluginCreator___pluginOptions___jsxPragma'
|
||||
| 'pluginCreator___nodeAPIs'
|
||||
| 'pluginCreator___ssrAPIs'
|
||||
| 'pluginCreator___pluginFilepath'
|
||||
| 'pluginCreator___packageJson___name'
|
||||
| 'pluginCreator___packageJson___description'
|
||||
| 'pluginCreator___packageJson___version'
|
||||
| 'pluginCreator___packageJson___main'
|
||||
| 'pluginCreator___packageJson___author'
|
||||
| 'pluginCreator___packageJson___license'
|
||||
| 'pluginCreator___packageJson___dependencies'
|
||||
| 'pluginCreator___packageJson___dependencies___name'
|
||||
| 'pluginCreator___packageJson___dependencies___version'
|
||||
| 'pluginCreator___packageJson___devDependencies'
|
||||
| 'pluginCreator___packageJson___devDependencies___name'
|
||||
| 'pluginCreator___packageJson___devDependencies___version'
|
||||
| 'pluginCreator___packageJson___peerDependencies'
|
||||
| 'pluginCreator___packageJson___peerDependencies___name'
|
||||
| 'pluginCreator___packageJson___peerDependencies___version'
|
||||
| 'pluginCreator___packageJson___keywords'
|
||||
| 'pluginCreatorId'
|
||||
| 'componentPath'
|
||||
| 'id'
|
||||
| 'parent___id'
|
||||
| 'parent___parent___id'
|
||||
|
@ -2154,7 +2074,94 @@ export type SitePageFieldsEnum =
|
|||
| 'internal___mediaType'
|
||||
| 'internal___owner'
|
||||
| 'internal___type'
|
||||
| 'context___slug';
|
||||
| 'isCreatedByStatefulCreatePages'
|
||||
| 'context___slug'
|
||||
| 'pluginCreator___id'
|
||||
| 'pluginCreator___parent___id'
|
||||
| 'pluginCreator___parent___parent___id'
|
||||
| 'pluginCreator___parent___parent___children'
|
||||
| 'pluginCreator___parent___children'
|
||||
| 'pluginCreator___parent___children___id'
|
||||
| 'pluginCreator___parent___children___children'
|
||||
| 'pluginCreator___parent___internal___content'
|
||||
| 'pluginCreator___parent___internal___contentDigest'
|
||||
| 'pluginCreator___parent___internal___description'
|
||||
| 'pluginCreator___parent___internal___fieldOwners'
|
||||
| 'pluginCreator___parent___internal___ignoreType'
|
||||
| 'pluginCreator___parent___internal___mediaType'
|
||||
| 'pluginCreator___parent___internal___owner'
|
||||
| 'pluginCreator___parent___internal___type'
|
||||
| 'pluginCreator___children'
|
||||
| 'pluginCreator___children___id'
|
||||
| 'pluginCreator___children___parent___id'
|
||||
| 'pluginCreator___children___parent___children'
|
||||
| 'pluginCreator___children___children'
|
||||
| 'pluginCreator___children___children___id'
|
||||
| 'pluginCreator___children___children___children'
|
||||
| 'pluginCreator___children___internal___content'
|
||||
| 'pluginCreator___children___internal___contentDigest'
|
||||
| 'pluginCreator___children___internal___description'
|
||||
| 'pluginCreator___children___internal___fieldOwners'
|
||||
| 'pluginCreator___children___internal___ignoreType'
|
||||
| 'pluginCreator___children___internal___mediaType'
|
||||
| 'pluginCreator___children___internal___owner'
|
||||
| 'pluginCreator___children___internal___type'
|
||||
| 'pluginCreator___internal___content'
|
||||
| 'pluginCreator___internal___contentDigest'
|
||||
| 'pluginCreator___internal___description'
|
||||
| 'pluginCreator___internal___fieldOwners'
|
||||
| 'pluginCreator___internal___ignoreType'
|
||||
| 'pluginCreator___internal___mediaType'
|
||||
| 'pluginCreator___internal___owner'
|
||||
| 'pluginCreator___internal___type'
|
||||
| 'pluginCreator___resolve'
|
||||
| 'pluginCreator___name'
|
||||
| 'pluginCreator___version'
|
||||
| 'pluginCreator___pluginOptions___plugins'
|
||||
| 'pluginCreator___pluginOptions___plugins___resolve'
|
||||
| 'pluginCreator___pluginOptions___plugins___id'
|
||||
| 'pluginCreator___pluginOptions___plugins___name'
|
||||
| 'pluginCreator___pluginOptions___plugins___version'
|
||||
| 'pluginCreator___pluginOptions___output'
|
||||
| 'pluginCreator___pluginOptions___createLinkInHead'
|
||||
| 'pluginCreator___pluginOptions___entryLimit'
|
||||
| 'pluginCreator___pluginOptions___query'
|
||||
| 'pluginCreator___pluginOptions___name'
|
||||
| 'pluginCreator___pluginOptions___path'
|
||||
| 'pluginCreator___pluginOptions___classPrefix'
|
||||
| 'pluginCreator___pluginOptions___showLineNumbers'
|
||||
| 'pluginCreator___pluginOptions___noInlineHighlight'
|
||||
| 'pluginCreator___pluginOptions___languageExtensions'
|
||||
| 'pluginCreator___pluginOptions___languageExtensions___language'
|
||||
| 'pluginCreator___pluginOptions___languageExtensions___extend'
|
||||
| 'pluginCreator___pluginOptions___prompt___user'
|
||||
| 'pluginCreator___pluginOptions___prompt___host'
|
||||
| 'pluginCreator___pluginOptions___prompt___global'
|
||||
| 'pluginCreator___pluginOptions___pathCheck'
|
||||
| 'pluginCreator___pluginOptions___allExtensions'
|
||||
| 'pluginCreator___pluginOptions___isTSX'
|
||||
| 'pluginCreator___pluginOptions___jsxPragma'
|
||||
| 'pluginCreator___nodeAPIs'
|
||||
| 'pluginCreator___ssrAPIs'
|
||||
| 'pluginCreator___pluginFilepath'
|
||||
| 'pluginCreator___packageJson___name'
|
||||
| 'pluginCreator___packageJson___description'
|
||||
| 'pluginCreator___packageJson___version'
|
||||
| 'pluginCreator___packageJson___main'
|
||||
| 'pluginCreator___packageJson___author'
|
||||
| 'pluginCreator___packageJson___license'
|
||||
| 'pluginCreator___packageJson___dependencies'
|
||||
| 'pluginCreator___packageJson___dependencies___name'
|
||||
| 'pluginCreator___packageJson___dependencies___version'
|
||||
| 'pluginCreator___packageJson___devDependencies'
|
||||
| 'pluginCreator___packageJson___devDependencies___name'
|
||||
| 'pluginCreator___packageJson___devDependencies___version'
|
||||
| 'pluginCreator___packageJson___peerDependencies'
|
||||
| 'pluginCreator___packageJson___peerDependencies___name'
|
||||
| 'pluginCreator___packageJson___peerDependencies___version'
|
||||
| 'pluginCreator___packageJson___keywords'
|
||||
| 'pluginCreatorId'
|
||||
| 'componentPath';
|
||||
|
||||
export type SitePageGroupConnection = {
|
||||
totalCount: Scalars['Int'];
|
||||
|
@ -2171,15 +2178,15 @@ export type SitePageFilterInput = {
|
|||
internalComponentName?: Maybe<StringQueryOperatorInput>;
|
||||
componentChunkName?: Maybe<StringQueryOperatorInput>;
|
||||
matchPath?: Maybe<StringQueryOperatorInput>;
|
||||
isCreatedByStatefulCreatePages?: Maybe<BooleanQueryOperatorInput>;
|
||||
pluginCreator?: Maybe<SitePluginFilterInput>;
|
||||
pluginCreatorId?: Maybe<StringQueryOperatorInput>;
|
||||
componentPath?: Maybe<StringQueryOperatorInput>;
|
||||
id?: Maybe<StringQueryOperatorInput>;
|
||||
parent?: Maybe<NodeFilterInput>;
|
||||
children?: Maybe<NodeFilterListInput>;
|
||||
internal?: Maybe<InternalFilterInput>;
|
||||
isCreatedByStatefulCreatePages?: Maybe<BooleanQueryOperatorInput>;
|
||||
context?: Maybe<SitePageContextFilterInput>;
|
||||
pluginCreator?: Maybe<SitePluginFilterInput>;
|
||||
pluginCreatorId?: Maybe<StringQueryOperatorInput>;
|
||||
componentPath?: Maybe<StringQueryOperatorInput>;
|
||||
};
|
||||
|
||||
export type SitePageSortInput = {
|
||||
|
@ -2654,6 +2661,10 @@ export type SitePluginFieldsEnum =
|
|||
| 'pluginOptions___plugins___pluginOptions___showLineNumbers'
|
||||
| 'pluginOptions___plugins___pluginOptions___noInlineHighlight'
|
||||
| 'pluginOptions___plugins___pluginOptions___languageExtensions'
|
||||
| 'pluginOptions___output'
|
||||
| 'pluginOptions___createLinkInHead'
|
||||
| 'pluginOptions___entryLimit'
|
||||
| 'pluginOptions___query'
|
||||
| 'pluginOptions___name'
|
||||
| 'pluginOptions___path'
|
||||
| 'pluginOptions___classPrefix'
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
"gatsby-plugin-postcss": "^4.3.0",
|
||||
"gatsby-plugin-react-helmet": "^4.3.0",
|
||||
"gatsby-plugin-sass": "^4.3.0",
|
||||
"gatsby-plugin-sitemap": "^4.0.0",
|
||||
"gatsby-remark-prismjs": "^5.0.0",
|
||||
"gatsby-source-filesystem": "^3.3.0",
|
||||
"gatsby-transformer-remark": "^4.0.0",
|
||||
|
|
|
@ -9,11 +9,11 @@ h1, h2, h3, h4, h5 {
|
|||
}
|
||||
|
||||
h1 {
|
||||
@apply text-3xl;
|
||||
@apply text-4xl;
|
||||
}
|
||||
|
||||
h2 {
|
||||
@apply text-xl;
|
||||
@apply text-2xl;
|
||||
}
|
||||
|
||||
h3 {
|
||||
|
|
|
@ -7,13 +7,10 @@ import Helmet from 'react-helmet';
|
|||
const MdPageTemplate: React.FC<PageProps<Query>> = ({data}) => {
|
||||
|
||||
const post = data.markdownRemark;
|
||||
const richData = {
|
||||
}
|
||||
|
||||
|
||||
return (
|
||||
<Layout>
|
||||
<div className="max-w-screen-sm mx-auto">
|
||||
<div className="max-w-screen-md mx-auto">
|
||||
<Link to="/blog" className="block mb-2">
|
||||
<< Back to post list
|
||||
</Link>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
const colors = require('tailwindcss/colors')
|
||||
|
||||
module.exports = {
|
||||
purge: ["./src/**/*.{js,jsx,ts,tsx}"],
|
||||
theme: {
|
||||
screens: {
|
||||
sm: '480px',
|
||||
|
|
Loading…
Reference in New Issue