Grapevine_Disease_Detection/vineye-admin/app/(admin)/guides/page.tsx
Yanis fe70005a86 add vineye-admin dashboard (Next.js)
Admin panel for VinEye with dashboard, users, diseases, guides, alerts management.
Stack: Next.js App Router + Prisma + PostgreSQL + better-auth.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 11:22:01 +02:00

13 lines
300 B
TypeScript

import { prisma } from "@/lib/prisma";
import GuidesClient from "./guides-client";
export const dynamic = "force-dynamic";
export default async function GuidesPage() {
const guides = await prisma.guide.findMany({
orderBy: { order: "asc" },
});
return <GuidesClient guides={guides} />;
}