feat: various improvements

- add Terms of Service
- add dark mode
- use cards for blog with excerpt
This commit is contained in:
Felix Schröter 2022-11-15 19:15:11 +01:00
parent 5df4d34780
commit df2fd8a520
Signed by: felschr
GPG key ID: 671E39E6744C807D
12 changed files with 1021 additions and 268 deletions

View file

@ -2,8 +2,10 @@ import type { GatsbyConfig } from "gatsby";
const config: GatsbyConfig = {
siteMetadata: {
title: `felschr.com`,
siteUrl: `https://felschr.com`
title: "felschr's dev blog",
headline: "Engineering software with passion",
author: "Felix Schröter",
siteUrl: "https://felschr.com",
},
graphqlTypegen: true,
plugins: [
@ -25,7 +27,9 @@ const config: GatsbyConfig = {
{
resolve: "gatsby-remark-highlight-code",
options: {
terminal: "none"
terminal: "carbon",
theme: "one-dark",
lineNumbers: true,
}
},
],
@ -34,6 +38,7 @@ const config: GatsbyConfig = {
"gatsby-plugin-mdx-frontmatter",
"gatsby-plugin-sharp",
"gatsby-transformer-sharp",
"gatsby-plugin-mdx-source-name",
{
resolve: "gatsby-source-filesystem",
options: {