Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

(feat): 404 not found page added #56

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions starter/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ img:hover {
opacity: 1;
transition: opacity 0.25s cubic-bezier(0.39, 0.575, 0.565, 1);
}

.not-found{
text-align: center;
}
19 changes: 19 additions & 0 deletions starter/pages/404.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import Link from "next/link"

const NotFoundPage = () => {
return (
<div className="not-found">
<h1>Oooopss....</h1>
<h2>Page Not Found</h2>
<p>
Click
<Link href="/">
<a>here</a>
</Link>
to go back to the homepage
</p>
</div>
)
}

export default NotFoundPage