import { Avatar, Flex, HStack, Stack, Text } from '@chakra-ui/react' import * as React from 'react' import Image from 'next/image' import { TestimonialData } from './Testimonials' import { CapterraIcon, EmailIcon, ProductHuntIcon, RedditIcon, } from 'assets/icons' export const Testimonial = ({ avatarSrc, content, name, role, provider, }: TestimonialData) => ( {avatarSrc ? ( {name} ) : ( )} {name} {role} {content} ) const ProviderIcon = ({ provider, }: { provider: TestimonialData['provider'] }): JSX.Element => { switch (provider) { case 'email': return case 'productHunt': return case 'capterra': return case 'reddit': return } }