mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-24 16:54:23 +01:00
update: change limit to show makers avatars
This commit is contained in:
@@ -47,7 +47,7 @@ export default function RegisterCard({ makers_count, start_date, avatars, isRegi
|
||||
return (
|
||||
<Card onlyMd className='flex flex-col gap-24'>
|
||||
<div>
|
||||
{makers_count > 4 && <p className="text-body5 text-gray-600 flex">
|
||||
{makers_count > 2 && <p className="text-body5 text-gray-600 flex">
|
||||
{avatars.map((img, idx) => <div className='w-[16px] h-32 relative'><Avatar key={idx} src={img} width={32} className='absolute top-0 left-0 min-w-[32px] !border-white' /></div>)}
|
||||
<span className='self-center ml-24 font-medium '>+ {makers_count} makers</span>
|
||||
</p>}
|
||||
|
||||
Reference in New Issue
Block a user