diff --git a/gatsby-config.js b/gatsby-config.js index 16c26d2..833244d 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -3,6 +3,8 @@ module.exports = { title: `Matúš Námešný`, description: `Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files you might need.`, author: `Matúš Námešný`, + user: "guest", + hostname: "namesny.com", email: "matus@namesny.com", social: [ { diff --git a/src/components/header.js b/src/components/header.js index 6539d67..a921561 100644 --- a/src/components/header.js +++ b/src/components/header.js @@ -1,25 +1,24 @@ import { Link } from "gatsby" -import Social from "./social" import PropTypes from "prop-types" import React from "react" import styles from "../styles/header.module.scss" -const Header = ({ path, social, email }) => ( +const Header = ({ user, hostname }) => (
- ~{path} $ + {user}@{hostname} ~ $