Files
MineGeo/app/not-found.tsx
pavel444-byte 927923dc95
Some checks failed
Deploy MineGeo to Dokploy / deploy (push) Failing after 11m31s
Improve accessibility and polish page styling
2026-10-24 14:11:17 +05:00

16 lines
519 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { getI18n } from "@/lib/i18n";
import Link from "next/link";
export default async function NotFound() {
const { t } = await getI18n();
return (
<main className="section page-content" id="main-content" tabIndex={-1}>
<span className="eyebrow">{t("UNKNOWN COORDINATES")}</span>
<h1>{t("Uncharted territory.")}</h1>
<p>{t("This map or page isn’t available.")}</p>
<Link className="button primary" href="/servers">
{t("Explore worlds →")}
</Link>
</main>
);
}