Skip to content

Commit

Permalink
feat: Add border and background color to speaker images for consisten…
Browse files Browse the repository at this point in the history
…t card design
  • Loading branch information
Kiran1810 committed Dec 21, 2024
1 parent 1ab3848 commit 149a727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Speaker/speaker.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function Speaker({details, location, className}) {
className={`w-auto text-center flex flex-col items-center card h-auto rounded-md p-[27px] ${className}`}
data-test="speakers-section"
>
<div className='w-[300px] h-[300px] lg:w-[250px] lg:h-[250px] relative overflow-hidden rounded-full'>
<div className='w-[300px] h-[300px] lg:w-[250px] lg:h-[250px] relative overflow-hidden rounded-full border-2 border-gray-400 bg-gray-800'>
<Image src={details.img} alt={details.name} width={0} height={0} sizes='100vw' className='rounded-full object-cover transition-all duration-300 hover:scale-110 w-[100%] h-[100%]' />
</div>
<div className='mt-[19px]'>
Expand Down

0 comments on commit 149a727

Please sign in to comment.