Skip to content

Commit

Permalink
chore: Fix footer on 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jun 19, 2020
1 parent cebe70f commit 60a5c75
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/404.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import cx from 'classnames';
import { Link } from 'gatsby';
import SEO from '../components/Seo';
import SkewedContainer from '../components/SkewedContainer';
Expand All @@ -22,7 +23,9 @@ const NotFoundPage = ({ pageContext }) => (
</p>
</SkewedContainer>
</div>
<Footer />
<div className={styles.footerContainer}>
<Footer className={cx(styles.footer, 'site-container')} />
</div>
</div>
</PageContext.Provider>
);
Expand Down
10 changes: 10 additions & 0 deletions src/pages/404.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,13 @@
font-size: 1.125rem;
padding: 8rem 0;
}

.footerContainer {
background: var(--color-neutrals-800);
padding: 1.5rem;
}

.footer {
color: var(--color-teal-300);
padding: 0 2rem;
}

0 comments on commit 60a5c75

Please sign in to comment.