fix: image aspect ratio

This commit is contained in:
Aaryan Khandelwal 2023-03-01 14:18:02 +05:30
parent 8f0ef7bf13
commit 35af45ddd7

View File

@ -137,6 +137,7 @@ export const SingleProjectCard: React.FC<ProjectCardProps> = ({
}
alt={project.name}
layout="fill"
objectFit="cover"
className="rounded-t-[10px]"
/>
<div className="absolute left-7 bottom-4 flex items-center gap-3 text-white">