This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/packages/webapp/gatsby-config.js

56 lines
1.6 KiB
JavaScript
Raw Permalink Normal View History

2020-06-03 08:07:54 +00:00
const { defaultIcons } = require("gatsby-plugin-manifest/common");
module.exports = {
siteMetadata: {
title: `Skynet`,
description: `Skynet is a decentralized file sharing and content distribution protocol.`,
2020-02-20 17:14:20 +00:00
author: `Nebulous`,
2020-03-23 14:02:47 +00:00
siteUrl: `https://siasky.net`,
2020-04-23 16:44:09 +00:00
image: `https://siasky.net/icons/icon-512x512.png`,
},
plugins: [
`gatsby-plugin-sass`,
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
2020-03-23 14:02:47 +00:00
path: `${__dirname}/src/images`,
},
},
2020-02-20 17:14:20 +00:00
`gatsby-plugin-robots-txt`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Skynet`,
short_name: `Skynet`,
start_url: `/`,
background_color: `#f1f7f2`,
theme_color: `#f1f7f2`,
display: `minimal-ui`,
2020-03-23 14:02:47 +00:00
icon: `src/images/logo.svg`, // This path is relative to the root of the site.
2020-06-03 08:07:54 +00:00
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`,
},
],
2020-03-23 14:02:47 +00:00
},
2020-02-21 11:07:20 +00:00
},
2020-03-09 14:52:35 +00:00
{
resolve: "gatsby-plugin-matomo",
options: {
siteId: 3,
matomoUrl: "https://surveillance.sia.tech",
2020-03-23 14:02:47 +00:00
siteUrl: "https://siasky.net",
},
2020-03-09 14:52:35 +00:00
},
2020-03-23 14:02:47 +00:00
`gatsby-plugin-remove-serviceworker`,
],
};