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: add custom 404 page similar to default Next.js one #1808

Merged
merged 1 commit into from
Jan 30, 2025
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
16 changes: 16 additions & 0 deletions apps/web/src/app/not-found.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
export default function NotFound() {
return (
<div className="flex h-screen flex-col items-center justify-center font-sans">
<div className="flex leading-[48px]">
<h1 className="mr-5 inline-block border-r border-current pr-6 text-2xl font-medium text-opacity-30 align-top">
404
</h1>
<div className="inline-block">
<h2 className="text-sm font-normal leading-7">
This page could not be found.
</h2>
</div>
</div>
</div>
)
}
Loading