-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: configure error page * feat: not-found 404 * feat: log error * Update not-found.tsx --------- Co-authored-by: Lachezar Marinov <[email protected]>
- Loading branch information
1 parent
ab7e186
commit fb6bd51
Showing
2 changed files
with
47 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
'use client'; | ||
|
||
import { CustomButton } from '@/components/Buttons/CustomButton'; | ||
import { Topbar } from '@/components/Topbar/Topbar'; | ||
|
||
export default function NotFound() { | ||
return ( | ||
<div className="flex flex-col h-screen"> | ||
<Topbar /> | ||
<main className="flex h-full flex-col items-center justify-center gap-2 text-content"> | ||
<section className="text-center"> | ||
<h2 className="text-xl font-semibold">Ooops</h2> | ||
<p>The requested page could not be found.</p> | ||
</section> | ||
<div className="flex flex-row gap-2 mt-4"> | ||
<a href="/"> | ||
<CustomButton variant="solid" size="lg"> | ||
Go to Home page | ||
</CustomButton> | ||
</a> | ||
</div> | ||
</main> | ||
</div> | ||
); | ||
} |