Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 48 additions & 8 deletions src/components/schedule/day.astro
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const posters: Array<ScheduleSession> = [];

const isLunchSideEvent = (session: ScheduleSession): boolean => {
const title = session.title.toLowerCase();
return title === "pyladies lunch" || title === "communities organizers lunch";
return title === "pyladies lunch" || title === "community organisers lunch";
};

const lunchSideEvents: Array<ScheduleSession> = [];
Expand Down Expand Up @@ -560,6 +560,12 @@ const endStart = numberToTime(lastEndTime);
— 2nd Floor Red Carpet, starting 13:20
</span>
)}
{session.title.toLowerCase() ===
"community organisers lunch" && (
<span class="pyladies-location">
— F0 (Glass Room)
</span>
)}
</li>
))}
</ul>
Expand Down Expand Up @@ -738,6 +744,21 @@ const endStart = numberToTime(lastEndTime);
text-align: center;
}

/* Show lunch header on mobile as well */
.lunch-break-header {
display: block;
width: 100%;
font-family: "Inter Tight", system-ui, sans-serif;
font-size: 0.95rem;
color: var(--ep-text-secondary);
font-weight: 500;
padding: 0.4rem 0.8rem;
background: oklch(0.75 0.171 60.3 / 0.06);
border-bottom: 1px solid oklch(0.75 0.171 60.3 / 0.18);
text-align: center;
border-radius: 4px 4px 0 0;
}

/* Override inline grid on mobile — fits viewport */
.lunch-break .lunch-break-content {
display: block !important;
Expand All @@ -759,6 +780,22 @@ const endStart = numberToTime(lastEndTime);
flex: none;
max-width: 100%;
}

.sched-posters-list {
list-style: none;
padding: 0;
margin: 0.5rem 0;
}

.sched-posters-list a {
display: inline-block;
border: 1px solid var(--color-surface-medium);
border-radius: 4px;
padding: 0.5rem 0.75rem;
color: var(--color-accent-themed);
text-decoration: none;
margin: 2px 0;
}
}

@media screen and (min-width: 800px) {
Expand Down Expand Up @@ -914,13 +951,6 @@ const endStart = numberToTime(lastEndTime);
border-bottom: 1px solid var(--color-surface-medium);
}

.sched-lunch-hr {
grid-column: 1 / -1;
border: none;
border-top: 1px solid var(--color-border);
margin: 0.5rem 0;
}

.sched-lunch-events {
grid-column: 1 / -1;
justify-self: center;
Expand Down Expand Up @@ -977,6 +1007,16 @@ const endStart = numberToTime(lastEndTime);
display: flex;
height: 100%;
}

.sched-lunch-hr {
grid-column: 1 / -1;
}
}

.sched-lunch-hr {
border: none;
border-top: 1px solid var(--color-border);
margin: 1rem 0;
}
</style>

Expand Down
Loading