lint fixes
This commit is contained in:
parent
a6ff2babc1
commit
f4ebfd16eb
|
@ -1,11 +1,12 @@
|
|||
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="page-header" style={{ backgroundImage: `url(${publicRuntimeConfig.subDirPath}/static/img/header-bg.jpg)` }}>
|
||||
<div className="container">
|
||||
<nav className="page-header-nav">
|
||||
<AnchorLink offset="24" href="#resources">Resources</AnchorLink>
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
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="search-bar" style={{ backgroundImage: `url(${publicRuntimeConfig.subDirPath}/static/img/header-bg.jpg)` }}>
|
||||
<div className="container">
|
||||
<h3>Browse</h3>
|
||||
<form className="search-form">
|
||||
|
|
Loading…
Reference in New Issue