import Image from 'next/image';
import React, { FC } from 'react'

type Props = {
    image: string;
    title: string;
}

const CategoryItem: FC<Props> = (props) => {
    return (
        <div className='text-center'>
            <div className='size-[80px] sm:size-[100px] md:size-[113px] rounded-full overflow-hidden'>
                <Image src={props.image} alt={props.title} width={113} height={113} className='w-full h-full object-cover' />
            </div>
            <div className='mt-2 sm:mt-3 text-xs sm:text-sm text-[#191919]'>
                {props.title}
            </div>
        </div>
    )
}

export default CategoryItem