@@ -12,7 +12,7 @@ import { SessionVideo } from "./session-video"
12
12
import { NavbarPlaceholder } from "../../components/navbar"
13
13
import { BackLink } from "../_components/back-link"
14
14
import { Tag } from "@/app/conf/_design-system/tag"
15
- import { eventsColors } from "../../utils"
15
+ import { eventsColors , getEventTitle } from "../../utils"
16
16
import { PinIcon } from "../../pixelarticons/pin-icon"
17
17
import { CalendarIcon } from "../../pixelarticons/calendar-icon"
18
18
import { SpeakerCard } from "../../components/speaker-card"
@@ -64,35 +64,41 @@ export default function SessionPage({ params }: SessionProps) {
64
64
< main className = "gql-all-anchors-focusable" >
65
65
< NavbarPlaceholder className = "top-0 bg-neu-0 before:bg-white/40 dark:bg-neu-0 dark:before:bg-blk/30" />
66
66
< div className = "gql-conf-container gql-conf-navbar-strip text-neu-900 before:bg-white/40 before:dark:bg-blk/30" >
67
- < div className = "mx-auto max-w-[1088px] py-10" >
68
- < section className = "mx-auto min-h-[80vh] flex-col justify-center px-2 sm:px-0 lg:justify-between" >
69
- < SessionHeader event = { event } eventTitle = { eventTitle } year = "2025" />
70
- < SessionVideo event = { event } eventTitle = { eventTitle } />
71
-
72
- < div className = "mt-8 flex gap-4 max-lg:flex-col lg:mt-16 lg:gap-8" >
73
- < h3 className = "typography-h2 min-w-[320px]" >
74
- Session description
67
+ < div className = "gql-conf-section" >
68
+ < div className = "mx-auto max-w-[1088px] py-10" >
69
+ < section className = "mx-auto min-h-[80vh] flex-col justify-center px-2 sm:px-0 lg:justify-between" >
70
+ < SessionHeader
71
+ event = { event }
72
+ eventTitle = { eventTitle }
73
+ year = "2025"
74
+ />
75
+ < SessionVideo event = { event } eventTitle = { eventTitle } />
76
+
77
+ < div className = "mt-8 flex gap-4 max-lg:flex-col lg:mt-16 lg:gap-8" >
78
+ < h3 className = "typography-h2 min-w-[320px]" >
79
+ Session description
80
+ </ h3 >
81
+ < p className = "typography-body-lg" > { event . description } </ p >
82
+ </ div >
83
+
84
+ < h3 className = "typography-h2 my-8 max-w-[408px] lg:mb-16" >
85
+ Session speakers
75
86
</ h3 >
76
- < p className = "typography-body-lg" > { event . description } </ p >
77
- </ div >
78
-
79
- < h3 className = "typography-h2 my-8 max-w-[408px] lg:my-16" >
80
- Session speakers
81
- </ h3 >
82
- < SessionSpeakers event = { event } />
83
-
84
- < div className = "py-8" >
85
- { event . files ?. map ( ( { path } ) => (
86
- < div key = { path } >
87
- < a href = { path } target = "_blank" rel = "noreferrer" >
88
- View Full PDF{ " " }
89
- < span className = "font-sans text-2xl font-light" > ↗</ span >
90
- </ a >
91
- < iframe src = { path } className = "aspect-video size-full" />
92
- </ div >
93
- ) ) }
94
- </ div >
95
- </ section >
87
+ < SessionSpeakers event = { event } />
88
+
89
+ < div className = "py-8" >
90
+ { event . files ?. map ( ( { path } ) => (
91
+ < div key = { path } >
92
+ < a href = { path } target = "_blank" rel = "noreferrer" >
93
+ View Full PDF{ " " }
94
+ < span className = "font-sans text-2xl font-light" > ↗</ span >
95
+ </ a >
96
+ < iframe src = { path } className = "aspect-video size-full" />
97
+ </ div >
98
+ ) ) }
99
+ </ div >
100
+ </ section >
101
+ </ div >
96
102
</ div >
97
103
</ div >
98
104
</ main >
@@ -183,7 +189,7 @@ function SessionHeader({
183
189
184
190
function SessionSpeakers ( { event } : { event : ScheduleSession } ) {
185
191
return (
186
- < div className = "flex flex-col flex-wrap gap-5 lg:flex-row " >
192
+ < div className = "grid gap-5 lg:grid-cols-2 " >
187
193
{ event . speakers ?. map ( speaker => (
188
194
< SpeakerCard key = { speaker . username } speaker = { speaker } year = "2025" />
189
195
) ) }
0 commit comments