Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 404 #20

Merged
merged 1 commit into from
Dec 10, 2023
Merged
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
21 changes: 21 additions & 0 deletions src/app/not-found.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import Link from 'next/link';
import React from 'react';
import { Button } from 'src/components/atoms';

const NotFound = () => {
return (
<div className="flex items-center justify-center h-screen">
<div className="text-center">
<h2 className="text-4xl font-bold mb-4">Page Not Found</h2>
<p className="text-gray-600 mb-8">
The requested resource could not be found.
</p>
<Link className="text-blue-500 underline" href="/">
<Button>Return Home</Button>
</Link>
</div>
</div>
);
};

export default NotFound;