-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add custom 404 page & conditionally render analytics script
- Loading branch information
1 parent
f82da60
commit 2d4882f
Showing
2 changed files
with
22 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Link, PageContainer, PageHeader } from '@/components' | ||
|
||
export default function NotFound() { | ||
const title = '404' | ||
|
||
return ( | ||
<PageContainer seoProps={{ title, noindex: true }}> | ||
<PageHeader title="404 | Page not found!" /> | ||
<Link url="/">Back to Home</Link> | ||
</PageContainer> | ||
) | ||
} |
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
2d4882f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
website – ./
website-git-main-hendraaagil.vercel.app
hendraaagil.vercel.app
hendraaagil.id
website-hendraaagil.vercel.app
hendraaagil.dev