Skip to content

Commit

Permalink
fix: changed conditional style
Browse files Browse the repository at this point in the history
  • Loading branch information
fjbarrena committed Feb 28, 2024
1 parent 9b82ebd commit c54b33a
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions pages/cv.js
Original file line number Diff line number Diff line change
Expand Up @@ -786,12 +786,16 @@ export default function About({ authorDetails }) {
{talks.map((item) => (
<li key={item.id}>
<div className="flex space-x-3">
<div
className={`${
item.confImageUrl.includes('commit-white') ? 'mb-3 bg-black' : ''
} flex-shrink-0`}
>
<img className="w-24" src={`${item.confImageUrl}`} alt="" />
<div className={`flex-shrink-0`}>
<img
className={`${
item.confImageUrl.includes('commit-white')
? 'bg-black pb-1'
: ''
} w-24`}
src={`${item.confImageUrl}`}
alt=""
/>
</div>
<div>
<div className="text-lg">
Expand Down

0 comments on commit c54b33a

Please sign in to comment.