feat(public): render responsive character guides

This commit is contained in:
2026-08-28 19:21:57 +00:00 Unverified
parent 139a9081ed
commit 6c9152eebd
15 changed files with 1429 additions and 61 deletions
+16
View File
@@ -0,0 +1,16 @@
import { notFound, permanentRedirect } from "next/navigation";
import { connection } from "next/server";
import { loadPublicPage } from "@/lib/content/loaders";
export default async function CharacterPage({
params,
}: {
params: Promise<{ character: string }>;
}) {
await connection();
const { character } = await params;
const result = await loadPublicPage(character);
if (result.type === "redirect") permanentRedirect(result.location);
notFound();
}