new page?
This commit is contained in:
parent
3f720a6985
commit
f44960eb56
File diff suppressed because one or more lines are too long
@ -117,6 +117,12 @@ const menuAside: MenuAsideItem[] = [
|
|||||||
icon: icon.mdiFileCode,
|
icon: icon.mdiFileCode,
|
||||||
permissions: 'READ_API_DOCS',
|
permissions: 'READ_API_DOCS',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
href: '/example',
|
||||||
|
label: 'Example',
|
||||||
|
icon: icon.mdiChartTimelineVariant,
|
||||||
|
},
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
export default menuAside;
|
export default menuAside;
|
||||||
|
|||||||
27
frontend/src/pages/Example.tsx
Normal file
27
frontend/src/pages/Example.tsx
Normal 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;
|
||||||
Loading…
x
Reference in New Issue
Block a user