add header
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user