Skip to content
Snippets Groups Projects
Commit 2f13ac3a authored by Dorian Trehet's avatar Dorian Trehet
Browse files

Display UserCard

parent 6f008067
No related branches found
No related tags found
No related merge requests found
......@@ -6,11 +6,9 @@ const UserProfileCard = ({ user }) => {
return (
<Link to={`/profile/${user._id}`} className="user-profile-link">
<div className="user-profile-card">
<img src={user.profilePicture || '/default-avatar.png'} alt={user.name} className="user-profile-image" />
<h3>{user.name}</h3>
<p>{user.email}</p>
<p>In-game Username: {user.inGameUsername}</p>
<p>Server: {user.server}</p>
<p><strong>In-game Username: </strong>{user.inGameUsername}</p>
<p><strong>Server: </strong>{user.server}</p>
</div>
</Link>
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment