add header

This commit is contained in:
smanylov
2025-11-26 14:01:35 +07:00
parent 7a8c2cee56
commit ebca795c1b
16 changed files with 618 additions and 41 deletions
+8 -5
View File
@@ -1,5 +1,7 @@
import { Metadata } from 'next';
import Button from '@/app/ui/button'
import { Suspense } from 'react';
import ButtonTest from '@/app/ui/button-test'
import ProtectionOverview from '@/app/ui/dashboard/protection-overview';
export const metadata: Metadata = {
title: 'Dashboard',
@@ -9,10 +11,11 @@ export default function Home() {
return (
<div>
<main>
<div>
Dashboard
</div>
<Button/>
<Suspense fallback={<>...</>}>
<h1 className="page-title">Статистика</h1>
<ProtectionOverview/>
{/* <ButtonTest /> */}
</Suspense>
</main>
</div>
);