summaryrefslogtreecommitdiff
path: root/src/components/header.js
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2019-03-07 15:31:11 -0800
committerNick Van Doorn <vandoorn.nick@gmail.com>2019-03-07 15:31:11 -0800
commit6b82b24a8ad1e390c7b6e7338138582391ceff50 (patch)
tree00a586dda9debda19706426edcc6be02e3b22ebb /src/components/header.js
parentd8e0d85ab2cab62ac732239b06200e48f4df82be (diff)
Update an old beta project & live to tell the tale
Diffstat (limited to 'src/components/header.js')
-rw-r--r--src/components/header.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/header.js b/src/components/header.js
index 6e1c857..c84ef74 100644
--- a/src/components/header.js
+++ b/src/components/header.js
@@ -1,5 +1,5 @@
import React from 'react'
-import { css } from 'react-emotion'
+import { css } from '@emotion/core'
import { Link } from 'gatsby'
import { Nav } from './nav'
import { Social } from './social'
@@ -23,10 +23,10 @@ const headerLeftStyle = css`
`
export const Header = p => (
- <header className={headerStyle}>
- <div className={headerLeftStyle}>
+ <header css={headerStyle}>
+ <div css={headerLeftStyle}>
<h1>
- <Link to="/" className={headerLinkStyle}>
+ <Link to="/" css={headerLinkStyle}>
{p.siteName}
</Link>
</h1>