import { VerbandTabNavigation } from '@kit/verbandsverwaltung/components';

import { CmsPageShell } from '~/components/cms-page-shell';

import StatisticsContent from './_components/statistics-content';

interface Props {
  params: Promise<{ account: string }>;
}

export default async function StatisticsPage({ params }: Props) {
  const { account } = await params;

  return (
    <CmsPageShell account={account} title="Verbandsverwaltung - Statistik">
      <VerbandTabNavigation account={account} activeTab="statistics" />
      <StatisticsContent />
    </CmsPageShell>
  );
}
