We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c348b6c commit ccbc378Copy full SHA for ccbc378
src/templates/header.js
@@ -1,8 +1,8 @@
1
import PropTypes from "prop-types"
2
import React from "react"
3
import { Nav } from 'bricks'
4
-import { Logo } from '../components/logo'
5
import { Link } from 'gatsby'
+import { Logo } from '../components/logo'
6
7
const links = [
8
{title: 'Work', link: '/work'},
@@ -12,8 +12,7 @@ const links = [
12
{title: 'Contact', link: '/contact'},
13
]
14
15
-const Header = ({ siteTitle }) => {
16
- return (
+const Header = ({ siteTitle }) => (
17
<header>
18
<div>
19
<Nav
@@ -24,7 +23,6 @@ const Header = ({ siteTitle }) => {
24
23
</div>
25
</header>
26
)
27
-}
28
29
Header.propTypes = {
30
siteTitle: PropTypes.string,
0 commit comments