Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
fixed cards
Browse files Browse the repository at this point in the history
  • Loading branch information
MySpoo4 committed Nov 26, 2023
1 parent 056d6c7 commit e2b63b0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions app/team/MemberCard.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
export default function MemberCard({ name, title, image, bio }) {
return (
<div className="relative rounded-lg w-[310px] bg-[#FDF4F2] lg:mb-0 mb-[25px] text-text">
<div className="w-[310px] h-[310px] overflow-hidden">
<img className="rounded-t-lg object-cover" src={image} />
<div className='relative rounded-lg w-[310px] bg-primary lg:mb-0 mb-[25px] text-text'>
<div className='w-[310px] h-[310px] overflow-hidden'>
<img className='rounded-t-lg object-cover' src={image} />
</div>

<div className="group min-h-[60px]">
<div className="mx-2">
<div className='group min-h-[60px]'>
<div className='mx-2'>
<p
data={name}
bio={bio}
className="font-bold underline group-hover:no-underline text-[20px] before:content-[attr(data)] group-hover:before:content-[attr(bio)]"
className='font-bold underline group-hover:no-underline text-[20px] before:content-[attr(data)] group-hover:before:content-[attr(bio)]'
></p>
<p
data={title}
Expand All @@ -19,5 +19,5 @@ export default function MemberCard({ name, title, image, bio }) {
</div>
</div>
</div>
);
)
}

0 comments on commit e2b63b0

Please sign in to comment.