change dash-board layout

This commit is contained in:
smanylov
2026-01-13 15:29:34 +07:00
parent 2e928fb91a
commit afb6bf1760
14 changed files with 1484 additions and 14 deletions
@@ -0,0 +1,29 @@
import { Metadata } from 'next';
import { Suspense } from 'react';
import ProtectionOverview from '@/app/ui/dashboard/protection-overview';
import StatsGrid from '@/app/ui/dashboard/stats-grid';
import { useTranslations } from 'next-intl';
import FilesTable from '@/app/ui/dashboard/files-table';
import PageTitle from '@/app/ui/page-title';
export const metadata: Metadata = {
title: 'Dashboard',
};
export default function Page() {
const t = useTranslations('Global');
return (
<>
<Suspense fallback={<>...</>}>
<PageTitle title="statistics">
</PageTitle>
<div className="split-blocks">
<ProtectionOverview />
<StatsGrid />
</div>
<FilesTable fileType={'all'} />
</Suspense>
</>
);
}