🚧 wip: add image support to card

This commit is contained in:
2026-03-13 12:00:00 +07:00
parent e3211d240a
commit c02832674b
5 changed files with 77 additions and 17 deletions

View File

@ -0,0 +1,18 @@
import { RecommendationAnime } from "@/features/home/actions/getRecommenationAnime";
const AnimeRecommendationCard = ({ data }: { data: RecommendationAnime }) => {
return (
<div>
<div className="w-64 h-88 rounded-lg overflow-hidden">
<img
className="w-full h-full object-cover"
src={data.thumbnail_url}
alt={data.title}
draggable={false}
/>
</div>
</div>
);
};
export default AnimeRecommendationCard;