Skip to content

Commit

Permalink
Added privacy feature
Browse files Browse the repository at this point in the history
  • Loading branch information
anuragverma108 committed Mar 19, 2024
1 parent 3f669e7 commit 639e78c
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
13 changes: 13 additions & 0 deletions public/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
1 change: 1 addition & 0 deletions views/partials/footer.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
Share your secrets, anonymously!
</h5>
<h6 class="card-title" style="color: white">
<a href="/privacy"> Privacy Policy </a>
&copy; Copyright <%= currentYear %>
</h6>
<p class="card-text" style="color: white">
Expand Down
44 changes: 44 additions & 0 deletions views/privacy.ejs
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<%- include('partials/header') %>

<main>
<section class="c1">
<b><h2>Privacy Policy</h2></b>
<br> <br>
<div>
<h4>Data Collection</h4>
<p>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.</p>
</div>
</section>
<section class="c1">
<div>
<h4>Data Usage</h4>
<p>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.</p>
</div>
</section>
<section class="c1">
<div>
<h4>Data Sharing</h4>
<p>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.</p>
</div>
</section>
<section class="c1">
<div>
<h4>Security</h4>
<p>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.</p>
</div>
</section>
<section class="c1">
<div>
<h4>Cookies</h4>
<p>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.</p>
</div>
</section>
</main>







<%- include('partials/footer') %>

0 comments on commit 639e78c

Please sign in to comment.