Skip to content

Commit 42c9945

Browse files
Merge pull request #124 from matrix-org/add-full-schedule
Publish the full schedule
2 parents 658f41a + a6d4cbd commit 42c9945

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

src/layouts/BaseLayout.astro

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ const { pageTitle, ogTitle, description } = Astro.props;
8989
async
9090
crossorigin="anonymous"
9191
is:inline></script>
92+
<script
93+
type="text/javascript"
94+
src="https://cfp.2025.matrix.org/matrix-conf-2025/widgets/schedule.js"
95+
is:inline></script>
9296
</head>
9397
<body>
9498
<a class="skip-to-main" href="#main-content">Skip to main content</a>

src/pages/schedule.astro

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@ import BaseLayout from "../layouts/BaseLayout.astro";
2525
p a {
2626
color: var(--link-color);
2727
}
28+
29+
@media (width <= 710px) {
30+
#full-schedule {
31+
background-color: #fff; /* Needed to keep the schedule legible at small size */
32+
}
33+
}
34+
35+
#full-schedule {
36+
padding-inline: 0;
37+
overflow-x: auto;
38+
}
2839
</style>
2940
<BaseLayout
3041
pageTitle="Schedule of The Matrix Conference"
@@ -48,4 +59,23 @@ import BaseLayout from "../layouts/BaseLayout.astro";
4859
>!
4960
</p>
5061
</section>
62+
<section id="full-schedule">
63+
<pretalx-schedule
64+
event-url="https://cfp.2025.matrix.org/matrix-conf-2025/"
65+
locale="en"
66+
format="grid"
67+
style="--pretalx-clr-primary: #000000"></pretalx-schedule>
68+
<noscript>
69+
<div class="pretalx-widget">
70+
<div class="pretalx-widget-info-message">
71+
JavaScript is disabled in your browser. To access our
72+
schedule without JavaScript, please <a
73+
target="_blank"
74+
href="https://cfp.2025.matrix.org/matrix-conf-2025/schedule/"
75+
>click here</a
76+
>.
77+
</div>
78+
</div>
79+
</noscript>
80+
</section>
5181
</BaseLayout>

0 commit comments

Comments
 (0)