diff --git a/src/Components/InvestmentCard/InvestmentCard.jsx b/src/Components/InvestmentCard/InvestmentCard.jsx new file mode 100644 index 0000000..775dd5a --- /dev/null +++ b/src/Components/InvestmentCard/InvestmentCard.jsx @@ -0,0 +1,155 @@ +import { + Box, + Button, + Card, + CardBody, + Heading, + Image, + Progress, + Stack, + Text, + Tooltip, +} from "@chakra-ui/react"; + +const investments = [ + { + imgSrc: + "https://images.unsplash.com/photo-1667489022797-ab608913feeb?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxlZGl0b3JpYWwtZmVlZHw5fHx8ZW58MHx8fHw%3D&auto=format&fit=crop&w=800&q=60", + title: "Multi Family Residence Portfolio", + sponsor: "KKR", + annReturn: "12.5%", + annYield: "12.5%", + minInvests: "$1,000", + targClose: "24 December", + holdingPer: "5-7 years", + progressValue: 80, + }, + { + imgSrc: + "https://images.unsplash.com/photo-1667489022797-ab608913feeb?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxlZGl0b3JpYWwtZmVlZHw5fHx8ZW58MHx8fHw%3D&auto=format&fit=crop&w=800&q=60", + title: "Multi Family Residence Portfolio", + sponsor: "KKR", + annReturn: "12.5%", + annYield: "12.5%", + minInvests: "$1,000", + targClose: "24 December", + holdingPer: "5-7 years", + progressValue: 80, + }, + { + imgSrc: + "https://images.unsplash.com/photo-1667489022797-ab608913feeb?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxlZGl0b3JpYWwtZmVlZHw5fHx8ZW58MHx8fHw%3D&auto=format&fit=crop&w=800&q=60", + title: "Multi Family Residence Portfolio", + sponsor: "KKR", + annReturn: "12.5%", + annYield: "12.5%", + minInvests: "$1,000", + targClose: "24 December", + holdingPer: "5-7 years", + progressValue: 80, + }, +]; + +const InvestmentCard = () => { + return ( + + + {investments.map((investment, index) => ( + + {investment.title} + + + + + {investment.title} + + + Sponsor:{" "} + + {investment.sponsor} + {" "} + + + Ann return:{" "} + + {investment.annReturn} + {" "} + + + Ann Yield:{" "} + + {investment.annYield} + {" "} + + + + + + + Min.Invests:{" "} + + {investment.minInvests} + {" "} + + + Targ Close:{" "} + + {investment.targClose} + {" "} + + + Holding per:{" "} + + {investment.holdingPer} + {" "} + + + + + + + + + + + + + ))} + + + ); +}; + +export default InvestmentCard; diff --git a/src/Pages/Master/InvestmentType/InvestmentType.jsx b/src/Pages/Master/InvestmentType/InvestmentType.jsx index 8cea59f..ae4303c 100644 --- a/src/Pages/Master/InvestmentType/InvestmentType.jsx +++ b/src/Pages/Master/InvestmentType/InvestmentType.jsx @@ -1,22 +1,20 @@ -import { Box, Image, Text } from "@chakra-ui/react" +import { Box, Card, CardBody, Heading, Image, Stack, Text } from "@chakra-ui/react"; // import error from "../assets/Error.svg" -import robot from "../../../assets/robot.png" +import robot from "../../../assets/robot.png"; +import InvestmentCard from "../../../Components/InvestmentCard/InvestmentCard"; // import robot from "../assets/robot.png" const InvestmentType = () => { return ( - - - {/* The requested URL was not found on this server. */} + {/* */} + - ) -} + ); +}; -export default InvestmentType \ No newline at end of file +export default InvestmentType;