Skip to content

Commit b364b11

Browse files
authored
Update legal.js
1 parent 73d32a9 commit b364b11

1 file changed

Lines changed: 96 additions & 223 deletions

File tree

src/pages/legal.js

Lines changed: 96 additions & 223 deletions
Original file line numberDiff line numberDiff line change
@@ -15,83 +15,61 @@ var randomRantsLegal = [
1515
require("./sitenews-notice.js"),
1616

1717
// --- TL;DR SECTION ---
18-
{
19-
element: "div",
20-
style: {
21-
border: "3px dashed var(--main-text-color)",
22-
padding: "20px",
23-
borderRadius: "10px",
24-
marginBottom: "30px",
25-
backgroundColor: "rgba(0, 0, 0, 0.05)",
26-
},
27-
children: [
28-
{
29-
element: "h2",
30-
textContent: "TL;DR (The Short Version)",
31-
style: { marginTop: "0", fontSize: "1.8em" },
32-
children: [],
33-
},
34-
{
35-
element: "p",
36-
textContent:
37-
"Don't want to read the scary legal text below? Here is the simple version:",
38-
style: { fontStyle: "italic", marginBottom: "10px" },
39-
children: [],
40-
},
41-
{
42-
element: "ul",
43-
children: [
44-
{
45-
element: "li",
46-
children: [
47-
{ element: "strong", textContent: "YOU MUST BE 13+." },
48-
{
49-
element: "span",
50-
textContent:
51-
" If you are under 13, you legally cannot be here. Please close the tab.",
52-
},
53-
],
54-
},
55-
{ element: "br" },
56-
{
57-
element: "li",
58-
children: [
59-
{ element: "strong", textContent: "FILES ARE TEMPORARY." },
60-
{
61-
element: "span",
62-
textContent:
63-
" We delete old files to save space. Don't use this as permanent cloud storage.",
64-
},
65-
],
66-
},
67-
{ element: "br" },
68-
{
69-
element: "li",
70-
children: [
71-
{ element: "strong", textContent: "DON'T KILL THE SERVER." },
72-
{
73-
element: "span",
74-
textContent:
75-
" We run on a free tier. If you spam requests or try to crash the site, we will IP BAN you instantly.",
76-
},
77-
],
78-
},
79-
{ element: "br" },
80-
{
81-
element: "li",
82-
children: [
83-
{ element: "strong", textContent: "YOUR DATA." },
84-
{
85-
element: "span",
86-
textContent:
87-
" We can see your IP address and username. We don't sell it, but we have it.",
88-
},
89-
],
90-
},
91-
],
92-
},
93-
],
18+
{
19+
element: "div",
20+
style: {
21+
border: "3px dashed var(--main-text-color)",
22+
padding: "20px",
23+
borderRadius: "10px",
24+
marginBottom: "30px",
25+
backgroundColor: "rgba(0, 0, 0, 0.05)",
9426
},
27+
children: [
28+
{
29+
element: "h2",
30+
textContent: "The Simple Version",
31+
style: { marginTop: "0", fontSize: "1.8em" },
32+
},
33+
{
34+
element: "p",
35+
textContent: "Legal text is a headache. Here’s the deal in plain English:",
36+
style: { fontStyle: "italic", marginBottom: "10px" },
37+
},
38+
{
39+
element: "ul",
40+
children: [
41+
{
42+
element: "li",
43+
children: [
44+
{ element: "strong", textContent: "13+ ONLY." },
45+
{ element: "span", textContent: " If you're under 13, you legally can't be here. It’s a COPPA thing. Please close the tab." },
46+
],
47+
},
48+
{
49+
element: "li",
50+
children: [
51+
{ element: "strong", textContent: "STORAGE ISN'T FOREVER." },
52+
{ element: "span", textContent: " We clear out old files to keep the server fast. Don't use this as your only backup." },
53+
],
54+
},
55+
{
56+
element: "li",
57+
children: [
58+
{ element: "strong", textContent: "PLAY FAIR." },
59+
{ element: "span", textContent: " We're on a free hosting tier. If you try to crash the site or spam it, we'll have to IP ban you to keep it running for everyone else." },
60+
],
61+
},
62+
{
63+
element: "li",
64+
children: [
65+
{ element: "strong", textContent: "YOUR DATA." },
66+
{ element: "span", textContent: " We see IPs and usernames for security. We don't sell it, we just use it to keep the lights on." },
67+
],
68+
},
69+
],
70+
},
71+
],
72+
},
9573
{
9674
element: "hr",
9775
style: { margin: "20px 0", border: "1px solid #ccc" },
@@ -114,28 +92,28 @@ var randomRantsLegal = [
11492
{ element: "br" },
11593

11694
// Developer Note
117-
{
118-
element: "div",
119-
style: {
120-
backgroundColor: "rgba(255, 215, 0, 0.15)", // Subtle highlight
121-
padding: "10px",
122-
borderRadius: "5px",
123-
borderLeft: "3px solid orange",
124-
fontSize: "0.9em",
125-
marginBottom: "15px",
126-
},
127-
children: [
128-
{
129-
element: "strong",
130-
textContent: "Developer Note: ",
131-
},
132-
{
133-
element: "span",
134-
textContent:
135-
"This site is maintained by a 15-year-old student. Most of this legal page was machine-generated to keep things safe. Please don't kill this site, I sacrificed my homework to build it.",
136-
},
137-
],
95+
{
96+
element: "div",
97+
style: {
98+
backgroundColor: "rgba(255, 215, 0, 0.15)",
99+
padding: "10px",
100+
borderRadius: "5px",
101+
borderLeft: "3px solid orange",
102+
fontSize: "0.9em",
103+
marginBottom: "15px",
138104
},
105+
children: [
106+
{
107+
element: "strong",
108+
textContent: "A Note from the Developer: ",
109+
},
110+
{
111+
element: "span",
112+
textContent:
113+
"I’m a 15-year-old student building this in my \"spare time.\" I’ve put a massive amount of work into this site, so please don't try to break it. I'm doing my best to keep the server stable and secure for everyone.",
114+
},
115+
],
116+
},
139117

140118
{
141119
element: "p",
@@ -167,189 +145,84 @@ var randomRantsLegal = [
167145
children: [],
168146
},
169147

170-
// 2. Liability
148+
// 2. User Content & Responsibility
171149
{
172150
element: "h2",
173-
textContent: "2. We aren't responsible for user content",
151+
textContent: "2. Content & Common Sense",
174152
style: { fontSize: "1.5em", marginTop: "1.2em" },
175-
children: [],
176-
},
177-
{
178-
element: "p",
179-
textContent:
180-
"Random Rants + is a platform for users to chat. The creators (Gvbvdxx & Im_CatmanYT) are not responsible for what you say, the files you upload, or the streams you broadcast.",
181-
style: { fontSize: "1em", marginBottom: "0.5em" },
182-
children: [],
183153
},
184154
{
185155
element: "p",
186156
textContent:
187-
"You are responsible for your own actions. If you break the law here, that's on you, not us.",
188-
style: { fontSize: "1em", marginBottom: "0.5em" },
189-
children: [],
157+
"Random Rants + is a place to hang out and talk. We (Gvbvdxx & MOP-3000) didn't write your messages, upload your files, or start your streams—you did. You’re responsible for what you do here.",
190158
},
191159

192-
// 3. Forbidden Content & Server Safety
160+
// 3. Forbidden Content
193161
{
194162
element: "div",
195163
className: "yellowBoxedText",
196164
children: [
197165
{
198166
element: "h2",
199-
textContent: "3. The 'Don't Get Us Banned' Rules",
167+
textContent: "3. The 'Keep Us Online' Rules",
200168
style: { fontSize: "1.5em", marginTop: "1.2em" },
201-
children: [],
202169
},
203170
{
204171
element: "p",
205172
textContent:
206-
"We like having no filters, but we host this site on Render. If you break their rules, our server gets deleted. So, the following is strictly prohibited:",
207-
style: { fontSize: "1em", marginBottom: "0.5em" },
208-
children: [],
173+
"We want to keep this site open and unfiltered, but we host on Render. If someone breaks their terms, they delete our whole project. To keep the lights on, the following is strictly banned:",
209174
},
210175
{
211176
element: "ul",
212177
children: [
213-
{
214-
element: "li",
215-
textContent: "Illegal content of any kind.",
216-
children: [],
217-
},
178+
{ element: "li", textContent: "Illegal content (Obviously)." },
218179
{ element: "br" },
219-
{
220-
element: "li",
221-
textContent:
222-
"Copyright infringement (Don't upload pirated movies).",
223-
children: [],
224-
},
180+
{ element: "li", textContent: "Pirated movies or software (Don't kill our bandwidth)." },
225181
{ element: "br" },
226-
{
227-
element: "li",
228-
textContent: "Malware, phishing links, or hacking tools.",
229-
children: [],
230-
},
182+
{ element: "li", textContent: "Malware, phishing, or anything that messes with other users." },
231183
{ element: "br" },
232-
{
233-
element: "li",
234-
textContent:
235-
"Doxxing (Sharing other people's real-life private info).",
236-
children: [],
237-
},
184+
{ element: "li", textContent: "Doxxing (Keep private info private)." },
238185
],
239186
},
240187
{
241-
element: "h3", // Sub-header for Server Safety
242-
textContent: "Server Safety & IP Bans",
243-
style: {
244-
fontSize: "1.2em",
245-
marginTop: "1em",
246-
marginBottom: "0.5em",
247-
color: "#b22222",
248-
}, // Dark red warning color
249-
children: [],
250-
},
251-
{
252-
element: "p",
253-
textContent:
254-
"This site runs on a free tier. We have limited resources. If we check the request logs and see you are intentionally trying to crash the server, spamming requests, or attempting to DDoS us, we will permanently ban your IP address.",
255-
style: { fontSize: "1em", fontWeight: "bold" },
256-
children: [],
188+
element: "h3",
189+
textContent: "Server Integrity",
190+
style: { fontSize: "1.2em", color: "#b22222" },
257191
},
258192
{
259193
element: "p",
260194
textContent:
261-
"Users with Ownership also have the right to ban you from rooms if you break these rules.",
262-
style: { fontSize: "1em", marginTop: "1em" },
263-
children: [],
195+
"This runs on a free tier and we have zero budget. If we see you trying to DDoS us, spamming requests, or attempting to crash the server for fun, we will IP ban you immediately. It's not personal, we just need the site to actually work.",
196+
style: { fontWeight: "bold" },
264197
},
265198
],
266199
},
267200

268201
// 4. File Storage
269202
{
270203
element: "h2",
271-
textContent: "4. How Files & Uploads Work",
204+
textContent: "4. How Uploads Work",
272205
style: { fontSize: "1.5em", marginTop: "1.2em" },
273-
children: [],
274206
},
275207
{
276208
element: "p",
277209
textContent:
278-
"When you attach a file, it is uploaded to our server to make downloading faster for everyone else in the room. Here is how that works:",
279-
style: { fontSize: "1em", marginBottom: "0.5em" },
280-
children: [],
210+
"When you send a file, it hits our server so others can see it. To keep things organized, our system renames your file to a unique ID (like attachment-x8d9s.file). The data stays the same, we just give it a cleaner label.",
281211
},
282212
{
283-
element: "ul",
284-
children: [
285-
{
286-
element: "li",
287-
children: [
288-
{ element: "strong", textContent: "Renaming: " },
289-
{
290-
element: "span",
291-
textContent:
292-
"To prevent errors, we rename your file to a generated ID (like ",
293-
},
294-
{ element: "code", textContent: "attachment-x8d9s.file" },
295-
{
296-
element: "span",
297-
textContent:
298-
"), but the content inside remains exactly what you uploaded.",
299-
},
300-
],
301-
},
302-
{ element: "br" },
303-
{
304-
element: "li",
305-
children: [
306-
{ element: "strong", textContent: "Temporary Storage: " },
307-
{
308-
element: "span",
309-
textContent:
310-
"We don't have infinite storage. Files are automatically deleted from the server if they haven't been requested/downloaded for a while. Save your important stuff elsewhere.",
311-
},
312-
],
313-
},
314-
],
213+
element: "p",
214+
textContent: "Note: We don't have infinite space. If a file hasn't been touched in a while, our 'janitor' script deletes it. Don't use us as your only cloud storage!",
315215
},
316216

317217
// 5. Privacy Policy
318218
{
319219
element: "h2",
320-
textContent: "5. Privacy Policy",
220+
textContent: "5. Your Privacy",
321221
style: { fontSize: "1.5em", marginTop: "1.2em" },
322-
children: [],
323222
},
324223
{
325224
element: "p",
326-
textContent:
327-
"We aren't a big corporation selling your data. Here is exactly what we collect:",
328-
style: { fontSize: "1em", marginBottom: "0.5em" },
329-
children: [],
330-
},
331-
{
332-
element: "ul",
333-
children: [
334-
{
335-
element: "li",
336-
textContent: "Your Username & Display Name (To show who you are).",
337-
children: [],
338-
},
339-
{ element: "br" },
340-
{
341-
element: "li",
342-
textContent:
343-
"Your IP Address (Automatically collected for connection, security logs, and banning bad actors).",
344-
children: [],
345-
},
346-
],
347-
},
348-
{
349-
element: "p",
350-
textContent: "We do not sell your personal data to third parties.",
351-
style: { fontSize: "1em", marginBottom: "0.5em" },
352-
children: [],
225+
textContent: "We aren't a corporation and we have no interest in your data. We only keep what's necessary for the site to function: your username (so people know who you are) and your IP address (to keep the server secure and deal with trolls). We never sell this stuff.",
353226
},
354227

355228
// 6. Hosting

0 commit comments

Comments
 (0)