style: redesign 404 page
This commit is contained in:
parent
ff13f85dee
commit
eef495e809
1 changed files with 10 additions and 6 deletions
|
|
@ -1,13 +1,17 @@
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
|
import { Icon } from "@iconify/react";
|
||||||
|
|
||||||
export default function NotFound() {
|
export default function NotFound() {
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col items-center">
|
<div className="flex-grow flex items-center justify-center">
|
||||||
<h2 className="text-7xl font-black">404</h2>
|
<div className="bg-amber-50 border-2 border-amber-500 rounded-2xl shadow-lg p-8 max-w-xs w-full text-center flex flex-col">
|
||||||
<p className="text-xl">Page not found</p>
|
<h2 className="text-7xl font-black">404</h2>
|
||||||
<Link href="/" className="pill button mt-8">
|
<p>Page not found</p>
|
||||||
Return Home
|
<Link href="/" className="pill button gap-1 mt-8 w-fit self-center">
|
||||||
</Link>
|
<Icon icon="ic:round-home" fontSize={22} />
|
||||||
|
Return Home
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue