1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-06 00:07:44 +01:00
unleash.unleash/frontend/src/component/executiveDashboard/ExecutiveDashboard.tsx

34 lines
1.0 KiB
TypeScript
Raw Normal View History

import { Box, Paper, styled, Typography } from '@mui/material';
import { PageHeader } from 'component/common/PageHeader/PageHeader';
2024-01-18 12:32:25 +01:00
import { VFC } from 'react';
import { UsersChart } from './UsersChart/UsersChart';
const StyledGrid = styled(Box)(({ theme }) => ({
display: 'grid',
gridTemplateColumns: `repeat(auto-fill, minmax(600px, 1fr))`,
gridAutoRows: '1fr',
gap: theme.spacing(2),
}));
2024-01-18 12:32:25 +01:00
export const ExecutiveDashboard: VFC = () => {
return (
<>
<Box sx={(theme) => ({ paddingBottom: theme.spacing(4) })}>
<PageHeader
titleElement={
<Typography variant='h1' component='h2'>
Dashboard
</Typography>
}
// subtitle='Succesfully synchronized: 01 Sep 2023 - 07:05:07'
/>
</Box>
{/* Dashboard */}
<StyledGrid>
<Paper>Stats</Paper>
<UsersChart />
</StyledGrid>
</>
);
2024-01-18 12:32:25 +01:00
};