From 639e78c2f5fa281062b10756ab651d2082b03c4f Mon Sep 17 00:00:00 2001 From: Anurag Verma Date: Tue, 19 Mar 2024 12:50:37 +0530 Subject: [PATCH 1/2] Added privacy feature --- app.js | 3 +++ public/css/styles.css | 13 ++++++++++++ views/partials/footer.ejs | 1 + views/privacy.ejs | 44 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 61 insertions(+) create mode 100644 views/privacy.ejs diff --git a/app.js b/app.js index 8423fa1..842861f 100644 --- a/app.js +++ b/app.js @@ -179,6 +179,9 @@ app.get("/contact", function (req, res) { app.get("/register", function (req, res) { res.render("register"); }); +app.get("/privacy", function (req, res) { + res.render("privacy"); +}); app.post("/register", function (req, res) { User.register( diff --git a/public/css/styles.css b/public/css/styles.css index a37b32d..561eecc 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -358,3 +358,16 @@ header h1 { transform: rotate(0deg); } } + +/* CSS for Privacy */ + +main { + margin: 1px 60px; + padding: 1px 0; +} + +section.c1 { + /* background-color: #f0f0f0; */ + padding: 20px; + margin-bottom: 20px; +} diff --git a/views/partials/footer.ejs b/views/partials/footer.ejs index 336566f..3ea1523 100644 --- a/views/partials/footer.ejs +++ b/views/partials/footer.ejs @@ -6,6 +6,7 @@ Share your secrets, anonymously!
+ Privacy Policy © Copyright <%= currentYear %>

diff --git a/views/privacy.ejs b/views/privacy.ejs new file mode 100644 index 0000000..5c74543 --- /dev/null +++ b/views/privacy.ejs @@ -0,0 +1,44 @@ +<%- include('partials/header') %> + +

+
+

Privacy Policy

+

+
+

Data Collection

+

At Top Secrets, we prioritize your privacy. We do not collect any personal information from users who submit their secrets to our website. Your secrets are submitted anonymously to ensure confidentiality and trust in our platform.

+
+
+
+
+

Data Usage

+

Your secrets are exclusively displayed on our website - "Top Secrets" for others to view anonymously. We do not exploit this data for any other purpose beyond its intended use. Rest assured, your trust is paramount to us, and we are committed to maintaining it.

+
+
+
+
+

Data Sharing

+

We uphold the anonymity and confidentiality of all secrets submitted by our users. None of the secrets are shared with third parties. We deeply respect your privacy and ensure that your secrets remain solely between you and our platform.

+
+
+
+
+

Security

+

While we take comprehensive measures to safeguard the confidentiality and security of the secrets submitted to Top Secrets, we acknowledge that absolute security cannot be guaranteed. Nonetheless, we prioritize your security and continuously strive to enhance our protective mechanisms.

+
+
+
+
+

Cookies

+

To preserve your privacy, we refrain from utilizing cookies to track user activity on our website. Our commitment to respecting your privacy means that we do not engage in any intrusive tracking mechanisms, ensuring a safe and anonymous browsing experience for all users.

+
+
+
+ + + + + + + +<%- include('partials/footer') %> From cf59fa53470fa5a51074c132c1b0e77484f23a7a Mon Sep 17 00:00:00 2001 From: Anurag Verma Date: Wed, 20 Mar 2024 00:20:41 +0530 Subject: [PATCH 2/2] Updated Data Collection --- views/privacy.ejs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/views/privacy.ejs b/views/privacy.ejs index 5c74543..6931cc2 100644 --- a/views/privacy.ejs +++ b/views/privacy.ejs @@ -6,7 +6,7 @@

Data Collection

-

At Top Secrets, we prioritize your privacy. We do not collect any personal information from users who submit their secrets to our website. Your secrets are submitted anonymously to ensure confidentiality and trust in our platform.

+

At Top Secrets, we prioritize your privacy. While using our website, we may collect personal information such as your email address during the login process. However, rest assured that any data collected is handled securely and used solely for the purpose of providing you with access to our platform.

@@ -35,10 +35,4 @@
- - - - - - <%- include('partials/footer') %>