This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
2020-02-20 16:35:07 +00:00
|
|
|
import React from "react";
|
2020-02-28 11:30:27 +00:00
|
|
|
import PropTypes from "prop-types";
|
2020-02-20 16:35:07 +00:00
|
|
|
import SEO from "../components/seo";
|
|
|
|
import { App } from "../components";
|
|
|
|
import "../global.scss";
|
2020-02-27 11:16:05 +00:00
|
|
|
import LocationContext from "../LocationContext";
|
2020-02-20 16:35:07 +00:00
|
|
|
|
2020-02-28 11:30:27 +00:00
|
|
|
export default function IndexPage({ location }) {
|
|
|
|
return (
|
|
|
|
<LocationContext.Provider value={location}>
|
|
|
|
<SEO />
|
|
|
|
<App />
|
|
|
|
</LocationContext.Provider>
|
|
|
|
);
|
|
|
|
}
|
2020-02-20 16:35:07 +00:00
|
|
|
|
2020-02-28 11:30:27 +00:00
|
|
|
IndexPage.propTypes = {
|
|
|
|
location: PropTypes.object.isRequired
|
|
|
|
};
|