Testimonials
Card with border
import { Container, Text, VStack, Stack, Avatar, Icon, useColorModeValue } from '@chakra-ui/react';
// Here we have used react-icons package for the icon
import { FaQuoteRight } from 'react-icons/fa';
interface TestimonialAttributes {
username: string;
position: string;
company: string;
content: string;
image: string;
}
const testimonial: TestimonialAttributes = {
username: 'Ben Parker',
position: 'CEO',
company: 'Foodtesla',
image:
'https://images.unsplash.com/photo-1531427186611-ecfd6d936c79?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&auto=format&fit=crop&w=334&q=80',
content: `Proin iaculis purus consequat sem cure digni ssim donec porttitora entum suscipit
rhoncus. Accusantium quam, ultricies eget id, aliquam eget nibh et. Maecen aliquam,
risus at semper`
};
const TestimonialCard = () => {
return (
<Container maxW="5xl" p={{ base: 10, md: 14 }}>
<VStack
spacing={3}
p={4}
bg={useColorModeValue('white', 'blackAlpha.600')}
border="3px solid"
borderColor="green.400"
maxW="xl"
margin="0 auto"
boxShadow="lg"
pos="relative"
>
<Icon
as={FaQuoteRight}
w={10}
h={10}
color="green.400"
left="-1.3rem"
position="absolute"
top="-1.5rem"
/>
<Stack direction="column" spacing={5}>
<Text color="gray.500">
Ahmad’s work is detailed and overwhelming. He guided me step-by-step, from basics to
advanced concepts. He ensured I understood everything before going deeper.
</Text>
<Text color="gray.500">Thanks to Ahmad, I got a frontend job!</Text>
<Text fontWeight="bold" fontSize="lg" align="right" mr="3rem !important">
{testimonial.username}
</Text>
</Stack>
<Avatar
name="avatar"
src={testimonial.image}
showBorder={true}
borderColor="green.400"
size="xl"
pos="absolute"
right="-48px"
bottom="-20px"
shadow="lg"
/>
</VStack>
</Container>
);
};
export default TestimonialCard;
Image on left side
import { Fragment } from 'react';
import { Container, Text, Stack, Avatar, Icon, Image, Box } from '@chakra-ui/react';
// Here we have used react-icons package for the icon
import { ImQuotesLeft } from 'react-icons/im';
interface TestimonialAttributes {
name: string;
position: string;
company: string;
content: string;
image: string;
}
const testimonials: TestimonialAttributes[] = [
{
name: 'Ben Parker',
position: 'CEO',
company: 'Foodtesla',
image:
'https://images.unsplash.com/photo-1531427186611-ecfd6d936c79?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb',
content:
'Proin iaculis purus consequat sem cure digni ssim donec porttitora entum suscipit rhoncus. Accusantium quam, ultricies eget id, aliquam eget nibh et. Maecen aliquam, risus at semper'
}
];
const Testimonials = () => {
return (
<Container maxW="5xl" p={{ base: 5, md: 8 }}>
{testimonials.map((obj, index) => (
<Fragment key={index}>
<Stack
direction={{ base: 'column', sm: 'row' }}
bgGradient="linear(to-br, #42e14e, blue.300)"
spacing={{ base: 0, sm: 10 }}
p={{ base: 4, sm: 10 }}
rounded="lg"
justifyContent="center"
>
<Box width="30rem" pos="relative" d={{ base: 'none', sm: 'block' }}>
<Image
size="2xl"
pos="absolute"
rounded="lg"
src={obj.image}
top="-3.8rem"
boxShadow="lg"
/>
</Box>
<Stack direction="column" spacing={4} textAlign="left" maxW="4xl">
<Icon as={ImQuotesLeft} w={10} h={10} color="gray.700" />
<Text fontSize="md" fontWeight="medium">
{obj.content}
</Text>
<Stack alignItems={{ base: 'center', sm: 'flex-start' }} spacing={0}>
<Avatar
size="xl"
showBorder={true}
borderColor="green.400"
name="avatar"
src={obj.image}
d={{ base: 'block', sm: 'none' }}
/>
<Text fontWeight="bold" fontSize="lg">
{obj.name}
</Text>
<Text fontWeight="medium" fontSize="sm" color="gray.600">
{obj.position}, {obj.company}
</Text>
</Stack>
</Stack>
</Stack>
</Fragment>
))}
</Container>
);
};
export default Testimonials;
With dotted box
import { Container, Text, VStack, Box, Avatar, Icon, useColorModeValue } from '@chakra-ui/react';
// Here we have used react-icons package for the icon
import { FaQuoteRight } from 'react-icons/fa';
interface TestimonialAttributes {
username: string;
position: string;
company: string;
content: string;
image: string;
}
const testimonial: TestimonialAttributes = {
username: 'Ben Parker',
position: 'CEO',
company: 'Foodtesla',
image:
'https://images.unsplash.com/photo-1531427186611-ecfd6d936c79?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&auto=format&fit=crop&w=334&q=80',
content: `Proin iaculis purus consequat sem cure digni ssim donec porttitora entum suscipit
rhoncus. Accusantium quam, ultricies eget id, aliquam eget nibh et. Maecen aliquam,
risus at semper`
};
const Testimonial = () => {
return (
<Container maxW="2xl" p={5}>
<DottedBox />
<VStack spacing={3}>
<Icon
as={FaQuoteRight}
w={8}
h={8}
color={useColorModeValue('gray.600', 'gray.300')}
zIndex={5}
/>
<Text p={5} color={useColorModeValue('gray.600', 'gray.300')} zIndex={5}>
{testimonial.content}
</Text>
<VStack alignItems="center">
<Avatar name="avatar" src={testimonial.image} size="lg" />
<Box textAlign="center">
<Text fontWeight="bold" fontSize="lg">
{testimonial.username}
</Text>
<Text fontSize="md" color="gray.500">
{testimonial.position} at {testimonial.company}
</Text>
</Box>
</VStack>
</VStack>
</Container>
);
};
function DottedBox() {
return (
<Box height="full" maxW="700px" zIndex={-1}>
<Box position="absolute" left="0" top="-30px">
<svg
color={useColorModeValue('rgba(55,65,81, 0.1)', 'rgba(55,65,81, 0.7)')}
width="200"
height="250"
fill="none"
>
<defs>
<pattern
id="5d0dd344-b041-4d26-bec4-8d33ea57ec9b"
x="0"
y="0"
width="20"
height="20"
patternUnits="userSpaceOnUse"
>
<rect x="0" y="0" width="4" height="4" fill="currentColor"></rect>
</pattern>
</defs>
<rect width="404" height="404" fill="url(#5d0dd344-b041-4d26-bec4-8d33ea57ec9b)"></rect>
</svg>
</Box>
</Box>
);
}
export default Testimonial;
Card with avatar
import {
Container,
Text,
HStack,
Flex,
Box,
Avatar,
Icon,
SimpleGrid,
useColorModeValue
} from '@chakra-ui/react';
// Here we have used react-icons package for the icon
import { ImQuotesRight } from 'react-icons/im';
interface TestimonialAttributes {
username: string;
position: string;
company: string;
content: string;
image: string;
}
const testimonials: TestimonialAttributes[] = [
{
username: 'Ben Parker',
position: 'CEO',
company: 'Foodtesla',
image:
'https://images.unsplash.com/photo-1531427186611-ecfd6d936c79?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&auto=format&fit=crop&w=334&q=80',
content: `Proin iaculis purus consequat sem cure digni ssim donec porttitora entum suscipit
rhoncus. Accusantium quam, ultricies eget id, aliquam eget nibh et. Maecen aliquam,
risus at semper`
},
{
username: 'Jena Karlis',
position: 'GM',
company: 'Olpers',
image:
'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=334&q=80',
content: `Proin iaculis purus consequat sem cure digni ssim donec porttitora entum suscipit
rhoncus. Accusantium quam, ultricies eget id, aliquam eget nibh et.`
}
];
const Testimonials = () => {
return (
<Container maxW="5xl" p={{ base: 5, md: 10 }}>
<SimpleGrid columns={{ base: 1, md: 2 }} placeItems="center" spacing={3} my={2}>
{testimonials.map((obj, index) => (
<Flex key={index} direction="column">
<Box
p={5}
bg={useColorModeValue('white', 'blackAlpha.400')}
color="gray.500"
borderTopLeftRadius="lg"
borderTopRightRadius="lg"
>
{obj.content}
</Box>
<Flex
justifyContent="space-between"
alignItems="center"
p={5}
bg={useColorModeValue('gray.300', 'gray.800')}
borderBottomLeftRadius="lg"
borderBottomRightRadius="lg"
>
<HStack spacing={2}>
<Avatar name="avatar" src={obj.image} />
<Flex direction="column">
<Text fontWeight="bold" fontSize="lg">
{obj.username}
</Text>
<Text fontSize="md" color="gray.500">
{obj.position} at {obj.company}
</Text>
</Flex>
</HStack>
<Icon as={ImQuotesRight} w={8} h={8} />
</Flex>
</Flex>
))}
</SimpleGrid>
</Container>
);
};
export default Testimonials;
with top border
import { Container, Text, VStack, Box, Avatar, Icon, useColorModeValue } from '@chakra-ui/react';
// Here we have used react-icons package for the icon
import { FaQuoteRight } from 'react-icons/fa';
interface TestimonialAttributes {
username: string;
position: string;
company: string;
content: string;
image: string;
}
const testimonial: TestimonialAttributes = {
username: 'Ben Parker',
position: 'CEO',
company: 'Foodtesla',
image:
'https://images.unsplash.com/photo-1531427186611-ecfd6d936c79?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&auto=format&fit=crop&w=334&q=80',
content: `Proin iaculis purus consequat sem cure digni ssim donec porttitora entum suscipit
rhoncus. Accusantium quam, ultricies eget id, aliquam eget nibh et. Maecen aliquam,
risus at semper`
};
const Testimonial = () => {
return (
<Container maxW="5xl" p={{ base: 5, md: 10 }}>
<VStack
spacing={3}
p={{ base: 4, sm: 8 }}
bg={useColorModeValue('white', 'blackAlpha.600')}
borderTop="2px solid"
borderColor="green.400"
borderBottomLeftRadius="lg"
borderBottomRightRadius="lg"
maxW="25rem"
margin="0 auto"
boxShadow="lg"
>
<Icon as={FaQuoteRight} w={8} h={8} color="green.400" />
<Text p={5} color="gray.500">
{testimonial.content}
</Text>
<VStack alignItems="center">
<Avatar name="avatar" src={testimonial.image} size="lg" />
<Box textAlign="center">
<Text fontWeight="bold" fontSize="lg">
{testimonial.username}
</Text>
<Text fontSize="md" color="gray.500">
{testimonial.position} at {testimonial.company}
</Text>
</Box>
</VStack>
</VStack>
</Container>
);
};
export default Testimonial;
With Avatar display horizontally
import { Fragment } from 'react';
import { Container, Text, Stack, Avatar, Divider, Icon } from '@chakra-ui/react';
// Here we have used react-icons package for the icon
import { ImQuotesLeft } from 'react-icons/im';
interface TestimonialAttributes {
name: string;
position: string;
company: string;
content: string;
image: string;
}
const testimonials: TestimonialAttributes[] = [
{
name: 'Ben Parker',
position: 'CEO',
company: 'Foodtesla',
image:
'https://images.unsplash.com/photo-1531427186611-ecfd6d936c79?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&auto=format&fit=crop&w=334&q=80',
content: `Proin iaculis purus consequat sem cure digni ssim donec porttitora entum suscipit
rhoncus. Accusantium quam, ultricies eget id, aliquam eget nibh et. Maecen aliquam,
risus at semper`
},
{
name: 'Jena Karlis',
position: 'GM',
company: 'Olpers',
image:
'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=334&q=80',
content: `Proin iaculis purus consequat sem cure digni ssim donec porttitora entum suscipit
rhoncus. Accusantium quam, ultricies eget id, aliquam eget nibh et.`
}
];
const Testimonials = () => {
return (
<Container maxW="5xl" py={10} px={{ base: 5, md: 20 }}>
{testimonials.map((obj, index) => (
<Fragment key={index}>
<Stack
direction={{ base: 'column', sm: 'row' }}
spacing={10}
pt={1}
justifyContent="center"
>
<Avatar
size="2xl"
showBorder={true}
borderColor="green.400"
name="avatar"
src={obj.image}
d={{ base: 'none', sm: 'block' }}
/>
<Stack direction="column" spacing={4} textAlign="left" maxW="4xl">
<Icon as={ImQuotesLeft} w={8} h={8} color="gray.400" />
<Text fontSize="md" fontWeight="medium">
{obj.content}
</Text>
<Stack alignItems={{ base: 'center', sm: 'flex-start' }} spacing={0}>
<Avatar
size="xl"
showBorder={true}
borderColor="green.400"
name="avatar"
src={obj.image}
d={{ base: 'block', sm: 'none' }}
/>
<Text fontWeight="bold" fontSize="lg">
{obj.name}
</Text>
<Text fontWeight="medium" fontSize="sm" color="gray.600">
{obj.position}, {obj.company}
</Text>
</Stack>
</Stack>
</Stack>
{testimonials.length - 1 !== index && <Divider my={6} />}
</Fragment>
))}
</Container>
);
};
export default Testimonials;
With Avatar display vertically
import { Fragment } from 'react';
import { Container, Box, chakra, Flex, Text, VStack, Avatar, Divider } from '@chakra-ui/react';
interface TestimonialAttributes {
name: string;
position: string;
company: string;
content: string;
image: string;
}
const testimonials: TestimonialAttributes[] = [
{
name: 'Ben Parker',
position: 'CEO',
company: 'Foodtesla',
image:
'https://images.unsplash.com/photo-1531427186611-ecfd6d936c79?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&auto=format&fit=crop&w=334&q=80',
content: `Proin iaculis purus consequat sem cure digni ssim donec porttitora entum suscipit
rhoncus. Accusantium quam, ultricies eget id, aliquam eget nibh et. Maecen aliquam,
risus at semper`
},
{
name: 'Jena Karlis',
position: 'GM',
company: 'Olpers',
image:
'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=334&q=80',
content: `Proin iaculis purus consequat sem cure digni ssim donec porttitora entum suscipit
rhoncus. Accusantium quam, ultricies eget id, aliquam eget nibh et.`
}
];
const Testimonials = () => {
return (
<Container maxW="5xl" p={{ base: 5, md: 10 }}>
<Flex justifyContent="center" mb={8}>
<chakra.h3 fontSize="3xl" fontWeight="bold" mb={3}>
Testimonials
</chakra.h3>
</Flex>
{testimonials.map((obj, index) => (
<Fragment key={index}>
<VStack spacing={3} pt={1} justifyContent="center">
<Avatar
size="xl"
showBorder={true}
borderColor="green.400"
name="avatar"
src={obj.image}
/>
<Box textAlign="center">
<Text fontWeight="bold" fontSize="lg">
{obj.name}
</Text>
<Text fontWeight="medium" fontSize="sm" color="gray.400">
{obj.position}, {obj.company}
</Text>
</Box>
<Box textAlign="center" maxW="4xl">
<Text fontSize="md" fontWeight="medium">
{obj.content}
</Text>
</Box>
</VStack>
{testimonials.length - 1 !== index && <Divider my={6} />}
</Fragment>
))}
</Container>
);
};
export default Testimonials;
With Arrow head cards
import {
Container,
Box,
chakra,
Flex,
Text,
Stack,
Avatar,
SimpleGrid,
useColorModeValue
} from '@chakra-ui/react';
interface TestimonialAttributes {
name: string;
position: string;
company: string;
content: string;
image: string;
}
const testimonials: TestimonialAttributes[] = [
{
name: 'Ben Parker',
position: 'CEO',
company: 'Olpers',
image:
'https://images.unsplash.com/photo-1531427186611-ecfd6d936c79?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&auto=format&fit=crop&w=334&q=80',
content: `Proin iaculis purus consequat sem cure digni ssim donec porttitora entum suscipit
rhoncus. Accusantium quam, ultricies eget id, aliquam eget nibh et. Maecen aliquam,
risus at semper`
},
{
name: 'Jena Karlis',
position: 'GM',
company: 'Olpers',
image:
'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=334&q=80',
content: `Proin iaculis purus consequat sem cure digni ssim donec porttitora entum suscipit
rhoncus. Accusantium quam, ultricies eget id, aliquam eget nibh et. Maecen aliquam,
risus at semper`
},
{
name: 'Vicky Hald',
position: 'CFO',
company: 'Olpers',
image:
'https://images.unsplash.com/photo-1599566150163-29194dcaad36?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&auto=format&fit=crop&w=334&q=80',
content: `Proin iaculis purus consequat sem cure digni ssim donec porttitora entum suscipit
rhoncus. Accusantium quam, ultricies eget id, aliquam eget nibh et. Maecen aliquam,
risus at semper`
},
{
name: 'Vicky Hald',
position: 'CFO',
company: 'Olpers',
image:
'https://images.unsplash.com/photo-1606513542745-97629752a13b?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=334&q=80',
content: `Proin iaculis purus consequat sem cure digni ssim donec porttitora entum suscipit
rhoncus. Accusantium quam, ultricies eget id, aliquam eget nibh et. Maecen aliquam,
risus at semper`
}
];
const Testimonials = () => {
return (
<Container maxW="5xl" py={10} px={6} bg={useColorModeValue('gray.200', 'gray.600')}>
<Flex justifyContent="center" mb={8}>
<chakra.h3 fontSize="3xl" fontWeight="bold" mb={3} textAlign="center">
What people are saying about Us
</chakra.h3>
</Flex>
<SimpleGrid columns={{ base: 1, md: 2 }} placeItems="center" spacing={1} mt={12} mb={4}>
{testimonials.map((obj, index) => (
<Stack
key={index}
direction={{ base: 'column', sm: 'row' }}
spacing={2}
mb={5}
justifyContent="center"
>
<Stack
maxW="345px"
boxShadow="lg"
rounded="md"
p={6}
pos="relative"
bg={useColorModeValue('white', 'gray.800')}
_after={{
content: `""`,
w: '0',
h: '0',
borderColor: `transparent ${useColorModeValue('white', '#1a202c')} transparent`,
borderStyle: 'solid',
borderWidth: '10px 0 10px 10px',
position: 'absolute',
top: { base: 'unset', sm: '45%' },
right: { base: 'unset', sm: '-10px' },
left: { base: '48%', sm: 'unset' },
bottom: { base: '-15px', sm: 'unset' },
transform: { base: 'rotate(90deg)', sm: 'unset' },
display: 'block'
}}
>
<Text fontWeight="medium" fontSize="sm">
{obj.content}
</Text>
</Stack>
<Stack
direction="column"
spacing={2}
p={2}
justifyContent="flex-end"
alignItems="center"
>
<Avatar
size="lg"
showBorder={true}
borderColor="green.400"
name="avatar"
src={obj.image}
/>
<Box textAlign="center">
<Text fontWeight="bold" fontSize="md">
{obj.name}
</Text>
<Text fontWeight="medium" fontSize="xs" color="gray.400">
{obj.position}, {obj.company}
</Text>
</Box>
</Stack>
</Stack>
))}
</SimpleGrid>
</Container>
);
};
export default Testimonials;
With Rotating cards
import {
Container,
Box,
chakra,
Flex,
Text,
Stack,
Avatar,
useColorModeValue,
SimpleGrid
} from '@chakra-ui/react';
interface TestimonialAttributes {
name: string;
position: string;
company: string;
content: string;
image: string;
}
const testimonials: TestimonialAttributes[] = [
{
name: 'Ben Parker',
position: 'CEO',
company: 'Olpers',
image:
'https://images.unsplash.com/photo-1531427186611-ecfd6d936c79?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&auto=format&fit=crop&w=334&q=80',
content: `Proin iaculis purus consequat sem cure digni ssim donec porttitora entum suscipit
rhoncus. Accusantium quam, ultricies eget id, aliquam eget nibh et. Maecen aliquam,
risus at semper`
},
{
name: 'Jena Karlis',
position: 'GM',
company: 'Olpers',
image:
'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=334&q=80',
content: `Proin iaculis purus consequat sem cure digni ssim donec porttitora entum suscipit
rhoncus. Accusantium quam, ultricies eget id, aliquam eget nibh et. Maecen aliquam,
risus at semper`
},
{
name: 'Vicky Hald',
position: 'CFO',
company: 'Olpers',
image:
'https://images.unsplash.com/photo-1599566150163-29194dcaad36?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&auto=format&fit=crop&w=334&q=80',
content: `Proin iaculis purus consequat sem cure digni ssim donec porttitora entum suscipit
rhoncus. Accusantium quam, ultricies eget id, aliquam eget nibh et. Maecen aliquam,
risus at semper`
},
{
name: 'Vicky Hald',
position: 'CFO',
company: 'Olpers',
image:
'https://images.unsplash.com/photo-1606513542745-97629752a13b?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=334&q=80',
content: `Proin iaculis purus consequat sem cure digni ssim donec porttitora entum suscipit
rhoncus. Accusantium quam, ultricies eget id, aliquam eget nibh et. Maecen aliquam,
risus at semper`
}
];
const Testimonials = () => {
return (
<Container maxW="5xl" p={{ base: 5, md: 10 }} bg={useColorModeValue('gray.200', 'gray.600')}>
<Flex justifyContent="center" mb={8}>
<chakra.h3 fontSize="3xl" fontWeight="bold" mb={3} textAlign="center">
Our Clients
</chakra.h3>
</Flex>
<SimpleGrid columns={{ base: 1, md: 2 }} placeItems="center" spacing={1} mt={12} mb={4}>
{testimonials.map((obj, index) => (
<Stack key={index} direction="column" mb={5} spacing={0} alignItems="baseline">
<Stack
maxW="345px"
spacing={5}
mb={10}
boxShadow="lg"
rounded="md"
p={6}
pos="relative"
bg={useColorModeValue('white', 'gray.800')}
transform="rotate(-4deg)"
_after={{
content: `""`,
borderColor: `${useColorModeValue('#eff5f1', '#252d3a')} transparent`,
borderStyle: 'solid',
borderWidth: '25px 30px 0 0',
position: 'absolute',
bottom: '-25px',
left: '40px',
display: 'block'
}}
>
<Box
position="relative"
rounded="md"
transform="rotate(4deg)"
_before={{
content: '""',
bg: useColorModeValue('green.200', 'gray.600'),
filter: 'blur(55px)',
position: 'absolute',
top: '-0.15rem',
right: '-0.15rem',
bottom: '-0.15rem',
left: '-0.15rem',
borderRadius: '5px'
}}
>
<chakra.p position="relative">{obj.content}</chakra.p>
</Box>
</Stack>
<Stack
direction="column"
spacing={1}
p={2}
justifyContent="flex-end"
alignItems="center"
>
<Avatar
size="lg"
showBorder={true}
borderColor="green.400"
name="avatar"
src={obj.image}
/>
<Box direction="column" textAlign="center">
<Text fontWeight="bold" fontSize="md">
{obj.name}
</Text>
<Text fontWeight="medium" fontSize="xs" color="gray.400">
{obj.position}, {obj.company}
</Text>
</Box>
</Stack>
</Stack>
))}
</SimpleGrid>
</Container>
);
};
export default Testimonials;