2020-06-21 23:09:50 +00:00
|
|
|
export const siteMetadata = {
|
|
|
|
title: `USACO Guide`,
|
|
|
|
description: `A collection of curated, high-quality resources to take you from Bronze to Platinum.`,
|
|
|
|
author: `@usacoteam`,
|
|
|
|
};
|
|
|
|
export const plugins = [
|
2020-06-24 20:52:45 +00:00
|
|
|
{
|
|
|
|
resolve: `gatsby-plugin-typescript`,
|
|
|
|
options: {
|
|
|
|
allowNamespaces: true,
|
|
|
|
},
|
|
|
|
},
|
2020-06-21 23:09:50 +00:00
|
|
|
{
|
|
|
|
resolve: `gatsby-source-filesystem`,
|
|
|
|
options: {
|
|
|
|
path: `${__dirname}/content`,
|
|
|
|
name: `content`,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
resolve: `gatsby-plugin-mdx`,
|
|
|
|
options: {
|
|
|
|
extensions: [`.mdx`, `.md`],
|
|
|
|
gatsbyRemarkPlugins: [
|
|
|
|
`gatsby-remark-autolink-headers`,
|
|
|
|
{
|
|
|
|
resolve: `gatsby-remark-katex`,
|
|
|
|
options: {
|
|
|
|
// Add any KaTeX options from https://github.com/KaTeX/KaTeX/blob/master/docs/options.md here
|
|
|
|
strict: `ignore`,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
plugins: [`gatsby-remark-autolink-headers`],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
resolve: `gatsby-plugin-postcss`,
|
|
|
|
options: {
|
|
|
|
postCssPlugins: [
|
|
|
|
require(`tailwindcss`),
|
|
|
|
require(`autoprefixer`),
|
|
|
|
...(process.env.NODE_ENV === `production` ? [require(`cssnano`)] : []),
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
`gatsby-plugin-react-helmet`,
|
|
|
|
`gatsby-transformer-sharp`,
|
|
|
|
`gatsby-plugin-sharp`,
|
2020-06-25 01:20:35 +00:00
|
|
|
{
|
|
|
|
resolve: `gatsby-plugin-manifest`,
|
|
|
|
options: {
|
|
|
|
name: `USACO Guide`,
|
|
|
|
short_name: `USACO`,
|
|
|
|
start_url: `/`,
|
|
|
|
background_color: `#113399`,
|
|
|
|
theme_color: `#113399`,
|
|
|
|
display: `minimal-ui`,
|
|
|
|
icon: `src/assets/logo-square.png`, // This path is relative to the root of the site.
|
|
|
|
},
|
|
|
|
},
|
2020-06-21 23:09:50 +00:00
|
|
|
// this (optional) plugin enables Progressive Web App + Offline functionality
|
|
|
|
// To learn more, visit: https://gatsby.dev/offline
|
|
|
|
// `gatsby-plugin-offline`,
|
|
|
|
];
|