-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #764 from CodeForAfrica/ft/hurumap-package-setup
Introduce @hurumap Package
- Loading branch information
Showing
71 changed files
with
3,899 additions
and
5,704 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
126 changes: 62 additions & 64 deletions
126
apps/charterafrica/src/components/FeaturedVideos/FeaturedVideo.snap.js
Large diffs are not rendered by default.
Oops, something went wrong.
126 changes: 62 additions & 64 deletions
126
apps/charterafrica/src/components/FeaturedVideos/FeaturedVideoCard.snap.js
Large diffs are not rendered by default.
Oops, something went wrong.
126 changes: 62 additions & 64 deletions
126
apps/charterafrica/src/components/YoutubeVideoPlayer/YoutubeVideoPlayer.snap.js
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
SENTRY_ENVIRONMENT=local | ||
SENTRY_ORG=code-for-africa | ||
SENTRY_PROJECT=hurumapclimate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74 changes: 74 additions & 0 deletions
74
apps/climatemappedafrica/src/components/ExplorePage/useLayerStyles.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
import { | ||
CHART_PRIMARY_COLOR_SCHEME, | ||
CHART_SECONDARY_COLOR_SCHEME, | ||
} from "@/climatemappedafrica/theme"; | ||
|
||
export const primaryGeoStyles = { | ||
inactive: { | ||
color: CHART_PRIMARY_COLOR_SCHEME[3], | ||
fillColor: "#f8f8f8", | ||
fillOpacity: 1, | ||
weight: 1, | ||
}, | ||
hoverOnly: { | ||
out: { | ||
color: CHART_PRIMARY_COLOR_SCHEME[3], | ||
fillColor: CHART_PRIMARY_COLOR_SCHEME[2], | ||
fillOpacity: 1, | ||
weight: 1, | ||
}, | ||
over: { | ||
color: CHART_PRIMARY_COLOR_SCHEME[3], | ||
fillColor: CHART_PRIMARY_COLOR_SCHEME[1], | ||
fillOpacity: 1, | ||
}, | ||
}, | ||
selected: { | ||
out: { | ||
color: CHART_PRIMARY_COLOR_SCHEME[3], | ||
fillColor: CHART_PRIMARY_COLOR_SCHEME[1], | ||
strokeWidth: 1, | ||
opacity: 1, | ||
fillOpacity: 1, | ||
weight: 1.5, | ||
}, | ||
over: { | ||
color: CHART_PRIMARY_COLOR_SCHEME[3], | ||
fillColor: CHART_PRIMARY_COLOR_SCHEME[1], | ||
opacity: 1, | ||
}, | ||
}, | ||
}; | ||
|
||
export const secondaryGeoStyles = { | ||
...primaryGeoStyles, | ||
hoverOnly: { | ||
out: { | ||
color: CHART_PRIMARY_COLOR_SCHEME[3], | ||
fillColor: CHART_PRIMARY_COLOR_SCHEME[2], | ||
fillOpacity: 1, | ||
weight: 1, | ||
}, | ||
over: { | ||
color: CHART_SECONDARY_COLOR_SCHEME[3], | ||
fillColor: CHART_SECONDARY_COLOR_SCHEME[1], | ||
fillOpacity: 1, | ||
opacity: 1, | ||
}, | ||
}, | ||
selected: { | ||
out: { | ||
color: CHART_PRIMARY_COLOR_SCHEME[3], | ||
fillColor: CHART_PRIMARY_COLOR_SCHEME[1], | ||
strokeWidth: 1, | ||
opacity: 1, | ||
fillOpacity: 1, | ||
weight: 1.5, | ||
}, | ||
over: { | ||
color: CHART_PRIMARY_COLOR_SCHEME[3], | ||
fillColor: CHART_PRIMARY_COLOR_SCHEME[1], | ||
opacity: 1, | ||
}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.