add dashboard layout
This commit is contained in:
@@ -2,6 +2,11 @@ import { Metadata } from 'next';
|
||||
import { Suspense } from 'react';
|
||||
import ButtonTest from '@/app/ui/button-test'
|
||||
import ProtectionOverview from '@/app/ui/dashboard/protection-overview';
|
||||
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';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Dashboard',
|
||||
@@ -13,7 +18,16 @@ export default function Home() {
|
||||
<main>
|
||||
<Suspense fallback={<>...</>}>
|
||||
<h1 className="page-title">Статистика</h1>
|
||||
<ProtectionOverview/>
|
||||
<ProtectionOverview />
|
||||
<StatsGrid />
|
||||
<div className="extended-stats-grid">
|
||||
<StorageBreakdown />
|
||||
<RecentFilesList />
|
||||
</div>
|
||||
<div className="charts-section">
|
||||
<ChartContainer/>
|
||||
<UserInfo/>
|
||||
</div>
|
||||
{/* <ButtonTest /> */}
|
||||
</Suspense>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user