import { UserCircle, Plus } from 'lucide-react'; import { getSupabaseServerClient } from '@kit/supabase/server-client'; import { Button } from '@kit/ui/button'; import { Card, CardContent, CardHeader, CardTitle } from '@kit/ui/card'; import { createBookingManagementApi } from '@kit/booking-management/api'; import { CmsPageShell } from '~/components/cms-page-shell'; import { EmptyState } from '~/components/empty-state'; interface PageProps { params: Promise<{ account: string }>; } export default async function GuestsPage({ params }: PageProps) { const { account } = await params; const client = getSupabaseServerClient(); const { data: acct } = await client .from('accounts') .select('id') .eq('slug', account) .single(); if (!acct) return
Gästeverwaltung
| Name | Telefon | Stadt | Land | |
|---|---|---|---|---|
| {String(guest.last_name ?? '')}, {String(guest.first_name ?? '')} | {String(guest.email ?? '—')} | {String(guest.phone ?? '—')} | {String(guest.city ?? '—')} | {String(guest.country ?? '—')} |