Skip to content

Commit 568e6ad

Browse files
committed
Update talks and tutorials.
1 parent fc49540 commit 568e6ad

File tree

2 files changed

+0
-69
lines changed

2 files changed

+0
-69
lines changed

src/pages/schedule/talk.astro renamed to src/pages/schedule/talks.astro

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ const allDays = Array.from(
2626
new Set(days.map((day) => day.id).filter((id) => id))
2727
).sort();
2828
29-
const visibleClass = "talk";
3029
3130
---
3231

@@ -44,36 +43,3 @@ const visibleClass = "talk";
4443
))
4544
}
4645
</Layout>
47-
<style is:global>
48-
49-
.announcements,
50-
.conference-workshop,
51-
.keynote,
52-
.panel,
53-
.poster,
54-
.sponsored,
55-
.talk,
56-
.talk-long-session,
57-
.tutorial{
58-
display:none;
59-
}
60-
</style>
61-
<script define:vars={{ visibleClass }}>
62-
const allClasses = [
63-
'announcements',
64-
'conference-workshop',
65-
'keynote',
66-
'panel',
67-
'poster',
68-
'sponsored',
69-
'talk',
70-
'talk-long-session',
71-
'tutorial'
72-
];
73-
74-
allClasses.forEach(cls => {
75-
document.querySelectorAll(`.${cls}`).forEach(el => {
76-
el.style.display = (cls === visibleClass) ? '' : 'none';
77-
});
78-
});
79-
</script>

src/pages/schedule/tutorial.astro renamed to src/pages/schedule/tutorials.astro

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ const allDays = Array.from(
2626
new Set(days.map((day) => day.id).filter((id) => id))
2727
).sort();
2828
29-
const visibleClass = "tutorial";
30-
3129
---
3230

3331
<Layout title="" description="">
@@ -44,36 +42,3 @@ const visibleClass = "tutorial";
4442
))
4543
}
4644
</Layout>
47-
<style is:global>
48-
49-
.announcements,
50-
.conference-workshop,
51-
.keynote,
52-
.panel,
53-
.poster,
54-
.sponsored,
55-
.talk,
56-
.talk-long-session,
57-
.tutorial{
58-
display:none;
59-
}
60-
</style>
61-
<script define:vars={{ visibleClass }}>
62-
const allClasses = [
63-
'announcements',
64-
'conference-workshop',
65-
'keynote',
66-
'panel',
67-
'poster',
68-
'sponsored',
69-
'talk',
70-
'talk-long-session',
71-
'tutorial'
72-
];
73-
74-
allClasses.forEach(cls => {
75-
document.querySelectorAll(`.${cls}`).forEach(el => {
76-
el.style.display = (cls === visibleClass) ? '' : 'none';
77-
});
78-
});
79-
</script>

0 commit comments

Comments
 (0)