Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

Commit

Permalink
feat: 404 page improved (#868)
Browse files Browse the repository at this point in the history
* 404 page improved along with chat bubble texts

* chat bubbles removed in favor of a cleaner look

Co-authored-by: Aitor De Blas <aitordeblas@gigabyteaero15-aitor.WiboxHome>
  • Loading branch information
dbgithub and Aitor De Blas committed Oct 31, 2020
1 parent 9ba5a42 commit ac6aa63
Show file tree
Hide file tree
Showing 3 changed files with 37,902 additions and 140 deletions.
12 changes: 4 additions & 8 deletions src/containers/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,12 @@ function NoMatch() {
return (
<NotFound>
<Wrapper>
<h2>Oh No! This page does not exist yet. Would you like to build it?</h2>
<img alt="404" src={ohno} />
<SpaceAround>
<MarketingButton primary onClick={() => history.push("/")}>
Back to safety
</MarketingButton>
<a rel="noreferrer" target="_blank" href="https://github.com/open-sauced/open-sauced/issues/new/choose">
<MarketingButton>Click here if yes</MarketingButton>
</a>
<img alt="404" src={ohno} />
</SpaceAround>
<MarketingButton primary onClick={() => history.push("/")}>
Back to home
</MarketingButton>
</Wrapper>
</NotFound>
);
Expand Down
38,027 changes: 37,897 additions & 130 deletions src/images/404.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions src/styles/NotFound.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@ const NotFound = styled.section`
}
img {
width: 50%;
width: 70%;
padding: 30px;
${MEDIA.TABLET`
width: 90%;
padding: 0;
`};
}
`;
Expand Down

0 comments on commit ac6aa63

Please sign in to comment.