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"
9
9
import { StripesDecoration } from "../../_design-system/stripes-decoration"
10
10
import { SocialIcon , SocialIconType } from "../../_design-system/social-icon"
11
11
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
+
12
15
import styles from "./speaker-card.module.css"
13
16
import { returningSpeakers , speakerSessions } from "../_data"
14
17
@@ -169,9 +172,19 @@ function SpeakerTags({
169
172
{ eventType }
170
173
</ Tag >
171
174
) }
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 >
175
188
</ div >
176
189
)
177
190
}
You can’t perform that action at this time.
0 commit comments