Skip to content

Commit c02ba19

Browse files
authored
Merge pull request #1835 from airqo-platform/staging
move to production
2 parents d94ad75 + 91e6372 commit c02ba19

File tree

30 files changed

+2743
-87
lines changed

30 files changed

+2743
-87
lines changed

k8s/netmanager/values-prod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
replicaCount: 2
22
image:
33
repository: eu.gcr.io/airqo-250220/airqo-platform-frontend
4-
tag: prod-4d4813a7-1706019137
4+
tag: prod-d94ad75e-1706161287
55
pullPolicy: Always
66
imagePullSecrets: []
77
nameOverride: ''

k8s/netmanager/values-stage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
replicaCount: 2
22
image:
33
repository: eu.gcr.io/airqo-250220/airqo-stage-platform-frontend
4-
tag: stage-6a67d4c1-1706019008
4+
tag: stage-3f404a83-1706161054
55
pullPolicy: Always
66
imagePullSecrets: []
77
nameOverride: ''

k8s/platform/values-stage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ replicaCount: 1
22
image:
33
repository: eu.gcr.io/airqo-250220/airqo-stage-next-platform
44
pullPolicy: Always
5-
tag: stage-3fac4c24-1706008122
5+
tag: stage-eb4aeb6a-1706909755
66
imagePullSecrets: []
77
nameOverride: ''
88
fullnameOverride: ''

