This commit is contained in:
PxlLoewe
2025-02-15 18:06:21 +01:00
parent 1fba206dbf
commit bb9feaa1cc
14 changed files with 224 additions and 14 deletions

View File

@@ -1,16 +1,11 @@
import Link from 'next/link';
import { PrismaClient } from '@repo/db';
import { PaginatedTable } from './_components/PaginatedTable';
import { Header } from './_components/ui/Header';
export default async function Home() {
const prisma = new PrismaClient();
return (
<div>
<h1 className="text-5xl">Hub</h1>
<Link href="/logout">
<button className="btn">Logout</button>
</Link>
<Header />
<PaginatedTable
rowsPerPage={10}
prismaModel={'user'}