add whats up page

This commit is contained in:
Flatlogic Bot 2025-06-24 21:20:24 +00:00
parent 2cea530351
commit cdffd9e45f
5 changed files with 49 additions and 4 deletions

5
.gitignore vendored
View File

@ -1,3 +1,8 @@
node_modules/ node_modules/
*/node_modules/ */node_modules/
*/build/ */build/
**/node_modules/
**/build/
.DS_Store
.env

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{}

View File

@ -93,6 +93,14 @@ const menuAside: MenuAsideItem[] = [
icon: icon.mdiFileCode, icon: icon.mdiFileCode,
permissions: 'READ_API_DOCS' permissions: 'READ_API_DOCS'
}, },
{
href: '/whats-up',
label: "What's Up?",
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
icon: icon.mdiCommentQuestion ?? icon.mdiTable,
},
] ]
export default menuAside export default menuAside

View File

@ -0,0 +1,32 @@
import { mdiCommentQuestion } from '@mdi/js';
import Head from 'next/head';
import React, { ReactElement } from 'react';
import CardBox from '../components/CardBox';
import LayoutAuthenticated from '../layouts/Authenticated';
import SectionMain from '../components/SectionMain';
import SectionTitleLineWithButton from '../components/SectionTitleLineWithButton';
import { getPageTitle } from '../config';
const WhatsUp = () => {
return (
<>
<Head>
<title>{getPageTitle("What's Up?")}</title>
</Head>
<SectionMain>
<SectionTitleLineWithButton
icon={mdiCommentQuestion}
title="What's Up?"
main
/>
<CardBox>what's up?</CardBox>
</SectionMain>
</>
);
};
WhatsUp.getLayout = function getLayout(page: ReactElement) {
return <LayoutAuthenticated>{page}</LayoutAuthenticated>;
};
export default WhatsUp;