Skip to content

Commit

Permalink
Merge pull request #173 from anuragverma108/final
Browse files Browse the repository at this point in the history
Feature: Implemented Privacy Policy Webpage
  • Loading branch information
Kritika30032002 authored Mar 20, 2024
2 parents 3f669e7 + cf59fa5 commit 08f78f2
Show file tree
Hide file tree
Showing 4 changed files with 55 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
38 changes: 38 additions & 0 deletions views/privacy.ejs
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<%- 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. 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.</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 08f78f2

Please sign in to comment.