File tree Expand file tree Collapse file tree 3 files changed +22
-3
lines changed
_design-system/pixelarticons Expand file tree Collapse file tree 3 files changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ import { SchedSpeaker } from "../../2023/types"
99import { StripesDecoration } from "../../_design-system/stripes-decoration"
1010import { 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+
1215import styles from "./speaker-card.module.css"
1316import { 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}
You can’t perform that action at this time.
0 commit comments