mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-02-13 13:55:42 +01:00
- Fix syntax errors in skills markdown files (.github/skills, .opencode/skills) - Change typescript to tsx for code blocks with JSX - Replace ellipsis (...) in array examples with valid syntax - Separate CSS from TypeScript into distinct code blocks - Convert JavaScript object examples to valid JSON in docs - Fix enum definitions with proper comma separation
20 lines
483 B
TypeScript
20 lines
483 B
TypeScript
import { AuthView } from "@neondatabase/auth/react";
|
|
|
|
export function generateStaticParams() {
|
|
return [{ path: "sign-in" }, { path: "sign-up" }, { path: "sign-out" }];
|
|
}
|
|
|
|
export default async function AuthPage({
|
|
params,
|
|
}: {
|
|
params: Promise<{ path: string }>;
|
|
}) {
|
|
const { path } = await params;
|
|
|
|
return (
|
|
<main className="container mx-auto flex grow flex-col items-center justify-center gap-3 self-center p-4 md:p-6">
|
|
<AuthView path={path} />
|
|
</main>
|
|
);
|
|
}
|