mobile/lib/l10n/app_lg.arb

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"goodEvening":"Osiibye otya ",
3737
"good":"Mulungi",
3838
"moderate":"Si mulamu nnyo",
39-
"unhealthySG":"Si mulamu eri abaweweevu",
39+
"unhealthySG":"Si mulamu eri abantu abamu",
4040
"unhealthy":"Gwabulabe",
4141
"veryUnhealthy":"Gwabulabe nnyo",
4242
"hazardous":"Gwabulabe nnyo nnyo",
@@ -238,25 +238,25 @@
238238
"updatedTodayAtDateString": "Gasindikiddwa leero ku {placeholder}",
239239
"goodQualityAirAroundYou": "Woli waliwo omutindo gw’empewo ennungi",
240240
"moderateQualityAirAroundYou": "Woli waliwo omutindo gw’empewo ey'omumakati",
241-
"nearbyLocationsWithAirQualityUnhealthyForSensitiveGroups": "Woli waliwo omutindo gw’empewo etali nnungi eri abaweweevu.",
241+
"nearbyLocationsWithAirQualityUnhealthyForSensitiveGroups": "Woli waliwo omutindo gw’empewo etali nnungi eri abantu abamu.",
242242
"unhealthyQualityAirAroundYou": "Woli waliwo omutindo gw’empewo embbi",
243243
"veryUnhealthyQualityAirAroundYou": "Woli waliwo omutindo gw’empewo embbi nnyo",
244244
"hazardousQualityAirAroundYou": "Woli waliwo omutindo gw’empewo embbi nnyo nnyo",
245245
"theAirIsCleanAndHealthyToBreathe": "Empewo nnyonjo era nnungi okussa",
246246
"theAirIsAcceptableButSensitiveGroupsMayExperienceSomeHealthEffects": "Empewo ekkirizibwa, naye ebibinja ebitela okwata ku Bizibu biyinza okufuna ebizibu ebikosa obulamu.",
247247
"peopleWithRespiratoryOrHeartDiseasesChildrenAndElderlyMayExperienceHealthEffects": "Abantu abalina endwadde z'okussa oba omutima, abaana, n'abakadde bayinza okufuna ebikosa obulamu.",
248-
"everyoneMayBeginToExperienceSomeAdverseHealthEffectsAndSensitiveGroupsAreAtHigherRisk":"Buli muntu ayinza okutandika okufuna ebikosa obulamu naye abaweweevu bali mu bulabe bwa maanyi.",
249-
"healthWarningsOfEmergencyConditionsTheEntirePopulationIsMoreLikelyToBeAffectedWithSeriousHealthEffectsOnSensitiveGroups":"Okulabula kw’ebyobulamu ku mbeera ez’amangu. Buli muntu ayinza okukosebwa, nga gukosa nnyo obulamu ku baweweevu.",
248+
"everyoneMayBeginToExperienceSomeAdverseHealthEffectsAndSensitiveGroupsAreAtHigherRisk":"Buli muntu ayinza okutandika okufuna ebikosa obulamu naye abantu abamu bali mu bulabe bwa maanyi.",
249+
"healthWarningsOfEmergencyConditionsTheEntirePopulationIsMoreLikelyToBeAffectedWithSeriousHealthEffectsOnSensitiveGroups":"Okulabula kw’ebyobulamu ku mbeera ez’amangu. Buli muntu ayinza okukosebwa, nga gukosa nnyo obulamu ku abantu abamu.",
250250
"locationsWithGoodQualityAir":"Ebifo ebirina empewo ey'omutindo omulungi",
251251
"locationsWithModerateQualityAir":"Ebifo ebirina empewo ey'omutindo ey'omumakati",
252252
"locationsWithUnhealthyQualityAir":"EbifEbifo ebirina empewo ey'omutindo embbi",
253253
"locationsWithVeryUnhealthyQualityAir":"EbifEbifo ebirina empewo ey'omutindo embbi nnyo",
254254
"locationsWithHazardousQualityAir":"Ebifo ebirina empewo ey'omutindo embbi nnyo nnyo",
255-
"locationsWithAirQualityUnhealthyForSensitiveGroups":"Ebifo ebirina empewo ey'omutindo ey'abaweweevu",
256-
"unhealthyForSensitiveGroups":"Ebitali bya bulamu Eri abantu abaweweevu",
255+
"locationsWithAirQualityUnhealthyForSensitiveGroups":"Ebifo ebirina empewo ey'omutindo eri ey'obulabe ku bantu abamu",
256+
"unhealthyForSensitiveGroups":"Ebitali bya bulamu Eri abantu abamu",
257257
"airQualityIsSafeForEveryone" : "Omutindo gw'empewo tegulina bulabe eri buli muntu!",
258-
"unusuallySensitivePeopleShouldConsiderReducingProlongedOrIntenseOutdoorActivities" : "Abantu abaweweevu balina okulowooza ku ky'okukendeeza ku mirimu egy'ebweru egy'ekiseera ekiwanvu oba egy'amaanyi.",
259-
"theElderlyAndChildrenShouldLimitIntenseOutdoorActivitiesSensitivePeopleShouldReduceProlongedOrIntenseOutDoorActivities" : "Abakadde n'abaana balina okussa ekkomo ku mirimu egy'amaanyi egy'ebweru. Abantu abaweweevu balina okukendeeza ku mirimu egy'ebweru egy'ekiseera ekiwanvu oba egy'amaanyi.",
258+
"unusuallySensitivePeopleShouldConsiderReducingProlongedOrIntenseOutdoorActivities" : "Abantu abamu balina okulowooza ku ky'okukendeeza ku mirimu egy'ebweru egy'ekiseera ekiwanvu oba egy'amaanyi.",
259+
"theElderlyAndChildrenShouldLimitIntenseOutdoorActivitiesSensitivePeopleShouldReduceProlongedOrIntenseOutDoorActivities" : "Abakadde n'abaana balina okussa ekkomo ku mirimu egy'amaanyi egy'ebweru. Abantu abamu balina okukendeeza ku mirimu egy'ebweru egy'ekiseera ekiwanvu oba egy'amaanyi.",
260260
"peopleWithRespiratoryOrHeartDiseaseTheElderlyAndChildrenShouldAvoidIntenseOutdoorActivitiesEveryoneElseShouldLimitIntenseOutdoorActivities" : "Abantu abalina obulwadde bw'okussa oba omutima, abakadde n'abaana balina okwewala emirimu egy'amaanyi egy'ebweru. Omulala yenna alina ekkomo ku mirimu egy'amaanyi egy'ebweru.",
261261
"everyoneShouldAvoidAnyIntenseOutdoorActivitiesPeopleWithRespiratoryOrHeartDiseaseTheElderlyAndChildrenShouldRemainIndoors": "Buli muntu alina okwewala emirimu gyonna egy'amaanyi egy'ebweru. Abantu abalina obulwadde bw'okussa oba omutima, abakadde n'abaana balina okusigala mu nnyumba.",
262262
"ms":"Mukyala",
@@ -294,28 +294,28 @@
294294
"changeYourEmail": "Kyusa email yo",
295295
"theAirQualityInCityWasGood": "Omutindo gw'empewo mu {placeholder} gwali mulungi.",
296296
"theAirQualityInCityWasModerate": "Omutindo gw'empewo mu {placeholder} gwali mumakati",
297-
"theAirQualityInCityWasUnhealthyForSensitiveGroups": "Omutindo gw'empewo mu {placeholder} gwali si mulamu eri abaweweevu.",
297+
"theAirQualityInCityWasUnhealthyForSensitiveGroups": "Omutindo gw'empewo mu {placeholder} gwali si mulamu eri abantu abamu.",
298298
"theAirQualityInCityWasUnhealthy": "Omutindo gw'empewo mu {placeholder} gwali mubi.",
299299
"theAirQualityInCityWasVeryUnhealthy": "Omutindo gw'empewo mu {placeholder} gwali bulabe nnyo.",
300300
"theAirQualityInCityWasHazardous": "Omutindo gw'empewo mu {placeholder} gwali bulabe nnyo nnyo.",
301301
"theAirQualityInCityWasUnavailable": "Omutindo gw'empewo mu {placeholder} gwali teguliiwo.",
302302
"theAirQualityInCityIsGood": "Omutindo gw'empewo mu {placeholder} mulungi.",
303303
"theAirQualityInCityIsModerate": "Omutindo gw'empewo mu {placeholder} gwa mumakati.",
304-
"theAirQualityInCityIsUnhealthyForSensitiveGroups": "Omutindo gw'empewo mu {placeholder} si mulamu eri abaweweevu.",
304+
"theAirQualityInCityIsUnhealthyForSensitiveGroups": "Omutindo gw'empewo mu {placeholder} si mulamu eri abantu abamu.",
305305
"theAirQualityInCityIsUnhealthy": "Omutindo gw'empewo mu {placeholder} mubi.",
306306
"theAirQualityInCityIsVeryUnhealthy": "Omutindo gw'empewo mu {placeholder} gwa bulabe nnyo.",
307307
"theAirQualityInCityIsHazardous": "Omutindo gw'empewo mu {placeholder} gwa bulabe nnyo nnyo.",
308308
"theAirQualityInCityIsUnavailable": "Omutindo gw'empewo mu {placeholder} teguliiwo.",
309309
"expectConditionsToBeGood": "Suubira omutindo gubere mulungi.",
310310
"expectConditionsToBeModerate": "Suubira omutindo gubere gwa mumakati.",
311-
"expectConditionsToBeUnhealthyForSensitiveGroups": "Suubira omutindo gubere nga si mulamu eri abaweweevu.",
311+
"expectConditionsToBeUnhealthyForSensitiveGroups": "Suubira omutindo gubere nga si mulamu eri abantu abamu.",
312312
"expectConditionsToBeUnhealthy": "Suubira omutindo gubere mubi.",
313313
"expectConditionsToBeVeryUnhealthy": "Suubira omutindo gubere gwa bulabe nnyo.",
314314
"expectConditionsToBeHazardous": "Suubira omutindo gubere gwa bulabe nnyo nnyo.",
315315
"expectConditionsToBeUnavailable": "Suubira omutindo obutaberawo.",
316316
"theHourlyAirQualityAverageInCityIsCurrentlyGood": "Omutindo gw'empewo ogwa buli ssaawa mu {placeholder} mu kiseera kino mulungi.",
317317
"theHourlyAirQualityAverageInCityIsCurrentlyModerate": "Omutindo gw'empewo ogwa buli ssaawa mu {placeholder} mu kiseera kino si mulungi nnyo.",
318-
"theHourlyAirQualityAverageInCityIsCurrentlyUnhealthyForSensitiveGroups": "Omutindo gw'empewo ogwa buli ssaawa mu {placeholder} mu kiseera si mulamu eri abaweweevu",
318+
"theHourlyAirQualityAverageInCityIsCurrentlyUnhealthyForSensitiveGroups": "Omutindo gw'empewo ogwa buli ssaawa mu {placeholder} mu kiseera si mulamu eri abantu abamu",
319319
"theHourlyAirQualityAverageInCityIsCurrentlyUnhealthy": "Omutindo gw'empewo ogwa buli ssaawa mu {placeholder} mu kiseera kino mubi.",
320320
"theHourlyAirQualityAverageInCityIsCurrentlyVeryUnhealthy": "Omutindo gw'empewo ogwa buli ssaawa mu {placeholder} mu kiseera kino gwa bulabe nnyo.",
321321
"theHourlyAirQualityAverageInCityIsCurrentlyHazardous": "Omutindo gw'empewo ogwa buli ssaawa mu {placeholder} mu kiseera kino gwa bulabe nnyo nnyo nnyo.",

