|
|
|
@ -27,30 +27,9 @@ const CardTrelloDesign = ({ circle,commnets,tags, }) => { |
|
|
|
|
)} |
|
|
|
|
{/* left */} |
|
|
|
|
<div className="flex flex-row gap-x-1 items-center place-content-end"> |
|
|
|
|
<ButtonNewDesign |
|
|
|
|
bgColor={"bg-[#FF0A3C]"} |
|
|
|
|
bgHoverColor={"bg-transparent"} |
|
|
|
|
border={"border-none"} |
|
|
|
|
paddingX={"p-1"} |
|
|
|
|
paddingY={"p-0.5"} |
|
|
|
|
fontSize={"text-xs"} |
|
|
|
|
borderRadius={"rounded-sm"} |
|
|
|
|
icon={false} |
|
|
|
|
text={"رابط کاربری"} |
|
|
|
|
/> |
|
|
|
|
<ButtonNewDesign |
|
|
|
|
bgColor={"bg-[#0AABFF]"} |
|
|
|
|
bgHoverColor={"bg-transparent"} |
|
|
|
|
border={"border-none"} |
|
|
|
|
paddingX={"p-1"} |
|
|
|
|
paddingY={"p-0.5"} |
|
|
|
|
fontSize={"text-xs"} |
|
|
|
|
borderRadius={"rounded-sm"} |
|
|
|
|
icon={false} |
|
|
|
|
text={"فرانت اند"} |
|
|
|
|
/> |
|
|
|
|
<ButtonNewDesign |
|
|
|
|
bgColor={"bg-[#C7FF0A]"} |
|
|
|
|
|
|
|
|
|
{tags.map(tag=> <ButtonNewDesign |
|
|
|
|
bgColor={`bg-[${tag.color}]`} |
|
|
|
|
bgHoverColor={"bg-transparent"} |
|
|
|
|
border={"border-none"} |
|
|
|
|
paddingX={"p-1"} |
|
|
|
@ -58,8 +37,10 @@ const CardTrelloDesign = ({ circle,commnets,tags, }) => { |
|
|
|
|
fontSize={"text-xs"} |
|
|
|
|
borderRadius={"rounded-sm"} |
|
|
|
|
icon={false} |
|
|
|
|
text={"بک اند"} |
|
|
|
|
/> |
|
|
|
|
text={tag.name} |
|
|
|
|
/>)} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
{/* middle */} |
|
|
|
@ -74,7 +55,7 @@ const CardTrelloDesign = ({ circle,commnets,tags, }) => { |
|
|
|
|
<div className="flex flex-row justify-between items-center mt-3"> |
|
|
|
|
{/* right */} |
|
|
|
|
<div className="flex flex-row items-center gap-x-1"> |
|
|
|
|
<ProfilePicNextToEachOther num={3} marginLeft={"4px"} /> |
|
|
|
|
<ProfilePicNextToEachOther num={3} marginLeft={"4px"} width={"w-10"} /> |
|
|
|
|
</div> |
|
|
|
|
{/* left */} |
|
|
|
|
<div className="flex flex-row items-center gap-x-1"> |
|
|
|
@ -125,6 +106,20 @@ export default CardTrelloDesign; |
|
|
|
|
|
|
|
|
|
CardTrelloDesign.defaultProps = { |
|
|
|
|
circle: true, |
|
|
|
|
commnets: false, |
|
|
|
|
tags: false |
|
|
|
|
commnets: true, |
|
|
|
|
tags: [ |
|
|
|
|
{ |
|
|
|
|
name: "بک اند", |
|
|
|
|
color: "#C7FF0A" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: "بک اند", |
|
|
|
|
color: "#0AABFF" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: "بک اند", |
|
|
|
|
color: "#C7FF0A" |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
}; |
|
|
|
|