update src/components/CardDesign3/index.js, src/components/CardTrelloDesign/index.js and src/components/TitleSubtitle/index.js

master
mahdi 3 years ago
parent de2e9404b3
commit 41c2b969d2
  1. 10
      src/components/CardDesign3/index.js
  2. 4
      src/components/CardTrelloDesign/index.js
  3. 4
      src/components/TitleSubtitle/index.js

@ -9,14 +9,8 @@ const CardDesign3 = () => {
<TitleSubtitle <TitleSubtitle
subTitle={false} subTitle={false}
title={"افراد حاضر در این سالن"} title={"افراد حاضر در این سالن"}
titleColor={"text-[#0F0543]"} titleClassName={"font-bold text-[#0F0543]"}
titleFontWeight={"font-bold"} titleBorderClassName={"w-1.5 h-6 bg-[#1F8CF9]"}
titleDividerBgColor={"bg-[#1FF87D]"}
titleDividerWidth={"w-1.5"}
/>
<Button
className={`${btn.className} border-none px-1 py-0.5 text-xs rounded-sm text-white`}
text={btn.name}
/> />
<CustomToast2 num={4} /> <CustomToast2 num={4} />
</div> </div>

@ -98,8 +98,8 @@ const CardTrelloDesign = ({
<NewTagDesign <NewTagDesign
title={tag.title} title={tag.title}
align={"flex-row-reverse"} align={"flex-row-reverse"}
titleColor={`text-[${tag.color}]`} titleColor={`${tag.color}`}
tagBgColor={`bg-[${tag.backgroundColor}]`} tagBgColor={`${tag.backgroundColor}`}
border={"border-none"} border={"border-none"}
borderRadius={"rounded-sm"} borderRadius={"rounded-sm"}
iconWidth={"w-4"} iconWidth={"w-4"}

@ -11,8 +11,8 @@ const TitleSubtitle = ({
{/* page Title */} {/* page Title */}
{title && ( {title && (
<div className="flex flex-row items-center"> <div className="flex flex-row items-center">
<div className={`rounded ml-1 ${titleClassName}`}></div> <div className={`rounded-sm ml-1 ${titleBorderClassName}`}></div>
<h2 className={`${titleBorderClassName}`}>{title}</h2> <h2 className={`${titleClassName}`}>{title}</h2>
</div> </div>
)} )}
{/* page subTitle */} {/* page subTitle */}

Loading…
Cancel
Save