new page?

This commit is contained in:
Flatlogic Bot 2025-05-07 15:31:42 +00:00
parent 3f720a6985
commit f44960eb56
3 changed files with 35 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -117,6 +117,12 @@ const menuAside: MenuAsideItem[] = [
icon: icon.mdiFileCode,
permissions: 'READ_API_DOCS',
},
{
href: '/example',
label: 'Example',
icon: icon.mdiChartTimelineVariant,
},
];
export default menuAside;

View File

@ -0,0 +1,27 @@
import Head from 'next/head';
import CardBox from '../components/CardBox';
import LayoutAuthenticated from '../layouts/Authenticated';
import SectionMain from '../components/SectionMain';
import SectionTitleLineWithButton from '../components/SectionTitleLineWithButton';
import { getPageTitle } from '../config';
import { mdiChartTimelineVariant } from '@mdi/js';
const Example = () => (
<>
<Head>
<title>{getPageTitle('Example')}</title>
</Head>
<LayoutAuthenticated>
<SectionMain>
<SectionTitleLineWithButton icon={mdiChartTimelineVariant} title="Example">
{''}
</SectionTitleLineWithButton>
<CardBox>
{/* Page content goes here. */}
</CardBox>
</SectionMain>
</LayoutAuthenticated>
</>
);
export default Example;