Skip to content

Commit 2e898a1

Browse files
privacy policy and terms are added
1 parent 6dbb1cd commit 2e898a1

3 files changed

Lines changed: 582 additions & 2 deletions

File tree

frontend/js/footer.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if (!document.querySelector('link[data-font-awesome]')) {
1+
if (!document.querySelector("link[data-font-awesome]")) {
22
const iconStylesheet = document.createElement("link");
33
iconStylesheet.rel = "stylesheet";
44
iconStylesheet.href =
@@ -8,7 +8,6 @@ if (!document.querySelector('link[data-font-awesome]')) {
88
document.head.appendChild(iconStylesheet);
99
}
1010

11-
1211
document.addEventListener("DOMContentLoaded", () => {
1312
if (
1413
window.location.pathname.includes("index.html") ||
@@ -47,6 +46,8 @@ document.addEventListener("DOMContentLoaded", () => {
4746
<li><a href="/leaderboard">leaderboard</a></li>
4847
<li><a href="/registration">register</a></li>
4948
<li><a href="/about">about</a></li>
49+
<li><a href="/privacy.html">Privacy Policy</a></li>
50+
<li><a href="/terms.html">Terms & Conditions</a></li>
5051
</ul>
5152
</div>
5253

frontend/privacy.html

Lines changed: 290 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,290 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>CodePVG — Privacy Policy</title>
7+
8+
<link rel="preconnect" href="https://fonts.googleapis.com" />
9+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
10+
11+
<link
12+
href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap"
13+
rel="stylesheet"
14+
/>
15+
16+
<link rel="stylesheet" href="styles/main.css" />
17+
<link rel="icon" type="image/png" href="assets/logo.png" />
18+
19+
<style>
20+
.legal-page {
21+
min-height: 100vh;
22+
padding: 4rem 1.5rem;
23+
display: flex;
24+
justify-content: center;
25+
}
26+
27+
.legal-container {
28+
width: 100%;
29+
max-width: 1000px;
30+
background: rgba(0, 0, 0, 0.35);
31+
border: 1px solid rgba(0, 255, 120, 0.25);
32+
border-radius: 12px;
33+
padding: 2rem;
34+
backdrop-filter: blur(8px);
35+
}
36+
37+
.legal-title {
38+
margin-bottom: 0.5rem;
39+
}
40+
41+
.last-updated {
42+
opacity: 0.8;
43+
margin-bottom: 2rem;
44+
}
45+
46+
.legal-section {
47+
margin-bottom: 2rem;
48+
}
49+
50+
.legal-section h2 {
51+
margin-bottom: 0.75rem;
52+
}
53+
54+
.legal-section p,
55+
.legal-section li {
56+
line-height: 1.8;
57+
}
58+
59+
.legal-section ul {
60+
padding-left: 1.5rem;
61+
}
62+
63+
.back-link {
64+
display: inline-block;
65+
margin-top: 2rem;
66+
text-decoration: none;
67+
}
68+
69+
@media (max-width: 768px) {
70+
.legal-page {
71+
padding: 2rem 1rem;
72+
}
73+
74+
.legal-container {
75+
padding: 1.25rem;
76+
}
77+
}
78+
</style>
79+
</head>
80+
81+
<body>
82+
<canvas id="matrix-canvas"></canvas>
83+
84+
<main class="legal-page">
85+
<div class="legal-container">
86+
<h1 class="legal-title">Privacy Policy</h1>
87+
<p class="last-updated">Last updated: June 04, 2026</p>
88+
89+
<div class="legal-section">
90+
<p>
91+
This Privacy Policy describes Our policies and procedures on the
92+
collection, use and disclosure of Your information when You use the
93+
Service and tells You about Your privacy rights.
94+
</p>
95+
96+
<p>
97+
We use Your Data to provide and maintain the leaderboard Service. By
98+
using the Service, You agree to the collection and use of information
99+
in accordance with this Privacy Policy.
100+
</p>
101+
</div>
102+
103+
<div class="legal-section">
104+
<h2>Interpretation and Definitions</h2>
105+
106+
<h3>Interpretation</h3>
107+
<p>
108+
The words whose initial letters are capitalized have meanings defined
109+
under the following conditions. The following definitions shall have
110+
the same meaning regardless of whether they appear in singular or in
111+
plural.
112+
</p>
113+
114+
<h3>Definitions</h3>
115+
<ul>
116+
<li>
117+
<strong>Company</strong> refers to CodePVG LeetCode Leaderboard.
118+
</li>
119+
<li>
120+
<strong>Device</strong> means any device that can access the Service
121+
such as a computer, a cell phone or a digital tablet.
122+
</li>
123+
<li>
124+
<strong>Personal Data</strong> means any information that relates to
125+
an identified or identifiable individual, such as your Name or
126+
LeetCode ID.
127+
</li>
128+
<li>
129+
<strong>Service</strong> refers to the Website.
130+
</li>
131+
<li>
132+
<strong>Website</strong> refers to CodePVG LeetCode Leaderboard,
133+
accessible from https://codepvg.onrender.com
134+
</li>
135+
<li>
136+
<strong>You</strong> means the individual accessing or using the
137+
Service.
138+
</li>
139+
</ul>
140+
</div>
141+
142+
<div class="legal-section">
143+
<h2>Collecting and Using Your Personal Data</h2>
144+
145+
<h3>Types of Data Collected</h3>
146+
147+
<h4>Personal Data</h4>
148+
<p>
149+
While using Our Service to be listed on the leaderboard, We may ask
150+
You to provide Us with certain personally identifiable information,
151+
such as:
152+
</p>
153+
154+
<ul>
155+
<li>First and last name</li>
156+
<li>LeetCode ID / Username</li>
157+
<li>College name</li>
158+
</ul>
159+
160+
<h4>Usage Data</h4>
161+
<p>
162+
Usage Data is collected automatically when using the Service.
163+
</p>
164+
165+
<p>
166+
Usage Data may include information such as Your Device's Internet
167+
Protocol address (e.g. IP address), browser type, browser version,
168+
pages visited, date and time of visit, and time spent on pages.
169+
</p>
170+
</div>
171+
172+
<div class="legal-section">
173+
<h2>Use of Your Personal Data</h2>
174+
175+
<p>
176+
The Company may use Personal Data for the following purposes:
177+
</p>
178+
179+
<ul>
180+
<li>
181+
To provide and maintain our Service, including displaying your
182+
LeetCode statistics on the public leaderboard.
183+
</li>
184+
<li>
185+
To manage Your requests, including updating or removing your
186+
leaderboard entry.
187+
</li>
188+
</ul>
189+
190+
<p>We may share Your Personal Data in the following situations:</p>
191+
192+
<ul>
193+
<li>
194+
With Service Providers such as GitHub and LeetCode APIs to fetch
195+
and display ranking statistics.
196+
</li>
197+
<li>
198+
With other users because the leaderboard is publicly accessible.
199+
</li>
200+
<li>
201+
With Your consent for any other purpose.
202+
</li>
203+
</ul>
204+
</div>
205+
206+
<div class="legal-section">
207+
<h2>Retention of Your Personal Data</h2>
208+
<p>
209+
The Company will retain Your Personal Data only for as long as is
210+
necessary to maintain the leaderboard.
211+
</p>
212+
</div>
213+
214+
<div class="legal-section">
215+
<h2>Delete Your Personal Data</h2>
216+
<p>
217+
You have the right to request deletion of the Personal Data that We
218+
have collected about You.
219+
</p>
220+
221+
<p>
222+
Because We do not have user accounts, You may contact Us directly via
223+
email to request access, correction, or deletion of Your data.
224+
</p>
225+
</div>
226+
227+
<div class="legal-section">
228+
<h2>Disclosure of Your Personal Data</h2>
229+
230+
<h3>Law Enforcement</h3>
231+
<p>
232+
The Company may disclose Your Personal Data if required by law or
233+
valid requests from public authorities.
234+
</p>
235+
</div>
236+
237+
<div class="legal-section">
238+
<h2>Security of Your Personal Data</h2>
239+
<p>
240+
While We strive to use commercially reasonable means to protect Your
241+
Personal Data, no method of transmission over the Internet or
242+
electronic storage is completely secure.
243+
</p>
244+
</div>
245+
246+
<div class="legal-section">
247+
<h2>Children's Privacy</h2>
248+
<p>
249+
Our Service does not address anyone under the age of 13 and We do not
250+
knowingly collect information from children under 13.
251+
</p>
252+
</div>
253+
254+
<div class="legal-section">
255+
<h2>Links to Other Websites</h2>
256+
<p>
257+
Our Service may contain links to third-party websites. We encourage
258+
You to review the Privacy Policy of every site You visit.
259+
</p>
260+
</div>
261+
262+
<div class="legal-section">
263+
<h2>Changes to this Privacy Policy</h2>
264+
<p>
265+
We may update this Privacy Policy from time to time. Changes become
266+
effective when posted on this page.
267+
</p>
268+
</div>
269+
270+
<div class="legal-section">
271+
<h2>Contact Us</h2>
272+
273+
<p>
274+
If You have any questions about this Privacy Policy, You can contact
275+
Us:
276+
</p>
277+
278+
<ul>
279+
<li>Email: jagadishdrp@gmail.com</li>
280+
<li>Website: https://codepvg.onrender.com/about</li>
281+
</ul>
282+
</div>
283+
284+
<a href="/" class="back-link">← Back to Leaderboard</a>
285+
</div>
286+
</main>
287+
288+
<script src="js/matrix.js"></script>
289+
</body>
290+
</html>

0 commit comments

Comments
 (0)