diff --git a/src/components/ProjectCard/ProjectCard.tsx b/src/components/ProjectCard/ProjectCard.tsx new file mode 100644 index 00000000..3825f783 --- /dev/null +++ b/src/components/ProjectCard/ProjectCard.tsx @@ -0,0 +1,105 @@ +import { IoMdHeart, IoMdHeartEmpty } from "react-icons/io" +import { MdRemoveRedEye } from "react-icons/md" + +import { + Box, + Center, + Flex, + Heading, + Icon, + Image, + Stack, + Text, +} from "@chakra-ui/react" + +interface ProjectCardProps { + imgUrl: string + viewCount: number + heartCount: number + isFullHeart: boolean + title: string + content: string +} + +const ProjectCard = ({ + imgUrl, + viewCount, + heartCount, + isFullHeart, + title, + content, +}: ProjectCardProps) => { + return ( + + .hover-overlay": { opacity: 1 } }} + borderRadius="1rem"> + projectImg +
+ + 더보기 + +
+
+ + + {title} + + + {viewCount} + {isFullHeart ? ( + + ) : ( + + )} + {heartCount} + + + + {content} + + +
+ ) +} + +export default ProjectCard