mirror of
https://github.com/Snigdha-OS/Snigdha-OS.github.io.git
synced 2025-09-06 12:45:18 +02:00
🛠️ build(static): change from astro to gatsby
This commit is contained in:
49
gatsby-config.js
Normal file
49
gatsby-config.js
Normal file
@@ -0,0 +1,49 @@
|
||||
module.exports = {
|
||||
siteMetadata: {
|
||||
title: `Bart Zalewski | Front-end Developer`,
|
||||
author: `Bart Zalewski`,
|
||||
role: `Front-end Developer`,
|
||||
},
|
||||
plugins: [
|
||||
{
|
||||
resolve: `gatsby-plugin-google-analytics`,
|
||||
options: {
|
||||
trackingId: process.env.GOOGLE_ANALYTICS_ID,
|
||||
head: true,
|
||||
anonymize: true,
|
||||
},
|
||||
},
|
||||
`gatsby-plugin-react-helmet`,
|
||||
`gatsby-plugin-styled-components`,
|
||||
{
|
||||
resolve: `gatsby-source-contentful`,
|
||||
options: {
|
||||
spaceId: process.env.CONTENTFUL_SPACE_ID,
|
||||
accessToken: process.env.CONTENTFUL_ACCESS_TOKEN,
|
||||
},
|
||||
},
|
||||
{
|
||||
resolve: `gatsby-source-filesystem`,
|
||||
options: {
|
||||
name: `images`,
|
||||
path: `${__dirname}/src/images`,
|
||||
},
|
||||
},
|
||||
`gatsby-transformer-sharp`,
|
||||
`gatsby-plugin-sharp`,
|
||||
{
|
||||
resolve: `gatsby-plugin-manifest`,
|
||||
options: {
|
||||
name: `Bart Zalewski | Front-end Developer`,
|
||||
short_name: `Bart Zalewski`,
|
||||
start_url: `/`,
|
||||
background_color: `#02D463`,
|
||||
theme_color: `#02D463`,
|
||||
display: `minimal-ui`,
|
||||
icon: `src/images/logo.png`,
|
||||
},
|
||||
},
|
||||
`gatsby-plugin-offline`,
|
||||
`gatsby-plugin-image`,
|
||||
],
|
||||
}
|
Reference in New Issue
Block a user