aboutsummaryrefslogtreecommitdiffhomepage
path: root/gatsby-config.ts
diff options
context:
space:
mode:
authorKevin Hoerr <kjhoerr@protonmail.com>2022-11-28 17:37:25 -0500
committerGitHub <noreply@github.com>2022-11-28 17:37:25 -0500
commit832794e035705e7f0a5989ce240a385e5ccebf62 (patch)
treeed836a8473688545e93270f25697433e77feba20 /gatsby-config.ts
parent73736f0873017967e78538d42fcfabb60ba8b4a2 (diff)
downloadsubmelon.dev-832794e035705e7f0a5989ce240a385e5ccebf62.tar.gz
submelon.dev-832794e035705e7f0a5989ce240a385e5ccebf62.tar.bz2
submelon.dev-832794e035705e7f0a5989ce240a385e5ccebf62.zip
Reintegrate GraphQL (#23)
* Use GraphQL for site metadata incl version * Explicit props for passthrough components
Diffstat (limited to 'gatsby-config.ts')
-rw-r--r--gatsby-config.ts52
1 files changed, 52 insertions, 0 deletions
diff --git a/gatsby-config.ts b/gatsby-config.ts
new file mode 100644
index 0000000..670bcf5
--- /dev/null
+++ b/gatsby-config.ts
@@ -0,0 +1,52 @@
+module.exports = {
+ siteMetadata: {
+ title: "Kevin J Hoerr <kjhoerr@submelon.tech>",
+ description: "The official website of Kevin Hoerr, developer of websites.",
+ author: "Kevin J Hoerr",
+ version: "1669668242",
+ },
+ graphqlTypegen: true,
+ plugins: [
+ "gatsby-plugin-styled-components",
+ "gatsby-plugin-image",
+ {
+ resolve: `gatsby-plugin-manifest`,
+ options: {
+ name: `Kevin J Hoerr`,
+ short_name: `kjhoerr`,
+ start_url: `/`,
+ background_color: `#e1e1e1`,
+ theme_color: `#e1e1e1`,
+ display: `browser`,
+ icon: `src/images/favicon-70x70.png`,
+ cache_busting_mode: `none`,
+ },
+ },
+ {
+ resolve: `gatsby-plugin-offline`,
+ options: {
+ workboxConfig: {
+ globPatterns: ["**/icons*"],
+ },
+ },
+ },
+ "gatsby-plugin-sharp",
+ "gatsby-transformer-sharp",
+ {
+ resolve: "gatsby-source-filesystem",
+ options: {
+ name: "images",
+ path: "./src/images/",
+ },
+ __key: "images",
+ },
+ {
+ resolve: "gatsby-source-filesystem",
+ options: {
+ name: "pages",
+ path: "./src/pages/",
+ },
+ __key: "pages",
+ },
+ ],
+};