We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9f38b4 commit 758aa32Copy full SHA for 758aa32
2025/src/components/Schedule/index.astro
@@ -9,6 +9,11 @@ const timetable = await getCollection("timetable");
9
<section id="schedule" class="bg-white py-10 md:py-16">
10
<div class="container mx-auto max-w-4xl px-4">
11
<Heading>スケジュール</Heading>
12
- {timetable.shift()?.data.map((schedule) => <TimeTable {...schedule} />)}
+ {
13
+ timetable
14
+ .shift()
15
+ ?.data.sort((a, b) => a.start_at.getTime() - b.start_at.getTime())
16
+ .map((schedule) => <TimeTable {...schedule} />)
17
+ }
18
</div>
19
</section>
0 commit comments