-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathPrivacyPolicy.tsx
More file actions
36 lines (32 loc) · 1.25 KB
/
Copy pathPrivacyPolicy.tsx
File metadata and controls
36 lines (32 loc) · 1.25 KB
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
import { lean4webConfig } from '../../config'
import { Popup } from '../navigation/Popup'
/** The popup with the privacy policy. */
function PrivacyPopup({ open, handleClose }: { open: boolean; handleClose: () => void }) {
return (
<Popup open={open} handleClose={handleClose}>
<h2>Privacy Policy</h2>
<p>
Our server collects metadata (such as IP address, browser, operating system) and the data
that the user enters into the editor. The data is used to compute the Lean output and
display it to the user. The information will be stored as long as the user stays on our
website and will be deleted immediately afterwards. We keep logs to improve our software,
but the contained data is anonymised.
</p>
<p>
We don't use cookies but you can choose to save the settings in the browser store by
activating the option in the settings.
</p>
{lean4webConfig.serverCountry && (
<p>Our server is located in {lean4webConfig.serverCountry}.</p>
)}
{lean4webConfig.contactDetails && (
<p>
<strong>Contact details</strong>
<br />
{lean4webConfig.contactDetails}
</p>
)}
</Popup>
)
}
export default PrivacyPopup