mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
add experimental room
This commit is contained in:
parent
0605ceb263
commit
39eb97b777
7 changed files with 309 additions and 7 deletions
15
src/pages/room/index.tsx
Normal file
15
src/pages/room/index.tsx
Normal file
|
@ -0,0 +1,15 @@
|
|||
import React, { FC } from 'react';
|
||||
|
||||
import { InferGetStaticPropsType } from 'next';
|
||||
import { RouteComponentProps } from 'react-router';
|
||||
|
||||
import { RoomLayout } from '~/layouts/RoomLayout';
|
||||
|
||||
import { getStaticProps } from '../node/[id]';
|
||||
|
||||
type Props = RouteComponentProps<{ id: string }> &
|
||||
InferGetStaticPropsType<typeof getStaticProps>;
|
||||
|
||||
const RoomPage: FC<Props> = () => <RoomLayout />;
|
||||
|
||||
export default RoomPage;
|
Loading…
Add table
Add a link
Reference in a new issue