Skip to content

Commit

Permalink
removing links from images
Browse files Browse the repository at this point in the history
  • Loading branch information
DhairyaMajmudar committed May 28, 2024
1 parent 7049fc7 commit c400a71
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions pages/community/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,21 +198,15 @@ export default function communityPages(props: any) {
<div className='grid justify-center mt-[50px] gap-y-[10px]'>
<div className='grid grid-cols-10 max-sm:grid-cols-7 gap-3'>
{imageData.map((avatar, index) => (
<Link
href={`https://github.com/${avatar.id}`} // change this to link and update community.json file.
key={index}
target='_blank'
>
<Image
key={`${avatar.id}-${index}`}
src={avatar.img}
alt={avatar.alt}
width={35}
height={35}
title={avatar.alt}
className='sm:w-[40px] md:w-[45px] lg:w-[50px] sm:h-[40px] md:h-[45px] lg:h-[50px] rounded-full border-black'
/>
</Link>
<Image
key={`${avatar.id}-${index}`}
src={avatar.img}
alt={avatar.alt}
width={35}
height={35}
title={avatar.alt}
className='sm:w-[40px] md:w-[45px] lg:w-[50px] sm:h-[40px] md:h-[45px] lg:h-[50px] rounded-full border-black'
/>
))}
</div>
</div>
Expand Down

0 comments on commit c400a71

Please sign in to comment.