Skip to content

Commit f8a1339

Browse files
committed
Display returning and first time speaker
1 parent 41aefb3 commit f8a1339

File tree

3 files changed

+22
-3
lines changed

3 files changed

+22
-3
lines changed

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

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ import { SchedSpeaker } from "../../2023/types"
99
import { StripesDecoration } from "../../_design-system/stripes-decoration"
1010
import { SocialIcon, SocialIconType } from "../../_design-system/social-icon"
1111

12+
import ReloadIcon from "@/app/conf/_design-system/pixelarticons/reload.svg?svgr"
13+
import PlayIcon from "@/app/conf/_design-system/pixelarticons/play.svg?svgr"
14+
1215
import styles from "./speaker-card.module.css"
1316
import { returningSpeakers, speakerSessions } from "../_data"
1417

@@ -169,9 +172,19 @@ function SpeakerTags({
169172
{eventType}
170173
</Tag>
171174
)}
172-
{returningSpeakers.has(speaker.name) && (
173-
<Tag color="hsl(var(--color-neu-500))">Returning speaker</Tag>
174-
)}
175+
176+
<Tag color="hsl(var(--color-neu-500))">
177+
{returningSpeakers.has(speaker.name) ? (
178+
<>
179+
<ReloadIcon className="mr-2" />
180+
returning speaker
181+
</>
182+
) : (
183+
<>
184+
<PlayIcon className="mr-2" /> first time speaker
185+
</>
186+
)}
187+
</Tag>
175188
</div>
176189
)
177190
}
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)