page
This commit is contained in:
parent
4fc8eeb2e9
commit
440edbc457
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,3 +1,8 @@
|
||||
node_modules/
|
||||
*/node_modules/
|
||||
*/build/
|
||||
|
||||
**/node_modules/
|
||||
**/build/
|
||||
.DS_Store
|
||||
.env
|
||||
File diff suppressed because one or more lines are too long
1
frontend/json/runtimeError.json
Normal file
1
frontend/json/runtimeError.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
@ -93,6 +93,14 @@ const menuAside: MenuAsideItem[] = [
|
||||
icon: icon.mdiAccountCircle,
|
||||
},
|
||||
|
||||
{
|
||||
href: '/chat-gpt',
|
||||
label: 'Chat GPT',
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
icon: icon.mdiChat ?? icon.mdiTable,
|
||||
},
|
||||
|
||||
{
|
||||
href: '/home',
|
||||
label: 'Home page',
|
||||
|
||||
20
frontend/src/pages/chat-gpt.tsx
Normal file
20
frontend/src/pages/chat-gpt.tsx
Normal file
@ -0,0 +1,20 @@
|
||||
import { ReactElement } from 'react';
|
||||
import LayoutAuthenticated from '../layouts/Authenticated';
|
||||
import SectionMain from '../components/SectionMain';
|
||||
import SectionTitle from '../components/SectionTitle';
|
||||
import CardBox from '../components/CardBox';
|
||||
|
||||
const ChatGptPage = () => (
|
||||
<SectionMain>
|
||||
<SectionTitle title="Chat GPT" />
|
||||
<CardBox>
|
||||
{/* Content goes here */}
|
||||
</CardBox>
|
||||
</SectionMain>
|
||||
);
|
||||
|
||||
ChatGptPage.getLayout = function getLayout(page: ReactElement) {
|
||||
return <LayoutAuthenticated>{page}</LayoutAuthenticated>;
|
||||
};
|
||||
|
||||
export default ChatGptPage;
|
||||
Loading…
x
Reference in New Issue
Block a user