diff --git a/src/app/admin/clients/page.tsx b/src/app/admin/clients/page.tsx
new file mode 100644
index 0000000..460f15a
--- /dev/null
+++ b/src/app/admin/clients/page.tsx
@@ -0,0 +1,67 @@
+import Link from "next/link";
+import { getAllClientsWithPayments } from "@/lib/admin-queries";
+import { ClientRow } from "@/components/admin/ClientRow";
+import { Button } from "@/components/ui/button";
+
+export const revalidate = 0;
+
+export default async function AdminClientsPage({
+ searchParams,
+}: {
+ searchParams: Promise<{ archived?: string }>;
+}) {
+ const { archived } = await searchParams;
+ const showArchived = archived === "1";
+ const clients = await getAllClientsWithPayments(showArchived);
+
+ return (
+
+
+
+
+ + Nuovo cliente
+
+
+
+ {clients.length === 0 ? (
+
+
{showArchived ? "Nessun cliente archiviato." : "Nessun cliente ancora."}
+ {!showArchived && (
+
+
+ Crea il primo cliente
+
+
+ )}
+
+ ) : (
+
+
+
+
+ Cliente
+ LTV
+ Importo incassato
+ Importo da saldare
+ Link
+
+
+
+ {clients.map((client) => (
+
+ ))}
+
+
+
+ )}
+
+ );
+}
diff --git a/src/app/admin/page.tsx b/src/app/admin/page.tsx
index 0d80a59..4222666 100644
--- a/src/app/admin/page.tsx
+++ b/src/app/admin/page.tsx
@@ -1,67 +1,6 @@
-import Link from "next/link";
-import { getAllClientsWithPayments } from "@/lib/admin-queries";
-import { ClientRow } from "@/components/admin/ClientRow";
-import { Button } from "@/components/ui/button";
+import { redirect } from "next/navigation";
-export const revalidate = 0;
-
-export default async function AdminDashboard({
- searchParams,
-}: {
- searchParams: Promise<{ archived?: string }>;
-}) {
- const { archived } = await searchParams;
- const showArchived = archived === "1";
- const clients = await getAllClientsWithPayments(showArchived);
-
- return (
-
-
-
-
- + Nuovo cliente
-
-
-
- {clients.length === 0 ? (
-
-
{showArchived ? "Nessun cliente archiviato." : "Nessun cliente ancora."}
- {!showArchived && (
-
-
- Crea il primo cliente
-
-
- )}
-
- ) : (
-
-
-
-
- Cliente
- LTV
- Importo incassato
- Importo da saldare
- Link
-
-
-
- {clients.map((client) => (
-
- ))}
-
-
-
- )}
-
- );
-}
\ No newline at end of file
+// Dashboard page — content added in Phase 6 Plan 02
+export default function AdminRoot() {
+ redirect("/admin/clients");
+}