Skip to content
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

Added hurricane icon for new cause launching Disaster Relief #584

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/components/CauseIcon.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
mdiWater,
mdiAccountHeart,
mdiVote,
mdiWeatherHurricane,
} from '@mdi/js'

const PAW = 'paw'
Expand All @@ -27,6 +28,7 @@
const MONEY = 'money'
const TRANSGENDER = 'transgender'
const VOTE = 'vote'
const HURRICANE = 'hurricane'

const iconOptions = [
PAW,
Expand Down Expand Up @@ -132,6 +134,18 @@
</SvgIcon>
)
break
case HURRICANE:
iconComp = (

Check warning on line 138 in src/components/CauseIcon.js

View check run for this annotation

Codecov / codecov/patch

src/components/CauseIcon.js#L137-L138

Added lines #L137 - L138 were not covered by tests
<SvgIcon className={className}>
<path
fillRule="evenodd"
clipRule="evenodd"
d={mdiWeatherHurricane}
fill="inherit"
/>
</SvgIcon>
)
break

Check warning on line 148 in src/components/CauseIcon.js

View check run for this annotation

Codecov / codecov/patch

src/components/CauseIcon.js#L148

Added line #L148 was not covered by tests
case PERSON_HEART:
iconComp = (
<SvgIcon className={className}>
Expand Down
Loading