Initialize project and port basics

This commit is contained in:
Kevin Kandlbinder 2020-12-21 18:23:28 +01:00
commit ebb4f4d515
31 changed files with 20401 additions and 0 deletions

53
gatsby-config.js Normal file
View file

@ -0,0 +1,53 @@
module.exports = {
siteMetadata: {
title: `KevinK.dev`,
description: `Hallo, ich bin Kevin Kandlbinder, ein Entwickler und Hobby-Fotograf aus Norddeutschland.`,
author: `@Unkn0wnKevin`,
siteUrl: `https://kevink.dev`,
},
plugins: [
`gatsby-plugin-sharp`,
`gatsby-plugin-sass`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `KevinK.dev`,
short_name: `KevinK.dev`,
start_url: `/`,
background_color: `#000710`,
theme_color: `#000710`,
display: `minimal-ui`,
icon: `src/images/fullbglogo@10x.png`, // This path is relative to the root of the site.
cache_busting_mode: 'none',
},
},
`gatsby-plugin-robots-txt`,
{
resolve: `gatsby-plugin-offline`,
options: {
precachePages: ["/", "/projects", "/projects/*", "/social", "/social/*"],
workboxConfig: {
globPatterns: ['**/*']
}
},
},
`gatsby-plugin-sitemap`,
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-plugin-react-i18next`,
options: {
path: `${__dirname}/locales`,
languages: [`en`, `de`],
defaultLanguage: null,
siteURL: "https://kevink.dev",
i18nextOptions: {
interpolation: {
escapeValue: false // not needed for react as it escapes by default
},
keySeparator: false,
nsSeparator: false
}
}
}
]
}