summaryrefslogtreecommitdiff
path: root/src/components/Schedule.astro
blob: 6b7c4055f722f557efac6a02c5f895e394d2df94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
interface Props {
  entries: { time: string; description: string }[];
}

const { entries } = Astro.props;
---

<dl class="schedule">
  {
    entries.map((entry) => (
      <>
        <dt>{entry.time}</dt>
        <dd>{entry.description}</dd>
      </>
    ))
  }
</dl>