This commit is contained in:
Saeed Vaziry
2025-05-15 14:23:26 +03:00
parent a81e9b18b7
commit b8ba83949b
47 changed files with 1536 additions and 980 deletions

View File

@ -1,9 +1,10 @@
import type { Server } from '@/types/server';
import type { ServerLog } from '@/types/server-log';
import { DataTable } from '@/components/data-table';
import { columns } from '@/pages/server-logs/partials/columns';
import { columns } from '@/pages/server-logs/components/columns';
import { usePage } from '@inertiajs/react';
import Container from '@/components/container';
import Heading from '@/components/heading';
export default function ServerOverview() {
const page = usePage<{
@ -15,6 +16,7 @@ export default function ServerOverview() {
return (
<Container className="max-w-3xl">
<Heading title="Overview" description="Here you can see an overview of your server" />
<DataTable columns={columns} data={page.props.logs.data} />
</Container>
);