import React from 'react'; import { Box, Divider, HStack, Image, Text, useColorModeValue, } from '@chakra-ui/react'; import { doc, commentLg, tag } from '../../assets/icons'; const ProfileLeftPart = ({ publishedPosts, profileData, display, totalCommentWritten, }) => { const cardBg = useColorModeValue( 'light.cardSecondaryBg', 'dark.cardSecondaryBg' ); const cardColor = useColorModeValue( 'light.cardSecondaryColor', 'dark.cardSecondaryColor' ); const ghostColor = useColorModeValue('light.ghostColor', 'dark.ghostColor'); const TechStack = ({ title, text }) => { return ( {title} {text} ); }; const totalFollowingTags = profileData.followingTags?.length || 0; return ( {profileData.learning && ( )} {profileData.skills && ( )} {profileData.hacking && ( )} {profileData.avaliable && ( )} doc_icon {publishedPosts} {publishedPosts > 1 ? 'posts' : 'post'}{' '} published comment_icon {totalCommentWritten}{' '} {totalCommentWritten > 1 ? 'comments' : 'comment'} written tag_icon {totalFollowingTags} {totalFollowingTags > 1 ? 'tags' : 'tag'}{' '} followed ); }; export default ProfileLeftPart;