Manuel Bustillo 4022928f1c
Some checks failed
Playwright Tests / test (pull_request) Failing after 1m12s
Build docker image / build-static-assets (pull_request) Failing after 4m27s
Display a skeleton while guests information is loading
2024-08-18 18:41:44 +02:00

22 lines
629 B
TypeScript

import { lusitana } from '@/app/ui/fonts';
import AffinityGroupsTree from '@/app/ui/guests/affinity-groups-tree';
import GuestsTable from '@/app/ui/guests/table';
import React, { Suspense } from 'react';
import SkeletonTable from '@/app/ui/guests/skeleton-row';
export default function Page() {
return (
<div className="w-full">
<AffinityGroupsTree />
<h1 className={`${lusitana.className} text-2xl py-4`}>Guests</h1>
<div className="flex w-full items-center justify-between">
<Suspense fallback={<SkeletonTable />}>
<GuestsTable />
</Suspense>
</div>
</div>
);
}