<div className="">
{/* top section */}
<div className="h-[175px] rounded-t-xl bg-yellow-100">
{/* TODO: insert image here with object cover */}
{title}
</div>
{/* bottom section */}
<div className="flex items-center gap-x-2 p-3 w-full rounded-b-xl bg-gray-200/70">
<div className="h-[50px] w-[50px] flex items-center justify-center shrink-0 outline outline-1 outline-black p-1 bg-orange-300">
Text
</div>
{/* page info */}
{/* changing this style to className="overflow-hidden" works */}
<div className="flex-grow">
<div className="font-bold text-lg">{title}</div>
{/* NOTE: Ellipsis only works when overflow hidden is set and white space nowrap */}
<div className="text-gray-400 text-sm truncate">{href}</div>
</div>
</div>
</div>
<div className="">
{/* top section */}
<div className="h-[175px] rounded-t-xl bg-yellow-100">
{/* TODO: insert image here with object cover */}
{title}
</div>
{/* bottom section */}
<div className="flex items-center gap-x-2 p-3 w-full rounded-b-xl bg-gray-200/70">
<div className="h-[50px] w-[50px] flex items-center justify-center shrink-0 outline outline-1 outline-black p-1 bg-orange-300">
Text
</div>
{/* page info */}
{/* changing this style to className="overflow-hidden" works */}
<div className="flex-grow">
<div className="font-bold text-lg">{title}</div>
{/* NOTE: Ellipsis only works when overflow hidden is set and white space nowrap */}
<div className="text-gray-400 text-sm truncate">{href}</div>
</div>
</div>
</div>