Skip to content

Commit 01513d4

Browse files
committed
feat: Embed pretalx for live schedule
1 parent e38c551 commit 01513d4

1 file changed

Lines changed: 31 additions & 5 deletions

File tree

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,37 @@
11
{% load static %}
22

3-
<div class="max-w-3xl mx-auto px-6 pt-40 pb-18">
4-
<div>
5-
<h2 class="text-5xl my-10 font-bold font-td_pinoy text-orange-2">Schedule</h2>
3+
{% block header %}
4+
<script type="text/javascript" src="https://pretalx.com/democon/schedule/widget/v2.en.js"></script>
5+
<style>
6+
pretalx-schedule {
7+
display: block;
8+
width: 100%;
9+
}
610

7-
<div class="content-body font-nunito text-brown-2 text-lg leading-relaxed" style="height: 50vh;">
8-
<h3 class="text-2xl text-center pt-40">TO BE ANNOUNCED</h3>
11+
/* Make the schedule responsive on mobile */
12+
@media (max-width: 768px) {
13+
pretalx-schedule {
14+
font-size: 0.875rem;
15+
}
16+
}
17+
</style>
18+
{% endblock header %}
19+
20+
21+
<div class="w-full px-4 sm:px-6 lg:px-8 pt-40 pb-18">
22+
<div class="w-full">
23+
<h2 class="text-5xl my-10 font-bold font-td_pinoy text-orange-2 text-center sm:text-left max-w-7xl mx-auto">Schedule</h2>
24+
<div class="content-body font-nunito text-brown-2 text-lg leading-relaxed w-full overflow-x-auto">
25+
<p class="text-brown-2 font-nunito text-center sm:text-left max-w-7xl mx-auto mb-6 italic">Note: This schedule is subject to change. Please check back regularly for updates.</p>
26+
27+
<pretalx-schedule event-url="https://pretalx.com/python-asia-2026/" locale="en" format="grid" style="--pretalx-clr-primary: #f97316; zoom: 95%"></pretalx-schedule>
28+
<noscript>
29+
<div class="pretalx-widget">
30+
<div class="pretalx-widget-info-message">
31+
JavaScript is disabled in your browser. To access our schedule without JavaScript, please <a target="_blank" href="{{ PRETALX_BASE_URL }}/pyasia-2026/schedule/">click here</a>.
32+
</div>
33+
</div>
34+
</noscript>
935
</div>
1036
</div>
1137
</div>

0 commit comments

Comments
 (0)