fix width issue on project cards

This commit is contained in:
2024-10-13 01:43:33 -04:00
parent 561a5318f0
commit f420cec12a
+4 -6
View File
@@ -11,18 +11,16 @@ export default function Project({
}) {
return (
<a href={urlTo} target="_blank">
<div className="bg-white text-black mx-auto rounded-lg overflow-hidden max-w-fit lg:max-w-full">
<img
<div className="bg-white text-black mx-auto rounded-lg overflow-hidden max-w-full">
<img
src={image}
alt={name}
className="w-full h-24 object-cover"
/>
<div className="p-4 space-y-2">
<h3 className="text-xl font-bold">{name}</h3>
<p className="text-muted-foreground">
{description}
</p>
<h1 className="font-bold text-xl">{name}</h1>
<p>{description}</p>
</div>
</div>
</a>