---
interface Props {
    url: string;
    image: string;
    title: string;
    date: string;
}

const { url, image, title, date } = Astro.props;
---

<li class="card">
    <a class="card__link" href={url}>
        <div class="center">
            <img
                class="card__img"
                src={image}
                role="presentation"
                width="226"
                height="127"
                loading="lazy"
                decoding="async"
            />
        </div>
        <h3 class="card__title">
            {title}
        </h3>
    </a>
</li>
