This commit is contained in:
2024-06-07 15:36:26 +02:00
parent 446baaa7bb
commit 6699f04718

View File

@ -12,11 +12,11 @@
<div <div
class="max-w-sm my-4 w-80 h-fit rounded-lg shadow-md bg-neutral-800 hover:bg-neutral-700" class="max-w-sm my-4 w-80 h-fit rounded-lg shadow-md bg-neutral-800 hover:bg-neutral-700"
> >
<a href="/"> <a href="/presse">
<img class="rounded-t-lg h-48 w-80 object-cover" src={image} alt="" /> <img class="rounded-t-lg h-48 w-80 object-cover" src={image} alt="" />
</a> </a>
<div class="p-5"> <div class="p-5">
<a href="/"> <a href="/presse">
<h5 class="mb-2 text-lg font-bold tracking-tight text-white"> <h5 class="mb-2 text-lg font-bold tracking-tight text-white">
{truncateString(title, 50)} {truncateString(title, 50)}
</h5> </h5>