Skip to content

Commit 0c1b655

Browse files
committed
fix: schedule
1 parent 645b948 commit 0c1b655

File tree

1 file changed

+21
-13
lines changed

1 file changed

+21
-13
lines changed

Diff for: src/packlets/new-front/schedule.astro

+21-13
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,34 @@ import Switcher from "$schedule/switcher.svelte";
88
const schedules = await getSessionizeSchedules()
99
1010
const container = await experimental_AstroContainer.create();
11-
const workshopDay = await container.renderToString(Day, {
12-
// @ts-ignore
13-
props: schedules[0]
14-
});
15-
const conferenceDay = await container.renderToString(Day, {
16-
// @ts-ignore
17-
props: schedules[1]
18-
});
11+
// const workshopDay = await container.renderToString(Day, {
12+
// // @ts-ignore
13+
// props: schedules[0]
14+
// });
15+
// const conferenceDay = await container.renderToString(Day, {
16+
// // @ts-ignore
17+
// props: schedules[1]
18+
// });
1919
---
2020

2121
<section class="py-12 px-8 bg-white">
2222
<div class="pb-12 text-center">
2323
<h1 class="pb-6 text-5xl font-bold text-brand-orange">Schedule</h1>
2424
</div>
2525

26-
<Switcher
27-
workshopHtml={workshopDay}
28-
conferenceHtml={conferenceDay}
29-
client:idle
30-
/>
26+
<h1 class="font-bold text-3xl md:text-4xl">
27+
Conference
28+
</h1>
29+
<h2 class="md:text-lg pb-8">
30+
(Sat) October 19, 2024 @True Digital Park
31+
</h2>
32+
<Day {...schedules[1]} />
33+
34+
<!--<Switcher-->
35+
<!-- workshopHtml={workshopDay}-->
36+
<!-- conferenceHtml={conferenceDay}-->
37+
<!-- client:idle-->
38+
<!--/>-->
3139
<!--<Day {...schedules[0]} />-->
3240
<!--<Day {...schedules[1]} />-->
3341
</section>

0 commit comments

Comments
 (0)