diff --git a/src/components/Post.tsx b/src/components/Post.tsx index b364b83..b4f1bd3 100644 --- a/src/components/Post.tsx +++ b/src/components/Post.tsx @@ -17,8 +17,12 @@ export default function Post({ post }: { post: PostWithUserDto }) { // and we should display a 'more' link to load the post // in an individual page + // TODO: Add menu button + + // TODO: Add reply and like buttons + return ( -
+
user profile image {postsWithUser.map(post => ( - + className='w-full h-full border border-b-0 border-gray-600 last:border-b' + > + +
))} {pager.isLoading ? (
diff --git a/src/components/UserProfile.tsx b/src/components/UserProfile.tsx index 17226af..23413fe 100644 --- a/src/components/UserProfile.tsx +++ b/src/components/UserProfile.tsx @@ -1,7 +1,6 @@ +import { UserDto } from '@/app/types'; import Image from 'next/image'; import { AiFillCalendar } from 'react-icons/ai'; -import { Doc, Id } from '../../convex/_generated/dataModel'; -import { UserDto } from '@/app/types'; export default function UserProfile({ user }: { user: UserDto }) { const username = user.clerkUsername ?? user._id; @@ -24,7 +23,7 @@ export default function UserProfile({ user }: { user: UserDto }) { className='rounded-full object-cover border-4 border-primary-accent' />
-
+

{username}

@@ -33,7 +32,7 @@ export default function UserProfile({ user }: { user: UserDto }) {
-
+
); }