my-content-page and fix adaptive styles
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import MyContentInfoBlock from '@/app/ui/my-content/my-content-info-block';
|
||||
import { PieChartComponent } from '@/app/components/PieChartComponent';
|
||||
import FilesTable from '@/app/ui/dashboard/files-table';
|
||||
|
||||
const data = [
|
||||
{ name: 'images', value: 33, color: '#f08c00' },
|
||||
{ name: 'videos', value: 50, color: '#2f9e44' },
|
||||
{ name: 'audios', value: 25, color: '#1971c2' },
|
||||
{ name: 'documents', value: 25, color: '#a561e6' },
|
||||
];
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<>
|
||||
<div className="flex justify-between flex-wrap gap-x-8">
|
||||
<MyContentInfoBlock />
|
||||
<div className="protection-overview grow">
|
||||
<PieChartComponent data={data} />
|
||||
</div>
|
||||
</div>
|
||||
<FilesTable fileType={'all'}/>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user