-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from kratik1237/visual
dark mode done
- Loading branch information
Showing
4 changed files
with
120 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.'); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |