This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Empty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react" | |
import {Link} from "gatsby" | |
import CookieConsent from "react-cookie-consent"; | |
import {rhythm, scale} from "../utils/typography" | |
import logo from '../../content/assets/improvebadcode.svg'; | |
class Layout extends React.Component { | |
render() { | |
const {location, title, children} = this.props; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
siteMetadata: { | |
title: `Improve bad code`, | |
titleTemplate: ``, | |
url: `https://www.improvebadcode.com/`, | |
twitterUsername: ``, | |
image: `content/assets/profile-pic.jpg`, | |
author: `Bojan Bedrač`, | |
description: `Personal blog about improving software development skills and becoming a better developer.`, | |
siteUrl: `https://www.improvebadcode.com/`, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
plugins: [ | |
{ | |
resolve: `gatsby-plugin-gdpr-cookies`, | |
options: { | |
googleAnalytics: { | |
trackingId: 'YOUR_GOOGLE_ANALYTICS_TRACKING_ID', | |
// Setting this parameter is optional | |
anonymize: true | |
}, |