platform/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"@reduxjs/toolkit": "^1.9.2",
1919
"@svgr/webpack": "^6.4.0",
2020
"@tailwindcss/typography": "^0.5.9",
21+
"@tippyjs/react": "^4.2.6",
2122
"autoprefixer": "^10.4.12",
2223
"axios": "^1.4.0",
2324
"daisyui": "^2.47.0",
@@ -31,6 +32,7 @@
3132
"jspdf": "^2.5.1",
3233
"jspdf-autotable": "^3.7.1",
3334
"jwt-decode": "^3.1.2",
35+
"mapbox-gl": "^3.1.0",
3436
"moment": "^2.29.4",
3537
"moment-timezone": "^0.5.40",
3638
"next": "^12.2.4",
@@ -41,8 +43,9 @@
4143
"react": "^18.2.0",
4244
"react-beautiful-dnd": "^13.1.1",
4345
"react-calendar": "^4.0.0",
44-
"react-country-flag": "^3.1.0",
4546
"react-dom": "^18.2.0",
47+
"react-map-gl": "^7.1.7",
48+
"react-mapbox-gl": "^5.1.1",
4649
"react-redux": "^8.0.5",
4750
"react-tailwindcss-datepicker": "^1.4.2",
4851
"recharts": "^2.5.0",
@@ -52,6 +55,7 @@
5255
"sass": "^1.54.3",
5356
"tailwindcss": "^3.1.8",
5457
"timezones.json": "^1.7.1",
58+
"tippy.js": "^6.3.7",
5559
"underscore": "^1.13.6"
5660
},
5761
"devDependencies": {

platform/public/icons/LocationIcon.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ const LocationIcon = ({ width, height, fill, strokeWidth }) => {
88
height={height || '20'}
99
viewBox='0 0 20 20'
1010
fill='none'>
11-
<g clip-path='url(#clip0_9880_13588)'>
11+
<g clipPath='url(#clip0_9880_13588)'>
1212
<path
1313
d='M10.0026 10.8268C11.3833 10.8268 12.5026 9.70754 12.5026 8.32682C12.5026 6.94611 11.3833 5.82682 10.0026 5.82682C8.62189 5.82682 7.5026 6.94611 7.5026 8.32682C7.5026 9.70754 8.62189 10.8268 10.0026 10.8268Z'
1414
stroke={fill || '#536A87'}
15-
stroke-width='1.5'
16-
stroke-linecap='round'
17-
stroke-linejoin='round'
15+
strokeWidth='1.5'
16+
strokeLinecap='round'
17+
strokeLinejoin='round'
1818
/>
1919
<path
2020
d='M10.0026 18.3268C13.3359 14.9935 16.6693 12.0087 16.6693 8.32682C16.6693 4.64492 13.6845 1.66016 10.0026 1.66016C6.32071 1.66016 3.33594 4.64492 3.33594 8.32682C3.33594 12.0087 6.66927 14.9935 10.0026 18.3268Z'
2121
stroke={fill || '#536A87'}
22-
stroke-width='1.5'
23-
stroke-linecap='round'
24-
stroke-linejoin='round'
22+
strokeWidth='1.5'
23+
strokeLinecap='round'
24+
strokeLinejoin='round'
2525
/>
2626
</g>
2727
<defs>
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import React from 'react';
2+
3+
const world_Icon = ({ width, height, fill }) => {
4+
return (
5+
<svg
6+
xmlns='http://www.w3.org/2000/svg'
7+
width={width || 24}
8+
height={height || 24}
9+
viewBox='0 0 24 24'
10+
fill='none'>
11+
<path
12+
d='M15 2.458A9.996 9.996 0 0012 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.715-.432-3.33-1.193-4.74M17 5.75h.005M10.5 21.888v-2.203a.5.5 0 01.12-.325l2.486-2.9a.5.5 0 00-.131-.76l-2.857-1.632a.499.499 0 01-.186-.187L8.07 10.62a.5.5 0 00-.478-.25l-5.528.492M21 6c0 2.21-2 4-4 6-2-2-4-3.79-4-6a4 4 0 018 0zm-3.75-.25a.25.25 0 11-.5 0 .25.25 0 01.5 0z'
13+
stroke={fill || '#145FFF'}
14+
strokeWidth={1.5}
15+
strokeLinecap='round'
16+
strokeLinejoin='round'
17+
/>
18+
</svg>
19+
);
20+
};
21+
22+
export default world_Icon;
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import React from 'react';
2+
3+
const downArrow = ({ width, height, fill }) => {
4+
return (
5+
<svg
6+
xmlns='http://www.w3.org/2000/svg'
7+
width={width || '24'}
8+
height={height || '24'}
9+
viewBox='0 0 24 24'
10+
fill='none'>
11+
<path
12+
d='M6 9L12 15L18 9'
13+
stroke={fill || '#536A87'}
14+
strokeWidth='1.5'
15+
strokeLinecap='round'
16+
strokeLinejoin='round'
17+
/>
18+
</svg>
19+
);
20+
};
21+
22+
export default downArrow;

platform/public/icons/map/gpsIcon.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import React from 'react';
2+
3+
const gpsIcon = ({ width, height, fill }) => {
4+
return (
5+
<svg
6+
xmlns='http://www.w3.org/2000/svg'
7+
width={width || '24'}
8+
height={height || '24'}
9+
viewBox='0 0 24 24'
10+
fill='none'>
11+
<path
12+
d='M20 12C20 16.4183 16.4183 20 12 20M20 12C20 7.58172 16.4183 4 12 4M20 12H22M12 20C7.58172 20 4 16.4183 4 12M12 20V22M4 12C4 7.58172 7.58172 4 12 4M4 12H2M12 4V2M15 12C15 13.6569 13.6569 15 12 15C10.3431 15 9 13.6569 9 12C9 10.3431 10.3431 9 12 9C13.6569 9 15 10.3431 15 12Z'
13+
stroke={fill || '#536A87'}
14+
strokeWidth='1.5'
15+
strokeLinecap='round'
16+
strokeLinejoin='round'
17+
/>
18+
</svg>
19+
);
20+
};
21+
22+
export default gpsIcon;

platform/public/icons/map/homeIcon.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import React from 'react';
2+
3+
const homeIcon = ({ width, height, fill }) => {
4+
return (
5+
<svg
6+
xmlns='http://www.w3.org/2000/svg'
7+
width={width || '24'}
8+
height={height || '24'}
9+
viewBox='0 0 24 24'
10+
fill='none'>
11+
<path
12+
d='M12.9823 2.76278C12.631 2.48953 12.4553 2.3529 12.2613 2.30038C12.0902 2.25404 11.9098 2.25404 11.7387 2.30038C11.5447 2.3529 11.369 2.48953 11.0177 2.76278L4.23539 8.0379C3.78202 8.39052 3.55534 8.56683 3.39203 8.78764C3.24737 8.98322 3.1396 9.20356 3.07403 9.43783C3 9.7023 3 9.98948 3 10.5638V17.7988C3 18.9189 3 19.4789 3.21799 19.9067C3.40973 20.2831 3.71569 20.589 4.09202 20.7808C4.51984 20.9988 5.0799 20.9988 6.2 20.9988H8.2C8.48003 20.9988 8.62004 20.9988 8.727 20.9443C8.82108 20.8963 8.89757 20.8198 8.9455 20.7258C9 20.6188 9 20.4788 9 20.1988V13.5988C9 13.0387 9 12.7587 9.10899 12.5448C9.20487 12.3566 9.35785 12.2036 9.54601 12.1078C9.75992 11.9988 10.0399 11.9988 10.6 11.9988H13.4C13.9601 11.9988 14.2401 11.9988 14.454 12.1078C14.6422 12.2036 14.7951 12.3566 14.891 12.5448C15 12.7587 15 13.0387 15 13.5988V20.1988C15 20.4788 15 20.6188 15.0545 20.7258C15.1024 20.8198 15.1789 20.8963 15.273 20.9443C15.38 20.9988 15.52 20.9988 15.8 20.9988H17.8C18.9201 20.9988 19.4802 20.9988 19.908 20.7808C20.2843 20.589 20.5903 20.2831 20.782 19.9067C21 19.4789 21 18.9189 21 17.7988V10.5638C21 9.98948 21 9.7023 20.926 9.43783C20.8604 9.20356 20.7526 8.98322 20.608 8.78764C20.4447 8.56683 20.218 8.39052 19.7646 8.03791L12.9823 2.76278Z'
13+
stroke={fill || '#536A87'}
14+
strokeWidth='1.5'
15+
strokeLinecap='round'
16+
strokeLinejoin='round'
17+
/>
18+
</svg>
19+
);
20+
};
21+
22+
export default homeIcon;
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import React from 'react';
2+
3+
const layerIcon = ({ width, height, fill }) => {
4+
return (
5+
<svg
6+
xmlns='http://www.w3.org/2000/svg'
7+
width={width || '24'}
8+
height={height || '24'}
9+
viewBox='0 0 24 24'
10+
fill='none'>
11+
<path
12+
d='M7 11.9996L2 14.4996L11.6422 19.3207C11.7734 19.3863 11.839 19.4191 11.9078 19.432C11.9687 19.4434 12.0313 19.4434 12.0922 19.432C12.161 19.4191 12.2266 19.3863 12.3578 19.3207L22 14.4996L17 11.9996M2 9.49958L11.6422 4.67846C11.7734 4.61287 11.839 4.58008 11.9078 4.56717C11.9687 4.55574 12.0313 4.55574 12.0922 4.56717C12.161 4.58008 12.2266 4.61287 12.3578 4.67846L22 9.49958L12.3578 14.3207C12.2266 14.3863 12.161 14.4191 12.0922 14.432C12.0313 14.4434 11.9687 14.4434 11.9078 14.432C11.839 14.4191 11.7734 14.3863 11.6422 14.3207L2 9.49958Z'
13+
stroke={fill || '#536A87'}
14+
strokeWidth='1.5'
15+
strokeLinecap='round'
16+
strokeLinejoin='round'
17+
/>
18+
</svg>
19+
);
20+
};
21+
22+
export default layerIcon;

platform/public/icons/map/menuIcon.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import React from 'react';
2+
3+
const menuIcon = ({ width, height, fill }) => {
4+
return (
5+
<svg
6+
xmlns='http://www.w3.org/2000/svg'
7+
width={width || '24'}
8+
height={height || '24'}
9+
viewBox='0 0 24 24'
10+
fill='none'>
11+
<path
12+
d='M3 12H21M3 6H21M3 18H15'
13+
stroke={fill || '#536A87'}
14+
strokeWidth='1.5'
15+
strokeLinecap='round'
16+
strokeLinejoin='round'
17+
/>
18+
</svg>
19+
);
20+
};
21+
22+
export default menuIcon;
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import React from 'react';
2+
3+
const minusIcon = ({ width, height, fill }) => {
4+
return (
5+
<svg
6+
xmlns='http://www.w3.org/2000/svg'
7+
width={width || '24'}
8+
height={height || '24'}
9+
viewBox='0 0 24 24'
10+
fill='none'>
11+
<path
12+
d='M5 12H19'
13+
stroke={fill || '#536A87'}
14+
strokeWidth='1.5'
15+
strokeLinecap='round'
16+
strokeLinejoin='round'
17+
/>
18+
</svg>
19+
);
20+
};
21+
22+
export default minusIcon;

platform/public/icons/map/plusIcon.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import React from 'react';
2+
3+
const plusIcon = ({ width, height, fill }) => {
4+
return (
5+
<svg
6+
xmlns='http://www.w3.org/2000/svg'
7+
width={width || '24'}
8+
height={height || '24'}
9+
viewBox='0 0 24 24'
10+
fill='none'>
11+
<path
12+
d='M12 5V19M5 12H19'
13+
stroke={fill || '#536A87'}
14+
strokeWidth='1.5'
15+
strokeLinecap='round'
16+
strokeLinejoin='round'
17+
/>
18+
</svg>
19+
);
20+
};
21+
22+
export default plusIcon;
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import React from 'react';
2+
3+
const refreshIcon = ({ width, height, fill }) => {
4+
return (
5+
<svg
6+
xmlns='http://www.w3.org/2000/svg'
7+
width={width || '24'}
8+
height={height || '24'}
9+
viewBox='0 0 24 24'
10+
fill='none'>
11+
<path
12+
d='M20.452 12.8927C20.1742 15.5026 18.6954 17.9483 16.2484 19.3611C12.1829 21.7083 6.98442 20.3153 4.63721 16.2499L4.38721 15.8168M3.54515 11.1066C3.82295 8.49674 5.30174 6.05102 7.74873 4.63825C11.8142 2.29104 17.0127 3.68398 19.3599 7.74947L19.6099 8.18248M3.49219 18.0657L4.22424 15.3336L6.95629 16.0657M17.0414 7.93364L19.7735 8.66569L20.5055 5.93364'
13+
stroke={fill || '#536A87'}
14+
strokeWidth='1.5'
15+
strokeLinecap='round'
16+
strokeLinejoin='round'
17+
/>
18+
</svg>
19+
);
20+
};
21+
22+
export default refreshIcon;
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import React from 'react';
2+
3+
const shareIcon = ({ width, height, fill }) => {
4+
return (
5+
<svg
6+
xmlns='http://www.w3.org/2000/svg'
7+
width={width || '24'}
8+
height={height || '24'}
9+
viewBox='0 0 24 24'
10+
fill='none'>
11+
<path
12+
d='M9.99825 13C10.4277 13.5741 10.9756 14.0491 11.6048 14.3929C12.234 14.7367 12.9298 14.9411 13.6449 14.9923C14.36 15.0435 15.0778 14.9403 15.7496 14.6897C16.4214 14.4392 17.0314 14.047 17.5382 13.54L20.5382 10.54C21.449 9.59695 21.953 8.33394 21.9416 7.02296C21.9302 5.71198 21.4044 4.45791 20.4773 3.53087C19.5503 2.60383 18.2962 2.07799 16.9853 2.0666C15.6743 2.0552 14.4113 2.55918 13.4682 3.46997L11.7482 5.17997M13.9982 11C13.5688 10.4258 13.0209 9.95078 12.3917 9.60703C11.7625 9.26327 11.0667 9.05885 10.3516 9.00763C9.63645 8.95641 8.91866 9.0596 8.2469 9.31018C7.57514 9.56077 6.96513 9.9529 6.45825 10.46L3.45825 13.46C2.54746 14.403 2.04348 15.666 2.05488 16.977C2.06627 18.288 2.59211 19.542 3.51915 20.4691C4.44619 21.3961 5.70026 21.9219 7.01124 21.9333C8.32222 21.9447 9.58524 21.4408 10.5282 20.53L12.2382 18.82'
13+
stroke={fill || '#536A87'}
14+
strokeWidth='1.5'
15+
strokeLinecap='round'
16+
strokeLinejoin='round'
17+
/>
18+
</svg>
19+
);
20+
};
21+
22+
export default shareIcon;

0 commit comments

Comments
 (0)