Browse Source

fixing 'chuva fraca' marker size

master
analuizaff 3 years ago
parent
commit
4cef96b13a
  1. 2
      src/app/assets/rain/PinChuvaFraca.js
  2. 2
      src/app/assets/rain/rain-icon.svg
  3. 2
      src/app/screens/SharingDataScreen.js

2
src/app/assets/rain/PinChuvaFraca.js

@ -1 +1 @@
export default PinChuvaFraca = `<svg id="bd92cfec-394a-41c7-88a9-a9b9e36637ac" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" width="305" height="390" viewBox="0 0 305 390"><circle cx="150" cy="149.5" r="120.5" fill="#fff"/><path d="M152.5,4.64c-79.95,0-145,65.05-145,145a143.68,143.68,0,0,0,28.93,86.93L143.56,380.86c.27.35.68.48,1,.8a10.79,10.79,0,0,0,16.89-.8c30.85-41.16,87.4-118,109.14-147a.14.14,0,0,1,0,0l.13-.18a144,144,0,0,0,26.78-84C297.5,69.69,232.45,4.64,152.5,4.64Zm-.26,258.84c-62.79,0-114.1-51.32-114.1-114.1s51.31-114.1,114.1-114.1,114.09,51.31,114.09,114.1S215,263.48,152.24,263.48Z" fill="#3b7097"/><path d="M215.62,116.25A54.42,54.42,0,0,0,129,75.38a36.51,36.51,0,0,0-47.8,46.08c-.87.73-1.71,1.5-2.51,2.3a38.15,38.15,0,0,0,27,65.12H199.3a38.12,38.12,0,0,0,38.14-38.12v0A38.33,38.33,0,0,0,215.62,116.25Zm4,54.79a28.52,28.52,0,0,1-20.3,8.4H105.71a28.71,28.71,0,0,1-16.07-52.5,4.72,4.72,0,0,0,1.61-6,26.73,26.73,0,0,1-2.64-11.66,27.07,27.07,0,0,1,27.05-27,26.55,26.55,0,0,1,12,2.78,4.72,4.72,0,0,0,5.09-.59,45,45,0,0,1,73.56,34.75v.18a4.73,4.73,0,0,0,3.06,4.42A28.85,28.85,0,0,1,228,150.74,28.56,28.56,0,0,1,219.6,171Z" fill="#3b7097"/><path d="M108.34,221.17l-4.78,4.77a4.72,4.72,0,0,0,6.67,6.68l4.79-4.78a4.72,4.72,0,1,0-6.68-6.67Z" fill="#3b7097"/><path d="M167.61,221.17l-4.78,4.77a4.72,4.72,0,0,0,6.67,6.68l4.78-4.78a4.72,4.72,0,1,0-6.67-6.67Z" fill="#3b7097"/><path d="M92.07,199.63a4.72,4.72,0,0,0-6.68,0l-4.77,4.78a4.72,4.72,0,0,0,6.68,6.67l4.77-4.78a4.73,4.73,0,0,0,0-6.68Z" fill="#3b7097"/><path d="M151.34,199.63a4.72,4.72,0,0,0-6.68,0l-4.77,4.78a4.72,4.72,0,0,0,6.67,6.67l4.78-4.78A4.73,4.73,0,0,0,151.34,199.63Z" fill="#3b7097"/><path d="M203.93,199.64l-4.78,4.78a4.72,4.72,0,0,0,6.65,6.7l0,0,4.77-4.78a4.72,4.72,0,1,0-6.64-6.7Z" fill="#3b7097"/><path d="M98,151.55a33.57,33.57,0,0,1,14.73-27.73,31.8,31.8,0,0,1,15-42.39c.62-.29,1.25-.57,1.89-.83a31.8,31.8,0,0,0-40.5,43.22A33.46,33.46,0,0,0,107.84,185h18.31l.08-.41A33.47,33.47,0,0,1,98,151.55Z" fill="#3b7097" opacity="0.2"/></svg>`
export default PinChuvaFraca = `<svg id="bd92cfec-394a-41c7-88a9-a9b9e36637ac" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" width="61" height="78" viewBox="0 0 305 390"><circle cx="150" cy="149.5" r="120.5" fill="#fff"/><path d="M152.5,4.64c-79.95,0-145,65.05-145,145a143.68,143.68,0,0,0,28.93,86.93L143.56,380.86c.27.35.68.48,1,.8a10.79,10.79,0,0,0,16.89-.8c30.85-41.16,87.4-118,109.14-147a.14.14,0,0,1,0,0l.13-.18a144,144,0,0,0,26.78-84C297.5,69.69,232.45,4.64,152.5,4.64Zm-.26,258.84c-62.79,0-114.1-51.32-114.1-114.1s51.31-114.1,114.1-114.1,114.09,51.31,114.09,114.1S215,263.48,152.24,263.48Z" fill="#3b7097"/><path d="M215.62,116.25A54.42,54.42,0,0,0,129,75.38a36.51,36.51,0,0,0-47.8,46.08c-.87.73-1.71,1.5-2.51,2.3a38.15,38.15,0,0,0,27,65.12H199.3a38.12,38.12,0,0,0,38.14-38.12v0A38.33,38.33,0,0,0,215.62,116.25Zm4,54.79a28.52,28.52,0,0,1-20.3,8.4H105.71a28.71,28.71,0,0,1-16.07-52.5,4.72,4.72,0,0,0,1.61-6,26.73,26.73,0,0,1-2.64-11.66,27.07,27.07,0,0,1,27.05-27,26.55,26.55,0,0,1,12,2.78,4.72,4.72,0,0,0,5.09-.59,45,45,0,0,1,73.56,34.75v.18a4.73,4.73,0,0,0,3.06,4.42A28.85,28.85,0,0,1,228,150.74,28.56,28.56,0,0,1,219.6,171Z" fill="#3b7097"/><path d="M108.34,221.17l-4.78,4.77a4.72,4.72,0,0,0,6.67,6.68l4.79-4.78a4.72,4.72,0,1,0-6.68-6.67Z" fill="#3b7097"/><path d="M167.61,221.17l-4.78,4.77a4.72,4.72,0,0,0,6.67,6.68l4.78-4.78a4.72,4.72,0,1,0-6.67-6.67Z" fill="#3b7097"/><path d="M92.07,199.63a4.72,4.72,0,0,0-6.68,0l-4.77,4.78a4.72,4.72,0,0,0,6.68,6.67l4.77-4.78a4.73,4.73,0,0,0,0-6.68Z" fill="#3b7097"/><path d="M151.34,199.63a4.72,4.72,0,0,0-6.68,0l-4.77,4.78a4.72,4.72,0,0,0,6.67,6.67l4.78-4.78A4.73,4.73,0,0,0,151.34,199.63Z" fill="#3b7097"/><path d="M203.93,199.64l-4.78,4.78a4.72,4.72,0,0,0,6.65,6.7l0,0,4.77-4.78a4.72,4.72,0,1,0-6.64-6.7Z" fill="#3b7097"/><path d="M98,151.55a33.57,33.57,0,0,1,14.73-27.73,31.8,31.8,0,0,1,15-42.39c.62-.29,1.25-.57,1.89-.83a31.8,31.8,0,0,0-40.5,43.22A33.46,33.46,0,0,0,107.84,185h18.31l.08-.41A33.47,33.47,0,0,1,98,151.55Z" fill="#3b7097" opacity="0.2"/></svg>`

