2021-03-31 11:24:05 +00:00
|
|
|
const { defaultIcons } = require("gatsby-plugin-manifest/common");
|
|
|
|
|
2021-03-23 12:07:19 +00:00
|
|
|
module.exports = {
|
2021-07-26 11:28:27 +00:00
|
|
|
flags: {
|
|
|
|
// PARALLEL_QUERY_RUNNING: true,
|
|
|
|
// PARALLEL_SOURCING: true,
|
|
|
|
},
|
2021-03-23 12:07:19 +00:00
|
|
|
siteMetadata: {
|
2021-03-31 11:24:05 +00:00
|
|
|
title: `Skynet`,
|
|
|
|
description: `Skynet is a decentralized file sharing and content distribution protocol`,
|
2021-04-01 16:36:16 +00:00
|
|
|
author: `Skynet Labs`,
|
2021-03-31 11:24:05 +00:00
|
|
|
siteUrl: `https://siasky.net`,
|
|
|
|
image: `https://siasky.net/icons/icon-512x512.png`,
|
2021-03-23 12:07:19 +00:00
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
{
|
|
|
|
resolve: `gatsby-source-filesystem`,
|
|
|
|
options: {
|
|
|
|
name: `images`,
|
|
|
|
path: `${__dirname}/src/images`,
|
|
|
|
},
|
|
|
|
},
|
2021-03-25 10:44:52 +00:00
|
|
|
{
|
|
|
|
resolve: `gatsby-source-filesystem`,
|
|
|
|
options: {
|
|
|
|
name: `src`,
|
|
|
|
path: `${__dirname}/src/`,
|
|
|
|
},
|
|
|
|
},
|
2021-03-31 11:24:05 +00:00
|
|
|
{
|
|
|
|
resolve: `gatsby-source-filesystem`,
|
|
|
|
options: {
|
|
|
|
name: `data`,
|
|
|
|
path: `${__dirname}/data/`,
|
|
|
|
},
|
|
|
|
},
|
2021-03-31 17:08:38 +00:00
|
|
|
{
|
|
|
|
resolve: `gatsby-source-filesystem`,
|
|
|
|
options: {
|
|
|
|
path: `${__dirname}/data/news`,
|
|
|
|
name: `news`,
|
|
|
|
},
|
|
|
|
},
|
2021-03-31 11:24:05 +00:00
|
|
|
`gatsby-plugin-postcss`,
|
|
|
|
`gatsby-plugin-react-helmet`,
|
|
|
|
`gatsby-plugin-image`,
|
2021-03-23 12:07:19 +00:00
|
|
|
`gatsby-plugin-sharp`,
|
2021-06-10 13:24:39 +00:00
|
|
|
`gatsby-plugin-svgr`,
|
2021-03-31 11:24:05 +00:00
|
|
|
`gatsby-plugin-robots-txt`,
|
|
|
|
`gatsby-transformer-sharp`,
|
|
|
|
`gatsby-transformer-json`,
|
|
|
|
`gatsby-transformer-yaml`,
|
2021-03-31 17:08:38 +00:00
|
|
|
{
|
|
|
|
resolve: `gatsby-transformer-remark`,
|
|
|
|
options: {
|
|
|
|
plugins: [
|
|
|
|
{
|
|
|
|
resolve: `gatsby-remark-classes`,
|
|
|
|
options: {
|
|
|
|
classMap: {
|
|
|
|
heading: "font-semibold text-palette-600",
|
2021-03-31 22:37:02 +00:00
|
|
|
paragraph: "font-content text-base text-palette-400",
|
2021-03-31 17:08:38 +00:00
|
|
|
strong: "font-semibold",
|
2021-04-01 16:43:12 +00:00
|
|
|
link: "text-primary hover:underline transition-colors duration-200",
|
2021-03-31 17:08:38 +00:00
|
|
|
"heading[depth=1]": "text-4xl",
|
|
|
|
"heading[depth=2]": "text-3xl",
|
|
|
|
"paragraph + paragraph": "mt-8",
|
2021-04-01 16:43:12 +00:00
|
|
|
"paragraph + heading": "mt-20",
|
2021-03-31 17:08:38 +00:00
|
|
|
"heading + paragraph": "mt-12",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
resolve: `gatsby-remark-images`,
|
|
|
|
options: {
|
|
|
|
maxWidth: 630,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
resolve: `gatsby-remark-responsive-iframe`,
|
|
|
|
options: {
|
|
|
|
wrapperStyle: `margin-bottom: 1.0725rem`,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
`gatsby-remark-prismjs`,
|
|
|
|
`gatsby-remark-copy-linked-files`,
|
|
|
|
`gatsby-remark-smartypants`,
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
2021-03-23 12:07:19 +00:00
|
|
|
{
|
|
|
|
resolve: `gatsby-plugin-manifest`,
|
|
|
|
options: {
|
2021-03-31 11:24:05 +00:00
|
|
|
name: `Skynet`,
|
|
|
|
short_name: `Skynet`,
|
2021-03-23 12:07:19 +00:00
|
|
|
start_url: `/`,
|
2021-03-31 11:24:05 +00:00
|
|
|
background_color: `#f1f7f2`,
|
|
|
|
theme_color: `#f1f7f2`,
|
2021-03-23 12:07:19 +00:00
|
|
|
display: `minimal-ui`,
|
2021-03-31 11:24:05 +00:00
|
|
|
icon: `src/images/logo.svg`, // This path is relative to the root of the site.
|
|
|
|
icons: [
|
|
|
|
...defaultIcons,
|
|
|
|
// when we're serving content from the portal on our pathnames that do not have
|
|
|
|
// favicon defined (basically all non-html content), we want the browsers to be
|
|
|
|
// able to fall back to favicon.ico (firefox does that)
|
|
|
|
{
|
|
|
|
src: `favicon.ico`,
|
|
|
|
sizes: `32x32`,
|
|
|
|
type: `image/x-icon`,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
resolve: "gatsby-plugin-matomo",
|
|
|
|
options: {
|
|
|
|
siteId: 3,
|
|
|
|
matomoUrl: "https://surveillance.sia.tech",
|
|
|
|
siteUrl: "https://siasky.net",
|
2021-03-23 12:07:19 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
2021-03-31 22:37:02 +00:00
|
|
|
// mapping: {
|
|
|
|
// "MarkdownRemark.frontmatter.author": `teamYaml`,
|
|
|
|
// },
|
2021-03-25 10:44:52 +00:00
|
|
|
};
|