Skip to content

Commit 8d88a87

Browse files
authored
Merge pull request #46 from zorexsalvo/feature/schedule
Feature: Embed Pretalx for Live Schedule
2 parents e38c551 + 209c933 commit 8d88a87

1 file changed

Lines changed: 45 additions & 5 deletions

File tree

Lines changed: 45 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,51 @@
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+
--pretalx-font-size: 0.95rem;
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+
/* Force light theme regardless of system dark mode */
12+
color-scheme: light;
13+
14+
/* Explicit light colors (override dark-mode tokens) */
15+
--pretalx-clr-background: #ffffff;
16+
--pretalx-clr-card: #ffffff;
17+
--pretalx-clr-text: #111827;
18+
--pretalx-clr-text-muted: #4b5563;
19+
--pretalx-clr-heading: #111827;
20+
--pretalx-clr-border: #e5e7eb;
21+
22+
--pretalx-clr-primary: #f97316;
23+
}
24+
25+
/* Make the schedule responsive on mobile */
26+
@media (max-width: 768px) {
27+
pretalx-schedule {
28+
font-size: 0.875rem;
29+
}
30+
}
31+
</style>
32+
{% endblock header %}
33+
34+
35+
<div class="w-full px-4 sm:px-6 lg:px-8 pt-40 pb-18">
36+
<div class="w-full">
37+
<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>
38+
<div class="content-body font-nunito text-brown-2 text-lg leading-relaxed w-full overflow-x-auto">
39+
<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>
40+
41+
<pretalx-schedule event-url="https://pretalx.com/python-asia-2026/" locale="en" format="grid"></pretalx-schedule>
42+
<noscript>
43+
<div class="pretalx-widget">
44+
<div class="pretalx-widget-info-message">
45+
JavaScript is disabled in your browser. To access our schedule without JavaScript, please <a target="_blank" href="https://pretalx.com/python-asia-2026/schedule/nojs">click here</a>.
46+
</div>
47+
</div>
48+
</noscript>
949
</div>
1050
</div>
1151
</div>

0 commit comments

Comments
 (0)