diff --git a/client-solid/src/Components/Menu.tsx b/client-solid/src/Components/Menu.tsx index 79e04f6..36e4b67 100644 --- a/client-solid/src/Components/Menu.tsx +++ b/client-solid/src/Components/Menu.tsx @@ -28,6 +28,7 @@ export function Menu(): JSXElement { + {/*Filter component for popular */} diff --git a/client-solid/src/Components/Posts.tsx b/client-solid/src/Components/Posts.tsx index b082ca6..a1a1f84 100644 --- a/client-solid/src/Components/Posts.tsx +++ b/client-solid/src/Components/Posts.tsx @@ -23,24 +23,28 @@ export function Posts(): JSXElement { } // This is the card container for a post -export function PostSegment(props: { post: Post }): JSXElement { +export function PostSegment({ post } : { post: Post }): JSXElement { const nav = useNavigate(); + return (
+

+ {post.createdAt ?? "No Creation Date"} +

- {props.post?.content} + {post.content}