---
const { year, title } = Astro.props
---

<div class="timeline-item">
    <div class="content">
        <div class="card">
            <div class="title">{year} &bull; {title}</div>
            <div class="text">
                <slot />
            </div>
        </div>
    </div>
</div>
