File tree Expand file tree Collapse file tree 3 files changed +9
-16
lines changed Expand file tree Collapse file tree 3 files changed +9
-16
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ import { SpeakerLinks } from "./speaker-links"
14
14
import styles from "./speaker-card.module.css"
15
15
16
16
export interface SpeakerCardProps extends React . HTMLAttributes < HTMLDivElement > {
17
- tags ?: string [ ]
18
17
isReturning ?: boolean
19
18
stripes ?: string
20
19
speaker : SchedSpeaker
@@ -23,7 +22,6 @@ export interface SpeakerCardProps extends React.HTMLAttributes<HTMLDivElement> {
23
22
}
24
23
25
24
export function SpeakerCard ( {
26
- tags = [ ] ,
27
25
className,
28
26
speaker,
29
27
year,
@@ -87,16 +85,6 @@ export function SpeakerCard({
87
85
{ speaker . about }
88
86
</ p >
89
87
) }
90
- { /* TODO: We'll have to collect it when fetching all sessions. */ }
91
- { tags . length > 0 && (
92
- < div className = "flex flex-wrap gap-2" >
93
- { tags . map ( tag => (
94
- < Tag color = { eventsColors [ tag ] || "hsl(var(--color-sec-base))" } >
95
- { tag }
96
- </ Tag >
97
- ) ) }
98
- </ div >
99
- ) }
100
88
</ div >
101
89
</ div >
102
90
< Anchor
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ export function LongSessionCard({
57
57
return (
58
58
< div
59
59
className = { clsx (
60
- "group relative border border-neu-200 bg-neu-0 p-6 " ,
60
+ "group relative border border-neu-200 bg-neu-0" ,
61
61
! ! video && "flex flex-col gap-6 backdrop-blur-md" ,
62
62
className ,
63
63
) }
@@ -69,7 +69,7 @@ export function LongSessionCard({
69
69
aria-label = { `Read more about "${ eventTitle } " by ${ session . speakers ?. [ 0 ] ?. name || "Speaker" } ` }
70
70
/>
71
71
72
- < div className = "flex flex-col gap-6" >
72
+ < div className = "flex flex-col gap-6 p-6 " >
73
73
< div className = "flex items-center justify-between gap-6" >
74
74
< SessionTags session = { session } />
75
75
{ video && (
@@ -84,7 +84,12 @@ export function LongSessionCard({
84
84
85
85
< div className = "flex flex-col gap-4" >
86
86
< div className = "min-h-[120px]" >
87
- < h3 className = "typography-h3 text-neu-900" > { session . name } </ h3 >
87
+ < h3 className = "typography-body-lg text-neu-900" >
88
+ { getEventTitle (
89
+ session ,
90
+ speakers . map ( s => s . name ) ,
91
+ ) }
92
+ </ h3 >
88
93
</ div >
89
94
< div className = "flex items-center justify-between gap-2" >
90
95
{ ( speakers ?. length || 0 ) > 0 && (
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ function SpeakerHeader({
120
120
className ?: string
121
121
} ) {
122
122
return (
123
- < header className = { className } >
123
+ < header className = { clsx ( "flex max-md:flex-col" , className ) } >
124
124
< div className = "pl-2 sm:pl-3" >
125
125
< BackLink year = "2025" kind = "schedule" />
126
126
< p className = "typography-body-lg mt-4 text-sec-darker lg:typography-h3 lg:mt-20" >
You can’t perform that action at this time.
0 commit comments