feat: implement sidebar navigation and automated order management module with PostgreSQL client integration

This commit is contained in:
Michael committed 2026-04-08 15:53:59 +02:00
1 parent d25ffdb3e7
commit 70c425befb
6 files changed
+351 -1

No files matched your search

@@ -0,0 +1,16 @@
import { pgGetCommandesAuto, type PgCommandeAutoRow } from "@/lib/pg-ff-client";
import { CommandesAutoClient } from "./client";
export type { PgCommandeAutoRow };
export default async function CommandesAutoPage() {
const rows = await pgGetCommandesAuto();
return (
<div className="min-h-screen bg-gray-50 p-6">
<div className="mx-auto max-w-screen-2xl">
<h1 className="mb-6 text-3xl font-bold text-gray-900">Commandes automatiques</h1>
<CommandesAutoClient rows={rows} />
</div>
</div>
);
}