Skip to content

Commit

Permalink
Enhance profile page layout by improving build item display with addi…
Browse files Browse the repository at this point in the history
…tional details and styling
  • Loading branch information
Bolado committed Nov 16, 2024
1 parent 1009938 commit 6308292
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions frontend/src/pages/profile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@ const Profile = () => {
// deserialize the build object
const b = deserializeBuildState(build.build);
return (
<li key={build._id}>
<Link to={`/build/${build._id}`}>{b.name}</Link>
<li
className="p-2 m-2 hover:bg-blue-500/30 rounded-md"
key={build._id}
>
<Link to={`/build/${build._id}`}>
<h3 className="cinzel text-xl font-bold mr-4 ">{b.name}</h3>
<h3 className="text-md mr-4">Monster: {b.monster.name}</h3>
</Link>
</li>
);
})}
Expand Down

0 comments on commit 6308292

Please sign in to comment.