blob: 79b37e1fd403562b027ffbd23491a95bc1c14224 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
import React, { useState } from "react";
function Info(props) {
const [open, setOpen] = useState(false);
return (
<div id="info">
<div
id="info-button"
onClick={() => {
setOpen(!open);
}}
>
?
</div>
<div id="info-modal" style={{ display: open ? "block" : "none" }}>
<div id="info-eng">
<p>
<strong>
Geshem.space shows real-time rain radar data in Israel
</strong>
</p>
<p>
Rain clouds show up as colored patches on the map, a warmer color
means stronger percipication
</p>
<p>
Use the slider on the bottom to scroll through the animation of the
last hour and determine whether the clouds are coming your way
</p>
<p>
Developed by <a href="https://yuv.al">Yuval Adam</a>
</p>
<p>
Source code available on{" "}
<a href="https://github.com/yuvadm/geshem.space">Github</a>
</p>
</div>
<div id="info-heb">
<p>
<strong>גשם.ספייס מציג בזמן אמת ענני גשם בכל הארץ</strong>
</p>
<p>
עננים מופיעים כגושים צבעוניים על גבי המפה, צבע חם יותר מסמל עננות
צפופה ולכן גשם חזק יותר
</p>
<p>
השתמשו בסליידר בתחתית המסך כדי לגלול באנימציה של העננים בשעה האחרונה
על מנת להבין האם ענני הגשם בדרך אליכם
</p>
<p>
פותח ע"י <a href="https://yuv.al">יובל אדם</a>
</p>
<p>
קוד המקור זמין ב
<a href="https://github.com/yuvadm/geshem.space">גיטהאב</a>
</p>
</div>
</div>
</div>
);
}
export default Info;
|