-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c4696ad
commit f02b618
Showing
2 changed files
with
384 additions
and
0 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,28 @@ | ||
'use client' | ||
|
||
import IsometricHandler from "@/components/isometric-handler" | ||
import Svg404 from '@/assets/svgs/404.svg' | ||
import { usePathname } from "next/navigation" | ||
import { Button } from "@/components/ui/button" | ||
import PencilIcon from "@/components/icons/pencil" | ||
import Link from "next/link" | ||
|
||
export default function Error() { | ||
const pathname = usePathname() | ||
|
||
return ( | ||
<div className="size-full flex flex-col gap-5 justify-center"> | ||
<IsometricHandler svg={<Svg404 />} /> | ||
<div className="flex flex-col gap-2"> | ||
<h2 className="text-3xl font-bold"> | ||
Page not found | ||
<span className="text-primary">.</span> | ||
</h2> | ||
<p className="text-muted-foreground">path: {pathname}</p> | ||
<Link href="/blog"> | ||
<Button className="w-max gap-2">See all Posts <PencilIcon variant="solid" className="size-3" /></Button> | ||
</Link> | ||
</div> | ||
</div> | ||
) | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.