2025-11-25 17:13:16 +07:00
|
|
|
import { Metadata } from 'next';
|
2025-11-26 14:01:35 +07:00
|
|
|
import { Suspense } from 'react';
|
|
|
|
|
import ButtonTest from '@/app/ui/button-test'
|
|
|
|
|
import ProtectionOverview from '@/app/ui/dashboard/protection-overview';
|
2025-11-26 17:18:20 +07:00
|
|
|
import StatsGrid from '@/app/ui/dashboard/stats-grid';
|
|
|
|
|
import StorageBreakdown from '@/app/ui/dashboard/storage-breakdown';
|
|
|
|
|
import RecentFilesList from '@/app/ui/dashboard/recent-files-list';
|
|
|
|
|
import ChartContainer from '@/app/ui/dashboard/chart-container';
|
|
|
|
|
import UserInfo from '@/app/ui/dashboard/user-info';
|
2025-11-26 18:21:44 +07:00
|
|
|
import ViolationsTable from '@/app/ui/dashboard/violations-table';
|
|
|
|
|
import ViolationsTypeTable from '@/app/ui/dashboard/violations-type-table';
|
|
|
|
|
import ActivityChart from '@/app/ui/dashboard/activity-chart';
|
2025-11-25 17:13:16 +07:00
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
|
|
|
title: 'Dashboard',
|
|
|
|
|
};
|
|
|
|
|
|
2025-12-04 17:10:51 +07:00
|
|
|
export default function Page() {
|
2025-11-25 17:13:16 +07:00
|
|
|
return (
|
|
|
|
|
<div>
|
2025-12-04 18:21:39 +07:00
|
|
|
<Suspense fallback={<>...</>}>
|
|
|
|
|
<h1 className="page-title">Статистика</h1>
|
|
|
|
|
<ProtectionOverview />
|
|
|
|
|
<StatsGrid />
|
|
|
|
|
<div className="extended-stats-grid">
|
|
|
|
|
<StorageBreakdown />
|
|
|
|
|
<RecentFilesList />
|
|
|
|
|
</div>
|
|
|
|
|
<div className="charts-section">
|
|
|
|
|
<ChartContainer />
|
|
|
|
|
<UserInfo />
|
|
|
|
|
</div>
|
|
|
|
|
<ViolationsTable />
|
|
|
|
|
<ViolationsTypeTable />
|
|
|
|
|
<ActivityChart />
|
|
|
|
|
</Suspense>
|
2025-11-25 17:13:16 +07:00
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|