Skip to content

Commit

Permalink
Merge pull request #32 from TusharMohapatra07/main
Browse files Browse the repository at this point in the history
minor tweak in achievements UI
  • Loading branch information
SkySingh04 authored Aug 16, 2024
2 parents 01cc10b + 2b8ed20 commit da22f29
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions app/(default)/achievements/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,20 @@ function AchievementCard({ achiever }: { achiever: Achiever }) {
<img
src={achiever.imageUrl}
alt={`${achiever.Name}'s profile`}
className="w-full h-[270px] object-cover object-center"
className="w-full h-[300px] object-cover object-center"
/>
</div>
<div className="p-4">
<h3 className="text-center text-2xl font-semibold mb-2 capitalize-first-letter">
{achiever.Name}
</h3>
<ul className="list-disc list-outside pl-5">
{achiever?.CompanyPosition ? (
<li className="text-gray-600 text-lg mb-2">
{" "}
{achiever.CompanyPosition}
</li>
) : null}
{achiever.achievements.map((achievement, index) => (
<li key={index} className="text-gray-600 text-lg mb-2">
{achievement}
Expand Down Expand Up @@ -73,4 +79,4 @@ export default function AchievementsPage() {
</div>
</div>
);
}
}

0 comments on commit da22f29

Please sign in to comment.