mirror of
https://github.com/kremalicious/portfolio.git
synced 2024-12-22 09:13:19 +01:00
header hack
This commit is contained in:
parent
de4f7f780d
commit
97e53ae67b
@ -4,7 +4,8 @@ import PropTypes from 'prop-types'
|
||||
import Social from './Social'
|
||||
import './Header.scss'
|
||||
|
||||
const Header = ({ meta, minimal }) => {
|
||||
const Header = ({ meta }) => {
|
||||
const minimal = location.pathname === '/' ? false : true
|
||||
const classes = minimal ? 'header header--minimal' : 'header'
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user