style: redesign 404 page

This commit is contained in:
trafficlunar 2025-04-18 18:10:03 +01:00
parent ff13f85dee
commit eef495e809

View file

@ -1,13 +1,17 @@
import Link from "next/link";
import { Icon } from "@iconify/react";
export default function NotFound() {
return (
<div className="flex flex-col items-center">
<div className="flex-grow flex items-center justify-center">
<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">
<h2 className="text-7xl font-black">404</h2>
<p className="text-xl">Page not found</p>
<Link href="/" className="pill button mt-8">
<p>Page not found</p>
<Link href="/" className="pill button gap-1 mt-8 w-fit self-center">
<Icon icon="ic:round-home" fontSize={22} />
Return Home
</Link>
</div>
</div>
);
}