Add a Posts Schema just to test authentication

This commit is contained in:
2024-10-04 09:50:58 +02:00
parent 437e49b842
commit 1a12ed6c9c
23 changed files with 984 additions and 1 deletions

View 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

View File

@ -0,0 +1,7 @@
import NewPost from 'src/components/Post/NewPost'
const NewPostPage = () => {
return <NewPost />
}
export default NewPostPage

View 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

View File

@ -0,0 +1,7 @@
import PostsCell from 'src/components/Post/PostsCell'
const PostsPage = () => {
return <PostsCell />
}
export default PostsPage