Skip to content

Commit d6bbf01

Browse files
Fix Community Organisers Lunch (#1811)
Before <img width="1253" height="670" alt="image" src="https://github.com/user-attachments/assets/1fe2b4a7-672f-4ea6-b7b4-1c3e9bcc27e1" /> After <img width="1522" height="669" alt="image" src="https://github.com/user-attachments/assets/8e6f21f6-aeac-49e6-9a50-99998c17f7fa" /> Co-authored-by: George Margaritis <gmargaritis@protonmail.com>
1 parent 54e9e13 commit d6bbf01

1 file changed

Lines changed: 48 additions & 8 deletions

File tree

src/components/schedule/day.astro

Lines changed: 48 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const posters: Array<ScheduleSession> = [];
7878
7979
const isLunchSideEvent = (session: ScheduleSession): boolean => {
8080
const title = session.title.toLowerCase();
81-
return title === "pyladies lunch" || title === "communities organizers lunch";
81+
return title === "pyladies lunch" || title === "community organisers lunch";
8282
};
8383
8484
const lunchSideEvents: Array<ScheduleSession> = [];
@@ -560,6 +560,12 @@ const endStart = numberToTime(lastEndTime);
560560
— 2nd Floor Red Carpet, starting 13:20
561561
</span>
562562
)}
563+
{session.title.toLowerCase() ===
564+
"community organisers lunch" && (
565+
<span class="pyladies-location">
566+
— F0 (Glass Room)
567+
</span>
568+
)}
563569
</li>
564570
))}
565571
</ul>
@@ -738,6 +744,21 @@ const endStart = numberToTime(lastEndTime);
738744
text-align: center;
739745
}
740746

747+
/* Show lunch header on mobile as well */
748+
.lunch-break-header {
749+
display: block;
750+
width: 100%;
751+
font-family: "Inter Tight", system-ui, sans-serif;
752+
font-size: 0.95rem;
753+
color: var(--ep-text-secondary);
754+
font-weight: 500;
755+
padding: 0.4rem 0.8rem;
756+
background: oklch(0.75 0.171 60.3 / 0.06);
757+
border-bottom: 1px solid oklch(0.75 0.171 60.3 / 0.18);
758+
text-align: center;
759+
border-radius: 4px 4px 0 0;
760+
}
761+
741762
/* Override inline grid on mobile — fits viewport */
742763
.lunch-break .lunch-break-content {
743764
display: block !important;
@@ -759,6 +780,22 @@ const endStart = numberToTime(lastEndTime);
759780
flex: none;
760781
max-width: 100%;
761782
}
783+
784+
.sched-posters-list {
785+
list-style: none;
786+
padding: 0;
787+
margin: 0.5rem 0;
788+
}
789+
790+
.sched-posters-list a {
791+
display: inline-block;
792+
border: 1px solid var(--color-surface-medium);
793+
border-radius: 4px;
794+
padding: 0.5rem 0.75rem;
795+
color: var(--color-accent-themed);
796+
text-decoration: none;
797+
margin: 2px 0;
798+
}
762799
}
763800

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

917-
.sched-lunch-hr {
918-
grid-column: 1 / -1;
919-
border: none;
920-
border-top: 1px solid var(--color-border);
921-
margin: 0.5rem 0;
922-
}
923-
924954
.sched-lunch-events {
925955
grid-column: 1 / -1;
926956
justify-self: center;
@@ -977,6 +1007,16 @@ const endStart = numberToTime(lastEndTime);
9771007
display: flex;
9781008
height: 100%;
9791009
}
1010+
1011+
.sched-lunch-hr {
1012+
grid-column: 1 / -1;
1013+
}
1014+
}
1015+
1016+
.sched-lunch-hr {
1017+
border: none;
1018+
border-top: 1px solid var(--color-border);
1019+
margin: 1rem 0;
9801020
}
9811021
</style>
9821022

0 commit comments

Comments
 (0)