Skip to content

Commit

Permalink
feat: add follow button on staff picks
Browse files Browse the repository at this point in the history
  • Loading branch information
bigint committed Mar 21, 2024
1 parent 60fa578 commit b28dcfe
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions apps/web/src/components/Home/Sidebar/StaffPicks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ const StaffPicks: FC = () => {
return (
<Card as="aside" className="mb-4 space-y-4 p-5">
<Title />
<UserProfileShimmer />
<UserProfileShimmer />
<UserProfileShimmer />
<UserProfileShimmer />
<UserProfileShimmer />
<UserProfileShimmer showFollowUnfollowButton />
<UserProfileShimmer showFollowUnfollowButton />
<UserProfileShimmer showFollowUnfollowButton />
<UserProfileShimmer showFollowUnfollowButton />
<UserProfileShimmer showFollowUnfollowButton />
</Card>
);
}
Expand All @@ -75,10 +75,13 @@ const StaffPicks: FC = () => {
/>
{profiles?.profiles.items.map((profile) => (
<div className="flex items-center space-x-3 truncate" key={profile.id}>
<UserProfile
profile={profile as Profile}
source={ProfileLinkSource.StaffPicks}
/>
<div className="w-full">
<UserProfile
profile={profile as Profile}
showFollowUnfollowButton
source={ProfileLinkSource.StaffPicks}
/>
</div>
</div>
))}
</Card>
Expand Down

1 comment on commit b28dcfe

@vercel
Copy link

@vercel vercel bot commented on b28dcfe Mar 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

web – ./apps/web

web-heyxyz.vercel.app
heyxyz.vercel.app
hey.xyz
web-git-main-heyxyz.vercel.app

Please sign in to comment.