Skip to content

Commit

Permalink
Merge pull request #98 from kratik1237/visual
Browse files Browse the repository at this point in the history
dark mode done
  • Loading branch information
MastanSayyad authored Jul 12, 2024
2 parents 711b0a8 + 2b5ad5b commit 736ed08
Show file tree
Hide file tree
Showing 4 changed files with 120 additions and 8 deletions.
9 changes: 9 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,15 @@ h5,
font-size: 3rem;
}
}
body {
background-color: white;
color: black;
}

body.darkMode {
background-color: black;
color: white;
}

.play-single-big {
width: 90px;
Expand Down
21 changes: 13 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<link rel="stylesheet" href="style.css">
<!-- Swiper's CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper/swiper-bundle.min.css" />

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/owl.carousel.min.css">
Expand All @@ -45,7 +45,7 @@

<link rel="stylesheet" href="css/aos.css">

<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="/css/style.css">
<link rel="stylesheet" href="about.css">
<link href="https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700&display=swap" rel="stylesheet">
<!-- Remix Icon -->
Expand Down Expand Up @@ -146,11 +146,14 @@
<li class="nav-item ">
<a class="nav-link log px-3" href="login.html">Login</a>
</li>
<!-- <li class="nav-item">
<a class="nav-link log" style="font-weight: 600; background-color: rgb(219, 127, 219); border-radius: 0.4rem; margin-left: 0.7rem;" href="signup.html">Sign Up</a>
</li> -->

</ul>
<li class="nav-item">
<a class="nav-link" style="font-weight: 500;" href="signup.html">Sign Up</a>
</li>
<button id="dark-mode-toggle" class="nav-link" style="background: none; border: none; cursor: pointer;">
<i class="fas fa-moon"></i> Dark Mode
</button>
</ul>

</div>
</div>
</nav>
Expand Down Expand Up @@ -1097,6 +1100,9 @@ <h5>Legal</h5>

<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>
<script src="/js/main.js"></script>
<script src="/js/script.js"></script>

<script src="main.js"></script>


Expand Down Expand Up @@ -1143,7 +1149,6 @@ <h5>Legal</h5>
};
</script>


</body>

</html>
13 changes: 13 additions & 0 deletions js/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
document.addEventListener("DOMContentLoaded", function() {
const darkModeToggle = document.getElementById('dark-mode-toggle');
const body = document.body;

if (darkModeToggle) {
darkModeToggle.addEventListener('click', function () {
body.classList.toggle("darkMode");
console.log("Dark mode toggled");
});
} else {
console.error('Element with ID "dark-mode-toggle" not found.');
}
});
85 changes: 85 additions & 0 deletions privacypolicy.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Privacy Policy</title>
<style>
body {
font-family: Arial, sans-serif;
line-height: 1.6;
max-width: 900px;
margin: 0 auto;
padding: 20px 10px;
font-size: 25px;
color: #333;
}

.breadcrumb {
text-align: center;
color: #000000;
font-size: 25px;
margin-bottom: 20px;
}

.breadcrumb span {
color: #4CAF50;
}

h1 {
text-align: center;
font-size: 45px;
margin-bottom: 10px;
color: #000;
}

.update-date {
color: #0c0b0b;
font-size: 25px;
margin-bottom: 20px;
text-align: left;
}

h2 {
font-size: 35px;
margin-top: 30px;
color: #4b4b4b;
}

p {
margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
body {
padding: 15px 5px;
}

h1 {
font-size: 32px;
}

h2 {
font-size: 22px;
}
}
</style>
</head>

<body>
<div class="breadcrumb">Home / <span>Privacy Policy</span></div>
<h1>Privacy Policy</h1>
<div class="update-date">Last updated: May 17, 2024</div>

<p>Welcome to NactoCare. We are committed to protecting your personal information and your right to privacy. If you have any questions or concerns about our policy or our practices with regards to your personal information, please contact us at [email protected].</p>

<h2>Information We Collect</h2>
<p>We collect personal information that you provide to us, such as name, address, contact information, and payment information. We collect personal information when you register for our services, express an interest in obtaining information about us or our products and services, participate in activities on the Services, or otherwise contact us.</p>

<h2>How We Use Your Information</h2>
<p>We use personal information collected via our Services for a variety of business purposes described below. We process your personal information for these purposes in reliance on our legitimate business interests, in order to enter into or perform a contract with you, with your consent, and/or for compliance with our legal obligations.</p>
</body>

</html>

0 comments on commit 736ed08

Please sign in to comment.