Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add links to user profile on feeds userCard #1458

Merged
merged 6 commits into from
Aug 2, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/atoms/UserCard/user-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ const UserCard = ({ username, name, meta, loading }: UserCardProps) => {
src={avatarUrl}
alt={`${username}'s avatar image`}
/>
<div>
<div className="text-center">
<h3 className="text-base text-center">{name}</h3>
a0m0rajab marked this conversation as resolved.
Show resolved Hide resolved
<p className="text-center text-light-slate-9">{`@${username}`}</p>
<a className="text-center text-light-slate-9" href={`/user/${username}`}>{`@${username}`}</a>
a0m0rajab marked this conversation as resolved.
Show resolved Hide resolved
</div>
</div>
<div className="flex items-center gap-5 text-base text-center ">
Expand Down