Skip to content

Commit 84217bf

Browse files
committed
Improve padding
1 parent 1760a16 commit 84217bf

File tree

3 files changed

+9
-16
lines changed

3 files changed

+9
-16
lines changed

src/app/conf/2025/components/speaker-card.tsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import { SpeakerLinks } from "./speaker-links"
1414
import styles from "./speaker-card.module.css"
1515

1616
export interface SpeakerCardProps extends React.HTMLAttributes<HTMLDivElement> {
17-
tags?: string[]
1817
isReturning?: boolean
1918
stripes?: string
2019
speaker: SchedSpeaker
@@ -23,7 +22,6 @@ export interface SpeakerCardProps extends React.HTMLAttributes<HTMLDivElement> {
2322
}
2423

2524
export function SpeakerCard({
26-
tags = [],
2725
className,
2826
speaker,
2927
year,
@@ -87,16 +85,6 @@ export function SpeakerCard({
8785
{speaker.about}
8886
</p>
8987
)}
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-
)}
10088
</div>
10189
</div>
10290
<Anchor

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

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export function LongSessionCard({
5757
return (
5858
<div
5959
className={clsx(
60-
"group relative border border-neu-200 bg-neu-0 p-6",
60+
"group relative border border-neu-200 bg-neu-0",
6161
!!video && "flex flex-col gap-6 backdrop-blur-md",
6262
className,
6363
)}
@@ -69,7 +69,7 @@ export function LongSessionCard({
6969
aria-label={`Read more about "${eventTitle}" by ${session.speakers?.[0]?.name || "Speaker"}`}
7070
/>
7171

72-
<div className="flex flex-col gap-6">
72+
<div className="flex flex-col gap-6 p-6">
7373
<div className="flex items-center justify-between gap-6">
7474
<SessionTags session={session} />
7575
{video && (
@@ -84,7 +84,12 @@ export function LongSessionCard({
8484

8585
<div className="flex flex-col gap-4">
8686
<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>
8893
</div>
8994
<div className="flex items-center justify-between gap-2">
9095
{(speakers?.length || 0) > 0 && (

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ function SpeakerHeader({
120120
className?: string
121121
}) {
122122
return (
123-
<header className={className}>
123+
<header className={clsx("flex max-md:flex-col", className)}>
124124
<div className="pl-2 sm:pl-3">
125125
<BackLink year="2025" kind="schedule" />
126126
<p className="typography-body-lg mt-4 text-sec-darker lg:typography-h3 lg:mt-20">

0 commit comments

Comments
 (0)