-
Notifications
You must be signed in to change notification settings - Fork 113
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 #382 from TanmayKalra09/PrivacyPolicy
Add Privacy and Policy page with styling
- Loading branch information
Showing
9 changed files
with
198 additions
and
40 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,60 @@ | ||
|
||
.privacy-policy-container { | ||
max-width: 900px; | ||
margin: 0 auto; | ||
padding: 30px 15px; | ||
background-color: #f9f9f9; | ||
border-radius: 8px; | ||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); | ||
color: #333; | ||
font-family: Arial, sans-serif; | ||
} | ||
|
||
.privacy-policy-header { | ||
text-align: center; | ||
margin-bottom: 30px; | ||
} | ||
|
||
.privacy-policy-header h1 { | ||
font-size: 2rem; | ||
color: #007bff; | ||
margin-bottom: 8px; | ||
} | ||
|
||
.privacy-policy-header p { | ||
font-size: 1rem; | ||
color: #555; | ||
} | ||
|
||
|
||
.privacy-policy-section h2 { | ||
font-size: 1.5rem; | ||
color: #333; | ||
margin-bottom: 12px; | ||
border-bottom: 2px solid #007bff; | ||
padding-bottom: 4px; | ||
} | ||
|
||
.privacy-policy-section p { | ||
font-size: 0.9rem; | ||
line-height: 1.5; | ||
color: #666; | ||
margin-bottom: 15px; | ||
} | ||
|
||
.privacy-policy-section ul { | ||
margin-left: 15px; | ||
margin-bottom: 15px; | ||
} | ||
|
||
.privacy-policy-section ul li { | ||
font-size: 0.9rem; | ||
color: #666; | ||
line-height: 1.5; | ||
} | ||
|
||
|
||
|
||
.privacy-policy-section a:hover { | ||
text-decoration: underline; | ||
} |
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,73 @@ | ||
import React from 'react'; | ||
import './PrivacyPolicy.css'; | ||
|
||
function PrivacyPolicy() { | ||
return ( | ||
<div className="privacy-policy-container"> | ||
<div className="privacy-policy-header"> | ||
<h1>Privacy Policy</h1> | ||
|
||
</div> | ||
|
||
<div className="privacy-policy-section"> | ||
<h2>1. Introduction</h2> | ||
<p> | ||
Welcome to our website. 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. | ||
</p> | ||
</div> | ||
|
||
<div className="privacy-policy-section"> | ||
<h2>2. Information We Collect</h2> | ||
<p> | ||
We collect personal information that you voluntarily provide to us when registering | ||
on the website, expressing an interest in obtaining information about us or our | ||
products and services, when participating in activities on the website, or otherwise | ||
contacting us. | ||
</p> | ||
<ul> | ||
<li>Personal Identification Information (Name, Email Address, Phone Number, etc.)</li> | ||
<li>Payment Information (if applicable)</li> | ||
<li>Technical Data (IP Address, Browser Type, etc.)</li> | ||
</ul> | ||
</div> | ||
|
||
<div className="privacy-policy-section"> | ||
<h2>3. How We Use Your Information</h2> | ||
<p> | ||
We use the information we collect in the following ways: | ||
</p> | ||
<ul> | ||
<li>To provide and manage services you have requested</li> | ||
<li>To send promotional communications, with your consent</li> | ||
<li>To improve our services and website functionality</li> | ||
</ul> | ||
</div> | ||
|
||
<div className="privacy-policy-section"> | ||
<h2>4. Sharing Your Information</h2> | ||
<p> | ||
We may share your information in the following situations: | ||
</p> | ||
<ul> | ||
<li>When you consent to the sharing of information</li> | ||
<li>To comply with legal obligations or regulations</li> | ||
<li>To protect the rights and safety of others</li> | ||
</ul> | ||
</div> | ||
|
||
<div className="privacy-policy-section"> | ||
<h2>5. Your Privacy Rights</h2> | ||
<p> | ||
Depending on your location, you may have the right to access, update, or delete | ||
your personal information. Please contact us to exercise your rights. | ||
</p> | ||
</div> | ||
|
||
|
||
</div> | ||
); | ||
} | ||
|
||
export default PrivacyPolicy; |
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,14 @@ | ||
|
||
import React from 'react'; | ||
import { Link } from 'react-router-dom'; | ||
|
||
const Footer = () => { | ||
return ( | ||
<footer style={{ textAlign: 'center', padding: '20px', backgroundColor: '#f1f1f1', marginTop: 'auto' }}> | ||
<p>All rights reserved.</p> | ||
<Link to="/privacy-policy" style={{ color: '#007bff' }}>Privacy and Policy</Link> | ||
</footer> | ||
); | ||
}; | ||
|
||
export default Footer; |
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