mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-02-13 21:35:44 +01:00
fix: resolve Prettier markdown code block parsing errors
- 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
This commit is contained in:
19
app/auth/[path]/page.tsx
Normal file
19
app/auth/[path]/page.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user