404: Not Found
You just hit a route that doesn't exist... the sadness.
diff --git a/src/pages/about.js b/src/pages/about.js
index f4ff721..880ade6 100644
--- a/src/pages/about.js
+++ b/src/pages/about.js
@@ -5,9 +5,9 @@ import Seo from "../components/seo";
import { StaticImage } from "gatsby-plugin-image";
import * as styles from "./about.module.scss";
-const About = () => (
+const About = ({ location }) => (
-
+
Who We Are
diff --git a/src/pages/index.js b/src/pages/index.js
index 2f9d907..bd87a59 100644
--- a/src/pages/index.js
+++ b/src/pages/index.js
@@ -5,8 +5,7 @@ import Layout from "../components/layout";
import Seo from "../components/seo";
import * as styles from "./index.module.scss";
-const IndexPage = () => {
- const isNetlify = Boolean(process.env.NETLIFY);
+const IndexPage = ({ location }) => {
const { site } = useStaticQuery(
graphql`
query {
@@ -44,7 +43,7 @@ const IndexPage = () => {
return (
-
+
In Decentralized Curation We Trust
diff --git a/src/pages/{MarkdownRemark.frontmatter__slug}.js b/src/pages/{MarkdownRemark.frontmatter__slug}.js
index 7937dbf..330e591 100644
--- a/src/pages/{MarkdownRemark.frontmatter__slug}.js
+++ b/src/pages/{MarkdownRemark.frontmatter__slug}.js
@@ -5,7 +5,7 @@ import Seo from "../components/seo";
import * as styles from "./markdownPage.module.scss";
import * as cheerio from 'cheerio';
-export default function MarkdownPage({ data }) {
+export default function MarkdownPage({ data, location }) {
const { markdownRemark } = data; // data.markdownRemark holds your post data
const { frontmatter, html } = markdownRemark;
@@ -30,7 +30,7 @@ export default function MarkdownPage({ data }) {
return (
-
+
{!frontmatter.draft === true || process.env.ENV === "dev" ? (