Skip to content

Commit 4efd06a

Browse files
authored
RW25 - Second phase - tweaks (#496)
* update speaker picture and add sessions for keynote * fix carrousel on mobile * add session content for aaron patterson
1 parent 10fc4af commit 4efd06a

File tree

4 files changed

+28
-1
lines changed

4 files changed

+28
-1
lines changed

_includes/world/2025/homepage_sections/speaker_carousel.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,14 @@ <h2>This year's speakers</h2>
4949
const rightBtn = document.querySelector(".carousel-arrow.right");
5050

5151
// Scroll 1 card width per click
52-
const scrollAmount = carousel.clientWidth / 3;
52+
let scrollAmount;
53+
if (window.matchMedia("(max-width: 700px)").matches) {
54+
scrollAmount = carousel.clientWidth;
55+
} else if (window.matchMedia("(min-width: 701px) and (max-width: 1200px)").matches) {
56+
scrollAmount = carousel.clientWidth / 2;
57+
} else {
58+
scrollAmount = carousel.clientWidth / 3;
59+
}
5360

5461
rightBtn.addEventListener("click", () => {
5562
const maxScrollLeft = carousel.scrollWidth - carousel.clientWidth;
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
layout: world/2025/session
3+
title: "Rails World Closing Keynote"
4+
speaker: aaron-patterson.md
5+
time:
6+
location:
7+
running_order:
8+
---
9+
10+
We actually never know with Aaron. We'll find out what this session is about when you do.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
layout: world/2025/session
3+
title: "Rails World Opening Keynote"
4+
speaker: david-hansson.md
5+
time:
6+
location:
7+
running_order:
8+
---
9+
10+
DHH will kick off the third edition of Rails World in Amsterdam with an Opening Keynote highlighting what is new in Rails today, and where the framework is headed tomorrow.
1.29 MB
Loading

0 commit comments

Comments
 (0)