Skip to content

Commit 14d7aa9

Browse files
committed
Shorten a tag that's way too long
1 parent 77aeeaa commit 14d7aa9

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

src/app/conf/2025/_data.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,3 @@ for (const { username } of speakers2023) {
126126
returningSpeakers.add(username)
127127
}
128128
}
129-
130-
console.log({
131-
returningSpeakers: returningSpeakers.size,
132-
})

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

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export function SpeakerCard({
7171
<div className="flex flex-1 flex-col gap-2">
7272
<div className="flex flex-col gap-1">
7373
<h3 className="typography-body-lg">{speaker.name}</h3>
74-
<p className="line-clamp-1 text-neu-800 typography-body-sm">
74+
<p className="typography-body-sm line-clamp-1 text-neu-800">
7575
{[
7676
speaker.position,
7777
speaker.company === "-" ? "" : speaker.company,
@@ -82,7 +82,7 @@ export function SpeakerCard({
8282
<SpeakerTags speaker={speaker} className="my-3" />
8383
</div>
8484
{speaker.about && (
85-
<p className="line-clamp-3 text-neu-800 typography-body-sm">
85+
<p className="typography-body-sm line-clamp-3 text-neu-800">
8686
{speaker.about}
8787
</p>
8888
)}
@@ -169,19 +169,21 @@ function SpeakerTags({
169169
<div className={clsx("flex basis-0 flex-wrap gap-2", className)}>
170170
{eventType && (
171171
<Tag color={eventsColors[eventType] || "hsl(var(--color-sec-base))"}>
172-
{eventType}
172+
{eventType === "Federation and Composite Schemas"
173+
? "Federation"
174+
: eventType}
173175
</Tag>
174176
)}
175177

176178
<Tag color="hsl(var(--color-neu-500))">
177-
{returningSpeakers.has(speaker.name) ? (
179+
{returningSpeakers.has(speaker.username) ? (
178180
<>
179-
<ReloadIcon className="size-3" />
181+
<ReloadIcon className="-mx-0.5 size-3" />
180182
returning speaker
181183
</>
182184
) : (
183185
<>
184-
<PlayIcon className="size-3" /> first time speaker
186+
<PlayIcon className="-mx-1 size-3" /> first time speaker
185187
</>
186188
)}
187189
</Tag>

0 commit comments

Comments
 (0)