22 lines
629 B
TypeScript
Raw Normal View History

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