From 6f9ec0f3f2dfceb8b921507143b4d2a44563ec08 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 12 Apr 2022 10:39:10 +0430 Subject: [PATCH] update src/components/CardTrelloDesign/index.js --- src/components/CardTrelloDesign/index.js | 81 ++++++++++-------------- 1 file changed, 34 insertions(+), 47 deletions(-) diff --git a/src/components/CardTrelloDesign/index.js b/src/components/CardTrelloDesign/index.js index b499ef6..4ced73e 100644 --- a/src/components/CardTrelloDesign/index.js +++ b/src/components/CardTrelloDesign/index.js @@ -3,16 +3,13 @@ import ButtonNewDesign from "../ButtonNewDesign"; import CircleInCircle from "../CircleInCircle"; import NewTagDesign from "../NewTagDesign"; -import profilePic1 from "./images/profilePic1.svg"; -import profilePic2 from "./images/profilePic2.svg"; -import profilePic3 from "./images/profilePic3.svg"; import clock from "./images/clock.svg"; import nike from "./images/nike.svg"; import messageText from "./images/message-text.svg"; import ProfilePicNextToEachOther from "../ProfilePicNextToEachOther"; import AnimatedProgressBar from "../AnimatedProgressBar"; -const CardTrelloDesign = ({ circle, pictures }) => { +const CardTrelloDesign = ({ circle,commnets,tags, }) => { return (
{/* top */} @@ -77,46 +74,45 @@ const CardTrelloDesign = ({ circle, pictures }) => {
{/* right */}
- {/* {pictures.map((pic, index) => ( - - ))} */} - +
{/* left */}
{/* comment Icon */} + {commnets && (
10 comment-icon
- - + )} + +
{/* progressBar */} @@ -129,15 +125,6 @@ export default CardTrelloDesign; CardTrelloDesign.defaultProps = { circle: true, - pictures: [ - { - image: profilePic1, - }, - { - image: profilePic2, - }, - { - image: profilePic3, - }, - ], + commnets: false, + tags: false };