2
src/app/assets/rain/rain-icon.svg

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 150 150"><g id="f817185d-370e-4e96-a1e6-422cebaa6c80" data-name="Camada 2"><rect width="150" height="150" fill="#fff"/></g><g id="f31556a3-2e8c-4c6d-b9ee-ad9bb4bcd49d" data-name="Camada 1"><path d="M133.24,76a21.77,21.77,0,0,1-21.76,21.77H40.53A21.77,21.77,0,0,1,28.35,57.94a3.58,3.58,0,0,0,1.22-4.51,20.16,20.16,0,0,1-2-8.83,20.53,20.53,0,0,1,20.5-20.51,20.23,20.23,0,0,1,9.07,2.11A3.58,3.58,0,0,0,61,25.75,34.11,34.11,0,0,1,116.76,52.1v.13a3.58,3.58,0,0,0,2.33,3.35A21.87,21.87,0,0,1,133.24,76Z" fill="#3b7097" opacity="0.2"/><path d="M34.76,75.64a25.34,25.34,0,0,1,7.43-17.93,25.62,25.62,0,0,1,3.74-3.08A24.1,24.1,0,0,1,57.3,22.49c.47-.23.94-.44,1.43-.63A24.1,24.1,0,0,0,28,54.63,25.35,25.35,0,0,0,42.22,101H56.11l.06-.31A25.37,25.37,0,0,1,34.76,75.64Z" fill="#fff"/><path d="M140.4,76v0a28.91,28.91,0,0,1-28.92,28.9H40.53A28.92,28.92,0,0,1,20.08,55.53c.6-.6,1.24-1.18,1.9-1.74A27.67,27.67,0,0,1,48.07,16.94a27.26,27.26,0,0,1,10.14,1.92,41.26,41.26,0,0,1,65.64,31A29.07,29.07,0,0,1,140.4,76ZM126.87,91.37A21.61,21.61,0,0,0,133.24,76a21.87,21.87,0,0,0-14.15-20.4,3.58,3.58,0,0,1-2.33-3.35V52.1A34.11,34.11,0,0,0,61,25.75a3.58,3.58,0,0,1-3.86.45,20.23,20.23,0,0,0-9.07-2.11A20.53,20.53,0,0,0,27.57,44.6a20.16,20.16,0,0,0,2,8.83,3.58,3.58,0,0,1-1.22,4.51A21.77,21.77,0,0,0,40.53,97.75h71A21.62,21.62,0,0,0,126.87,91.37Z" fill="#3b7097"/><path d="M120.07,113.05a3.58,3.58,0,0,1,0,5.06l-3.62,3.63,0,0a3.58,3.58,0,0,1-5-5.08l3.62-3.63,0,0A3.58,3.58,0,0,1,120.07,113.05Z" fill="#3b7097"/><path d="M105.2,131a3.57,3.57,0,0,1-1,3.48l-3.62,3.62,0,0a3.58,3.58,0,1,1-5-5.08l3.62-3.62a3.58,3.58,0,0,1,6,1.58Z" fill="#3b7097"/><path d="M97.58,113.05a3.58,3.58,0,0,1,0,5.06L94,121.74a3.58,3.58,0,0,1-5.06-5.06l3.63-3.63A3.58,3.58,0,0,1,97.58,113.05Z" fill="#3b7097"/><path d="M81.77,129.38a3.57,3.57,0,0,1,0,5.06l-3.63,3.62a3.57,3.57,0,1,1-5-5.06l3.62-3.62A3.57,3.57,0,0,1,81.77,129.38Z" fill="#3b7097"/><path d="M75.12,113.05a3.58,3.58,0,0,1,0,5.06l-3.62,3.63a3.58,3.58,0,1,1-5.06-5.06l3.62-3.63A3.59,3.59,0,0,1,75.12,113.05Z" fill="#3b7097"/><path d="M59.3,129.38a3.57,3.57,0,0,1,0,5.06l-3.62,3.62A3.58,3.58,0,0,1,50.62,133l3.62-3.62A3.57,3.57,0,0,1,59.3,129.38Z" fill="#3b7097"/><path d="M52.65,113.05a3.57,3.57,0,0,1,0,5.06L49,121.74l-.05,0a3.57,3.57,0,1,1-5-5.1l3.63-3.63A3.58,3.58,0,0,1,52.65,113.05Z" fill="#3b7097"/><path d="M36.84,129.38a3.57,3.57,0,0,1,0,5.06l-3.63,3.62A3.57,3.57,0,1,1,28.16,133l3.62-3.62A3.57,3.57,0,0,1,36.84,129.38Z" fill="#3b7097"/><path d="M30.19,113.05a3.58,3.58,0,0,1,0,5.06l-3.62,3.63a3.58,3.58,0,1,1-5.06-5.06l3.62-3.63A3.59,3.59,0,0,1,30.19,113.05Z" fill="#3b7097"/></g></svg>
<svg id="b1d468e8-462a-4798-96ea-8221215c19b9" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 410 410"><path d="M338.66,134.4A115.2,115.2,0,0,0,155.41,47.9,77.28,77.28,0,0,0,54.24,145.44q-2.76,2.31-5.31,4.86A80.73,80.73,0,0,0,106,288.12H304.11a80.7,80.7,0,0,0,80.73-80.69v0A81.15,81.15,0,0,0,338.66,134.4Zm8.42,116a60.38,60.38,0,0,1-43,17.79H106A60.78,60.78,0,0,1,72,157a10,10,0,0,0,3.4-12.6,56.48,56.48,0,0,1-5.57-24.67,57.29,57.29,0,0,1,57.24-57.24A56.68,56.68,0,0,1,152.4,68.4a10,10,0,0,0,10.78-1.24A95.22,95.22,0,0,1,318.86,140.7v.38a10,10,0,0,0,6.49,9.36,61,61,0,0,1,39.52,56.95A60.36,60.36,0,0,1,347.08,250.36Z" fill="#3b7097"/><path d="M111.61,356.45l-10.12,10.11A10,10,0,0,0,115.6,380.7l10.13-10.11a10,10,0,0,0-14.12-14.14Z" fill="#3b7097"/><path d="M237,356.45l-10.11,10.11A10,10,0,0,0,241,380.7l10.12-10.11A10,10,0,1,0,237,356.45Z" fill="#3b7097"/><path d="M77.15,310.88a10,10,0,0,0-14.12,0L52.92,321a10,10,0,1,0,14.14,14.12L77.17,325a10,10,0,0,0,0-14.13Z" fill="#3b7097"/><path d="M202.6,310.88a10,10,0,0,0-14.13,0L178.37,321a10,10,0,1,0,14.13,14.12L202.6,325A10,10,0,0,0,202.6,310.88Z" fill="#3b7097"/><path d="M313.91,310.89,303.8,321a10,10,0,0,0,14.07,14.19l.06-.06L328,325A10,10,0,1,0,314,310.82Z" fill="#3b7097"/><path d="M89.7,209.11a70.58,70.58,0,0,1,20.74-50.06,71.73,71.73,0,0,1,10.43-8.62,67.3,67.3,0,0,1,31.74-89.72c1.31-.63,2.64-1.21,4-1.75A67.29,67.29,0,0,0,70.9,150.43,70.8,70.8,0,0,0,110.53,279.9h38.76l.17-.86A70.8,70.8,0,0,1,89.7,209.11Z" fill="#3b7097" opacity="0.2"/></svg>

2
src/app/screens/SharingDataScreen.js

@ -44,7 +44,7 @@ function SharingDataScreen({ navigation }) {
<SvgLabeledButton <SvgLabeledButton
label={"CHUVA"} label={"CHUVA"}
onPress={() => navigation.navigate("RainSharingData")} onPress={() => navigation.navigate("RainSharingData")}
SvgImage={assets.rainLevel.Rain_1_5}
SvgImage={assets.rainLevel.RainIcon}
active={isRegistered} active={isRegistered}
inactiveOnPress={() => setShowLog(true)} inactiveOnPress={() => setShowLog(true)}
/> />

Loading…
Cancel
Save