Scaffold Next.js MVP foundation with pnpm
This commit is contained in:
27
app/audit/[slug]/page.tsx
Normal file
27
app/audit/[slug]/page.tsx
Normal file
@@ -0,0 +1,27 @@
|
||||
import { FileText } from "lucide-react";
|
||||
|
||||
export default async function PublicAuditPage({
|
||||
params,
|
||||
}: {
|
||||
params: Promise<{ slug: string }>;
|
||||
}) {
|
||||
const { slug } = await params;
|
||||
|
||||
return (
|
||||
<main className="flex min-h-dvh items-center justify-center bg-background px-6 py-12">
|
||||
<section className="w-full max-w-2xl rounded-lg border bg-card p-6 text-card-foreground">
|
||||
<FileText className="mb-5 size-6 text-muted-foreground" />
|
||||
<p className="text-sm font-medium text-muted-foreground">
|
||||
Audit: {slug}
|
||||
</p>
|
||||
<h1 className="mt-3 text-3xl font-semibold tracking-normal">
|
||||
Dieser Audit ist noch nicht freigegeben
|
||||
</h1>
|
||||
<p className="mt-4 text-sm leading-6 text-muted-foreground">
|
||||
Sobald der Bericht manuell geprueft und veroeffentlicht wurde,
|
||||
erscheinen hier die freigegebenen Beobachtungen und Empfehlungen.
|
||||
</p>
|
||||
</section>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user