feat: adicionar painel de máquinas e autenticação por agente
This commit is contained in:
parent
e2a5b560b1
commit
ee18619519
52 changed files with 7598 additions and 1 deletions
24
src/app/admin/machines/page.tsx
Normal file
24
src/app/admin/machines/page.tsx
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
import { AppShell } from "@/components/app-shell"
|
||||
import { SiteHeader } from "@/components/site-header"
|
||||
import { AdminMachinesOverview } from "@/components/admin/machines/admin-machines-overview"
|
||||
import { DEFAULT_TENANT_ID } from "@/lib/constants"
|
||||
|
||||
export const runtime = "nodejs"
|
||||
export const dynamic = "force-dynamic"
|
||||
|
||||
export default function AdminMachinesPage() {
|
||||
return (
|
||||
<AppShell
|
||||
header={
|
||||
<SiteHeader
|
||||
title="Parque de máquinas"
|
||||
lead="Acompanhe quais dispositivos estão ativos, métricas recentes e a sincronização do agente."
|
||||
/>
|
||||
}
|
||||
>
|
||||
<div className="mx-auto w-full max-w-6xl px-4 pb-12 lg:px-6">
|
||||
<AdminMachinesOverview tenantId={DEFAULT_TENANT_ID} />
|
||||
</div>
|
||||
</AppShell>
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue