Add a Posts Schema just to test authentication
This commit is contained in:
11
web/src/pages/Post/EditPostPage/EditPostPage.tsx
Normal file
11
web/src/pages/Post/EditPostPage/EditPostPage.tsx
Normal file
@ -0,0 +1,11 @@
|
||||
import EditPostCell from 'src/components/Post/EditPostCell'
|
||||
|
||||
type PostPageProps = {
|
||||
id: number
|
||||
}
|
||||
|
||||
const EditPostPage = ({ id }: PostPageProps) => {
|
||||
return <EditPostCell id={id} />
|
||||
}
|
||||
|
||||
export default EditPostPage
|
||||
7
web/src/pages/Post/NewPostPage/NewPostPage.tsx
Normal file
7
web/src/pages/Post/NewPostPage/NewPostPage.tsx
Normal file
@ -0,0 +1,7 @@
|
||||
import NewPost from 'src/components/Post/NewPost'
|
||||
|
||||
const NewPostPage = () => {
|
||||
return <NewPost />
|
||||
}
|
||||
|
||||
export default NewPostPage
|
||||
11
web/src/pages/Post/PostPage/PostPage.tsx
Normal file
11
web/src/pages/Post/PostPage/PostPage.tsx
Normal file
@ -0,0 +1,11 @@
|
||||
import PostCell from 'src/components/Post/PostCell'
|
||||
|
||||
type PostPageProps = {
|
||||
id: number
|
||||
}
|
||||
|
||||
const PostPage = ({ id }: PostPageProps) => {
|
||||
return <PostCell id={id} />
|
||||
}
|
||||
|
||||
export default PostPage
|
||||
7
web/src/pages/Post/PostsPage/PostsPage.tsx
Normal file
7
web/src/pages/Post/PostsPage/PostsPage.tsx
Normal file
@ -0,0 +1,7 @@
|
||||
import PostsCell from 'src/components/Post/PostsCell'
|
||||
|
||||
const PostsPage = () => {
|
||||
return <PostsCell />
|
||||
}
|
||||
|
||||
export default PostsPage
|
||||
Reference in New Issue
Block a user