Skip to content

Commit

Permalink
feat: Add "Not Found" page for HSR, Wuthering Waves, and Zenless
Browse files Browse the repository at this point in the history
  • Loading branch information
dvaJi committed Jul 23, 2024
1 parent 326db45 commit bfa5dd9
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions app/[lang]/tof/not-found.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
"use client";

import Image from "next/image";
import Link from "next/link";

export default function Error() {
return (
<div className="relative z-20 overflow-hidden p-6">
<Image
className="absolute -top-4 left-0 z-10 opacity-20 grayscale md:opacity-40 lg:opacity-50"
src="/imgs/stickers/Icon_Emoji_Cry_Animated.webp"
width={250}
height={400}
alt="Nicole"
unoptimized
/>
<div className="relative z-20 text-center">
<h2 className="mb-6 text-3xl">Page not found</h2>
<p className="text-lg">
We&apos;re sorry, but the page you are looking for does not exist.
<br />
<br />
<br />
<Link href="/hsr">
<button className="rounded-2xl border-2 border-black px-4 py-2 font-semibold ring-black transition-all hover:bg-white hover:ring-4">
Go Home
</button>
</Link>
</p>
</div>
</div>
);
}

0 comments on commit bfa5dd9

Please sign in to comment.