-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prize svg #32
Prize svg #32
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
couple small changes!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one final small number change!
Components/PrizeSVG.tsx
Outdated
const svgMap: { [key: number]: JSX.Element } = { | ||
1: <Button width={size} height={size}/>, | ||
2: attendeePoints >= 20 ? <ToteBag width={size} height={size}/> : <Question2 width={size} height={size}/>, | ||
3: attendeePoints >= 35 ? <Cap width={size} height={size}/> : <Question3 width={size} height={size}/>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to fix these thresholds still :') it should be 20, 35, and 50
Components/PrizeSVG.tsx
Outdated
token: string; | ||
} | ||
|
||
const FoodWaveSVG: React.FC<PrizeSVGProps> = ({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uh nit but this should be named PrizeSVG or smth right
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢
now question marks should appear if there is no token. prizes should appear as you earn more points.