blob: dac92441e2c2099ce19959d3a95c4f4d396e084a (
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
|
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>Geshem.space shows real-time rain radar data in Israel.</p>
<p>The entire source code is open and available at</p>
<p>
<a href="https://github.com/yuvadm/geshem.space">
https://github.com/yuvadm/geshem.space
</a>
</p>
</div>
<div id="info-heb">
<p>גשם.ספייס מציג מידע בזמן אמת על ענני גשם בכל הארץ</p>
<p>קוד המקור של האתר פתוח וזמין לצפייה בכתובת</p>
<p>
<a href="https://github.com/yuvadm/geshem.space">
https://github.com/yuvadm/geshem.space
</a>
</p>
</div>
</div>
</div>
);
}
export default Info;
|