Skip to content

Commit e70f8d9

Browse files
committed
style the speaker page
1 parent 759d4bf commit e70f8d9

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/app/conf/2025/components/session-tags.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function SessionTags({ session, className, ...rest }: SessionTagsProps) {
1717
: session.event_type
1818

1919
return (
20-
<div className={clsx("flex flex-wrap gap-3", className)} {...rest}>
20+
<div className={clsx("flex flex-wrap gap-2 md:gap-3", className)} {...rest}>
2121
{eventType && (
2222
<Tag color={eventsColors[session.event_type]}>{eventType}</Tag>
2323
)}

src/app/conf/2025/speakers/[id]/long-session-card.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,21 +67,21 @@ export function LongSessionCard({
6767
aria-label={`Read more about "${eventTitle}" by ${session.speakers?.[0]?.name || "Speaker"}`}
6868
/>
6969

70-
<div className="flex flex-col gap-6 p-6">
70+
<div className="flex flex-col gap-6 p-4 lg:p-6">
7171
<div className="flex items-center justify-between gap-6">
7272
<SessionTags session={session} />
7373
{video && (
7474
<div className="flex items-center gap-2 border border-neu-400 bg-neu-100 px-2 py-1">
7575
<span className="typography-menu text-neu-900">
7676
{/* todo: find year */}
77-
GraphQLConf 2024
77+
2024
7878
</span>
7979
</div>
8080
)}
8181
</div>
8282

8383
<div className="flex flex-col gap-4">
84-
<div className="min-h-[60px]">
84+
<div className="min-h-[32px]">
8585
<h3 className="typography-body-lg text-neu-900 2xl:text-2xl">
8686
{eventTitle}
8787
</h3>
@@ -121,7 +121,7 @@ export function LongSessionCard({
121121
{/* todo: past session no recording variant */}
122122

123123
{video ? (
124-
<footer className="px-6 pb-6 pt-0">
124+
<footer className="p-4 pt-0 lg:px-6 lg:pb-6">
125125
<Button
126126
href={`https://youtube.com/embed/${video.id}`}
127127
variant="primary"
@@ -133,7 +133,7 @@ export function LongSessionCard({
133133
</footer>
134134
) : (
135135
<footer className="flex items-center border-t border-neu-200 text-neu-800 dark:border-neu-100">
136-
<div className="flex flex-1 items-center gap-6 border-r border-neu-200 p-6">
136+
<div className="flex flex-1 items-center gap-6 border-r border-neu-200 p-4 dark:border-neu-100 lg:p-6">
137137
<div className="contents flex-col md:max-xl:flex">
138138
<div className="flex items-center gap-0.5 whitespace-pre">
139139
<CalendarIcon className="size-4 shrink-0 -translate-y-px text-sec-dark" />
@@ -150,7 +150,7 @@ export function LongSessionCard({
150150
</div>
151151
</div>
152152
{/* TODO: Actually add to calendar. Ensure we show this only on this year's events. */}
153-
<button className="relative z-[2] flex h-full flex-row items-center justify-center gap-0.5 px-6 py-4 text-neu-800 ring-inset ring-neu-400 hover:bg-sec-base/[.035] hover:ring-1 dark:ring-neu-100">
153+
<button className="relative z-[2] flex h-full flex-row items-center justify-center gap-0.5 p-4 text-neu-800 ring-inset ring-neu-400 hover:bg-sec-base/[.035] hover:ring-1 dark:ring-neu-100 lg:px-6">
154154
<PlusIcon className="size-4 shrink-0 text-sec-dark" />
155155
<span className="typography-body-xs">Add to calendar</span>
156156
</button>

src/app/conf/2025/speakers/[id]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ function SpeakerSessions({
170170
return (
171171
<div
172172
className={clsx(
173-
"grid lg:grid-cols-2 lg:gap-5 [&>*:not(:last-child)]:border-b-0",
173+
"grid lg:grid-cols-2 lg:gap-5 max-lg:[&>*:not(:last-child)]:border-b-0",
174174
className,
175175
)}
176176
>

0 commit comments

Comments
 (0)