src/utils/renderCard.tsx