mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
projects
This commit is contained in:
@ -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>
|
||||
);
|
||||
|
Reference in New Issue
Block a user