Website/components/privacy.js

42 lines
1.6 KiB
JavaScript
Raw Normal View History

2021-12-21 19:08:36 +00:00
import styles from '../styles/Privacy.module.css'
2022-02-15 17:08:29 +00:00
(async () => {
let ipreq = await fetch('/api/ip', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
msg: 'get_ip'
})
})
let ip;
if (ipreq.ok) {
ipreq.text().then(i => {ip = i});
};
})();
2021-12-21 19:08:36 +00:00
export default function Privacy() {
return (
2022-02-15 17:08:29 +00:00
<>
2021-12-21 22:42:34 +00:00
<div className={styles.ScrollBox}>
<div className={styles.Privacy}>
<h1>Welcome to TheRed.SH!</h1>
<h3>TheRed.SH is a self-hosted site made by TheRed. Due to potential for concerned users to arise, we have made a privacy policy in order to notify these users.</h3>
<hr style={{color:"white", borderRadius:"10px", padding:"2px",backgroundColor:"white",border:"0px white solid"}}/>
<h3>We, in no way, track you or spy on you. We may only collect this information if you abuse our system, however, you can't be identified:</h3>
<h3 style={{lineHeight:"1"}}> Timestamp</h3>
<h3 style={{lineHeight:"1"}}> Request Method</h3>
<h3 style={{lineHeight:"1"}}> Status Code</h3>
<h3 style={{lineHeight:"1"}}> Queries</h3>
2022-02-15 17:08:29 +00:00
<h3>These are the ONLY things we collect. You are unidentifiable. This is done in order to protect our service from abuse, as mentioned above, as well as patching exploits.</h3>
{/* <span>Your IP: {
}, if you do not trust us, use a VPN/Proxy!</span> */}
2021-12-21 22:42:34 +00:00
</div>
2021-12-21 19:08:36 +00:00
</div>
2022-02-15 17:08:29 +00:00
</>
2021-12-21 19:08:36 +00:00
)
}