lint fixes

This commit is contained in:
Sharyn 2018-07-11 15:53:09 +02:00
parent a6ff2babc1
commit f4ebfd16eb
2 changed files with 6 additions and 4 deletions

View File

@ -1,9 +1,10 @@
import React from 'react';
import AnchorLink from 'react-anchor-link-smooth-scroll';
import getConfig from 'next/config';
const { publicRuntimeConfig } = getConfig();
import './style.scss';
const { publicRuntimeConfig } = getConfig();
const PageHeader = () => (
<div className="page-header" style={{ backgroundImage: `url(${publicRuntimeConfig.subDirPath}/static/img/header-bg.jpg)` }}>
<div className="container">

View File

@ -1,9 +1,10 @@
import React from 'react';
import { PropTypes } from 'prop-types';
import getConfig from 'next/config';
const { publicRuntimeConfig } = getConfig();
import './style.scss';
const { publicRuntimeConfig } = getConfig();
const SearchBar = props => (
<div className="search-bar" style={{ backgroundImage: `url(${publicRuntimeConfig.subDirPath}/static/img/header-bg.jpg)` }}>
<div className="container">