🛠️ build(static): change from astro to gatsby

This commit is contained in:
Eshan Roy (Eshanized)
2024-06-20 04:16:43 +05:30
parent 1e87593338
commit da74d8c220
62 changed files with 34603 additions and 9054 deletions

49
gatsby-config.js Normal file
View 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`,
],
}