react-scroll-progress-read
Version:
Progress Bar for show position of scroll page
64 lines (63 loc) • 1.55 kB
JavaScript
module.exports = {
siteMetadata: {
title: `React Scroll Progress Read`,
description: `Example of using component react-scroll-progress-read`,
author: `@PatrickFaramaz`,
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-plugin-mdx`,
options: {
extensions: [".mdx", ".md"],
gatsbyRemarkPlugins: [
{
resolve: "gatsby-remark-images",
options: {
maxWidth: 1035,
},
},
{
resolve: `gatsby-remark-prismjs`,
options: {
// showLineNumbers: true,
classPrefix: "language-",
inlineCodeMarker: {
tsx: "tsx",
},
aliases: {},
},
},
],
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `content`,
path: `${__dirname}/src/content`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `gatsby-starter-default`,
short_name: `starter`,
start_url: `/`,
background_color: `#aabf40`,
theme_color: `#aabf40`,
display: `minimal-ui`,
icon: `src/images/icon.png`, // This path is relative to the root of the site.
},
},
],
}