Skip to content

Commit

Permalink
#58 Add 404-page
Browse files Browse the repository at this point in the history
  • Loading branch information
SandraBergstrom committed Jul 5, 2023
1 parent c0daa2d commit b41882e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/components/NotFound.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import React from "react";
import NoResults from "../assets/no-results.png";
import styles from "../styles/NotFound.module.css";
import Asset from "../components/Asset";

const NotFound = () => {
return (
<div className="styles.marginTop">
<Asset
src={NoResults}
message={"Sorry, the page you are looking for doesn't exist"}
/>
</div>
);
};

export default NotFound;

0 comments on commit b41882e

Please sign in to comment.