From bd3ee02aaec2b70a7691471355bd08b836e31483 Mon Sep 17 00:00:00 2001 From: sharonchelsy30 Date: Wed, 3 Jun 2026 09:46:38 +0530 Subject: [PATCH 1/6] the icons are added --- frontend/js/footer.js | 35 +++++++++++++++++++++++++++-------- frontend/leaderboard.html | 2 ++ 2 files changed, 29 insertions(+), 8 deletions(-) diff --git a/frontend/js/footer.js b/frontend/js/footer.js index 783776df..8053f487 100644 --- a/frontend/js/footer.js +++ b/frontend/js/footer.js @@ -40,14 +40,33 @@ document.addEventListener("DOMContentLoaded", () => { +

socials

+ + diff --git a/frontend/privacy.html b/frontend/privacy.html new file mode 100644 index 00000000..6be4c691 --- /dev/null +++ b/frontend/privacy.html @@ -0,0 +1,290 @@ + + + + + + CodePVG — Privacy Policy + + + + + + + + + + + + + + + +
+ +
+ + + + \ No newline at end of file diff --git a/frontend/terms.html b/frontend/terms.html new file mode 100644 index 00000000..b768c6d3 --- /dev/null +++ b/frontend/terms.html @@ -0,0 +1,289 @@ + + + + + + CodePVG — Terms and Conditions + + + + + + + + + + + + + + + +
+ +
+ + + + \ No newline at end of file From 65bf24181703d7e92f310724d68a19c9d8ca47e9 Mon Sep 17 00:00:00 2001 From: sharonchelsy30 Date: Fri, 5 Jun 2026 09:56:05 +0530 Subject: [PATCH 5/6] Format legal pages with prettier --- frontend/privacy.html | 536 +++++++++++++++++++++-------------------- frontend/terms.html | 540 +++++++++++++++++++++--------------------- 2 files changed, 533 insertions(+), 543 deletions(-) diff --git a/frontend/privacy.html b/frontend/privacy.html index 6be4c691..f7c00ea1 100644 --- a/frontend/privacy.html +++ b/frontend/privacy.html @@ -1,290 +1,282 @@ - - - - CodePVG — Privacy Policy - - - - - - - - - - - - - - - -
- -
- - - - \ No newline at end of file + + + diff --git a/frontend/terms.html b/frontend/terms.html index b768c6d3..32bc78b4 100644 --- a/frontend/terms.html +++ b/frontend/terms.html @@ -1,289 +1,287 @@ - - - - CodePVG — Terms and Conditions - - - - - - - - - - - - - - - -
-
- - - - \ No newline at end of file + + + From 0888374994bf06d21ac8ac5a65dd792083a45192 Mon Sep 17 00:00:00 2001 From: sharonchelsy30 Date: Sun, 7 Jun 2026 12:38:25 +0530 Subject: [PATCH 6/6] Add privacy and terms routes --- frontend/js/footer.js | 4 ++-- server.js | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/frontend/js/footer.js b/frontend/js/footer.js index 6328be4f..2ac27a0f 100644 --- a/frontend/js/footer.js +++ b/frontend/js/footer.js @@ -46,8 +46,8 @@ document.addEventListener("DOMContentLoaded", () => {
  • leaderboard
  • register
  • about
  • -
  • Privacy Policy
  • -
  • Terms & Conditions
  • +
  • Privacy Policy
  • +
  • Terms & Conditions
  • diff --git a/server.js b/server.js index ea2087f2..27009723 100644 --- a/server.js +++ b/server.js @@ -24,6 +24,14 @@ app.get("/registration", (req, res) => { res.sendFile(path.join(__dirname, "frontend", "registration.html")); }); +app.get("/privacy", (req, res) => { + res.sendFile(path.join(__dirname, "frontend", "privacy.html")); +}); + +app.get("/terms", (req, res) => { + res.sendFile(path.join(__dirname, "frontend", "terms.html")); +}); + app.get("/uptime", (req, res) => { res.json({ status: "Website is running ✅" }); });