Files
MineGeo/app/support/[id]/page.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

23 lines
644 B
TypeScript

import { notFound } from "next/navigation";
import { z } from "zod";
import { Header, Footer } from "@/components/Shell";
import { SupportConversation } from "@/components/Support";
export const metadata = { robots: { index: false, follow: false } };
export default async function Report({
params,
}: {
params: Promise<{ id: string }>;
}) {
const { id } = await params;
if (!z.string().uuid().safeParse(id).success) notFound();
return (
<>
<Header />
<main className="section page-content" id="main-content" tabIndex={-1}>
<SupportConversation key={id} id={id} />
</main>
<Footer />
</>
);
}