Skip to content

Commit 7ab10a8

Browse files
authored
Merge pull request #153 from pyladies/add_schedule_2024
Add schedule
2 parents 107be98 + a45e2df commit 7ab10a8

File tree

3 files changed

+50
-10
lines changed

3 files changed

+50
-10
lines changed

content/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ imagealt = "Website banner of PyLadiesCon 2024 Online. 6th-8th December | Multi-
2525
<a href="https://www.linkedin.com/company/pyladiescon"><i class="fab fa-linkedin fa-2x px-2" aria-hidden="true"></i></a>
2626
</div>
2727
<div class="w-100 mt-2 text-start" style="color: white;">
28-
The Call for Proposal (CfP) is <span style="font-weight: 900; text-decoration-line: underline;">closed</span> thank you for the submissions.
28+
Check the <a class="text-white" href="/schedule">Schedule!</a>
2929
</div>
3030
</div>
3131

content/schedule/_index.md

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
+++
2+
title = 'Schedule'
3+
draft = false
4+
layout = 3
5+
description = "The dropdown next to the button will allow changing timezone from UTC to local timezone."
6+
image = "/img/about-photo-2.png"
7+
imagealt = "Three racially diverse women sitting on a sofa each with a laptop on their lap and smiling."
8+
+++
9+
10+
{{< pageheader
11+
"Schedule"
12+
"The dropdown next to the button will allow changing timezone from UTC to local timezone."
13+
"/img/schedule-icon.png"
14+
>}}
15+
16+
# Preliminary version
17+
18+
The current schedule is not final and it will probably change in the following days.
19+
Additionally, new activities might be added before the conference.
20+
21+
{{< rawhtml >}}
22+
<!-- begin pretalx -->
23+
<script type="text/javascript" src="https://pretalx.com/pyladiescon-2024/schedule/widget/v2.en.js"></script>
24+
<pretalx-schedule event-url="https://pretalx.com/pyladiescon-2024/" locale="en" format="grid" style="--pretalx-clr-primary: #ee264d"></pretalx-schedule>
25+
<noscript>
26+
<div class="pretalx-widget">
27+
<div class="pretalx-widget-info-message">
28+
JavaScript is disabled in your browser. To access our schedule without JavaScript,
29+
please <a target="_blank" href="https://pretalx.com/pyladiescon-2024/schedule/">click here</a>.
30+
</div>
31+
</div>
32+
</noscript>
33+
34+
<script>
35+
// Because pretalx uses a shadow dom element, we need to inject the style tag programmatically
36+
const style = document.createElement('style');
37+
style.innerHTML = ".pretalx-schedule .settings { margin-left: 0; width: auto; }";
38+
style.innerHTML += ".pretalx-schedule .settings .filter-tracks { margin-right: 20px; }";
39+
40+
const pretalxWrapper = document.querySelector('pretalx-schedule');
41+
const pretalxRoot = pretalxWrapper.shadowRoot;
42+
pretalxRoot.appendChild(style);
43+
</script>
44+
<!-- end pretalx -->
45+
{{< /rawhtml >}}

hugo.toml

+4-9
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,15 @@ name = 'Code of Conduct'
2020
url = '/about/#code-of-conduct'
2121
weight = 30
2222

23-
[[menus.main]]
24-
name = 'Speaking'
25-
url = 'https://pretalx.com/pyladiescon-2024/cfp'
26-
weight = 40
27-
2823
#[[menus.main]]
2924
#name = 'Speakers'
3025
#pageRef = '/speakers'
3126
#weight = 30
3227

33-
#[[menus.main]]
34-
#name = 'Schedule'
35-
#pageRef = '/schedule'
36-
#weight = 40
28+
[[menus.main]]
29+
name = 'Schedule'
30+
pageRef = '/schedule'
31+
weight = 40
3732

3833
[[menus.main]]
3934
name = 'Sponsors'

0 commit comments

Comments
 (0)