Skip to content

Commit

Permalink
Update 404.js
Browse files Browse the repository at this point in the history
Testing: remove PDS components from page
  • Loading branch information
mel-miller committed Sep 28, 2023
1 parent 3dc2941 commit 4d5ecc9
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions src/pages/404.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import Layout from "../layout/layout"
import SEO from "../layout/seo"
import SVG404 from "../../source/images/404_dark.svg"

import { Container, FlexContainer } from "@pantheon-systems/pds-toolkit-react"

class NotFoundPage extends React.Component {
render() {
const { pathname } = this.props.location
Expand All @@ -15,24 +13,18 @@ class NotFoundPage extends React.Component {
title="404"
description="Zoinks! You've hit a URL that doesn't exist. Let's try a search:"
/>
<Container width="narrow">
<div>
<main id="docs-main">
<FlexContainer
alignContent="start"
alignItems="center"
flexDirection="column"
mobileFlex="same"
className="pds-spacing-mar-block-end-6xl"
>
<div className="pds-spacing-mar-block-end-6xl">
<h1>Sorry, there's no page at that URL.</h1>
<img
className="notfound"
style={{ maxWidth: 400 }}
src={SVG404}
/>
</FlexContainer>
</div>
</main>
</Container>
</div>
</Layout>
)
}
Expand Down

0 comments on commit 4d5ecc9

Please sign in to comment.