This repository has been archived on 2022-09-04. You can view files and clone it, but cannot push or open issues or pull requests.
dcbot.tribalwarshelp.com/gatsby-config.js

65 lines
1.7 KiB
JavaScript
Raw Normal View History

2020-06-30 11:12:39 +00:00
const siteUrl = "https://dcbot.tribalwarshelp.com";
2020-06-28 09:27:32 +00:00
module.exports = {
siteMetadata: {
title: `TWHelp Discord Bot`,
description: `Discord bot for online game Tribalwars. | Real-time notifications about lost/conquered village.`,
2020-06-30 11:12:39 +00:00
siteUrl,
2020-06-28 09:27:32 +00:00
twhelpUrl: "https://tribalwarshelp.com",
botInviteUrl:
"https://discord.com/oauth2/authorize?client_id=707859810900508703&scope=bot&permissions=8",
2020-06-30 12:09:37 +00:00
languages: ["en", "pl"],
author: "Dawid Wysokiński",
2020-06-28 09:27:32 +00:00
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Tribal Wars Bot`,
short_name: `twdcbot`,
start_url: `/`,
background_color: `#303032`,
theme_color: `#303032`,
2020-06-28 09:27:32 +00:00
display: `minimal-ui`,
icon: `src/images/icon.svg`, // This path is relative to the root of the site.
},
},
`gatsby-theme-material-ui`,
`gatsby-plugin-sitemap`,
2020-06-28 12:39:28 +00:00
{
resolve: "gatsby-plugin-robots-txt",
options: {
2020-06-30 11:12:39 +00:00
host: siteUrl,
sitemap: siteUrl + "/sitemap.xml",
2020-06-28 12:39:28 +00:00
env: {
development: {
policy: [{ userAgent: "*", disallow: ["/"] }],
},
production: {
policy: [{ userAgent: "*", allow: "/" }],
},
},
},
},
2020-06-30 11:12:39 +00:00
{
resolve: "gatsby-plugin-i18n",
options: {
langKeyDefault: "en",
langKeyForNull: "en",
useLangKeyLayout: false,
prefixDefault: false,
},
},
2020-06-28 09:27:32 +00:00
],
};