Spaces:
Sleeping
Sleeping
Create privacy_policy.py (#7)
Browse files- Create privacy_policy.py (e1859b0b3bec49e8ff336c96ebac6396ed92dabf)
Co-authored-by: Muhammad Khaqan Nasir <KhaqanNasir@users.noreply.huggingface.co>
- src/privacy_policy.py +46 -0
src/privacy_policy.py
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
|
| 3 |
+
def main():
|
| 4 |
+
st.markdown("""
|
| 5 |
+
<div class="hero-section">
|
| 6 |
+
<div style="display: flex; align-items: center; gap: 2rem;">
|
| 7 |
+
<div style="flex: 1;">
|
| 8 |
+
<h1 style="font-size: 2.5rem; color: #333333;">Privacy Policy</h1>
|
| 9 |
+
<p style="font-size: 1.2rem; color: #666666;">
|
| 10 |
+
Learn how we protect your data and privacy while using TrueCheck.
|
| 11 |
+
</p>
|
| 12 |
+
</div>
|
| 13 |
+
<div style="flex: 1;">
|
| 14 |
+
<img src="https://img.freepik.com/free-vector/privacy-policy-concept-illustration_114360-103.jpg" style="width: 100%; border-radius: 12px;" alt="Privacy Policy">
|
| 15 |
+
</div>
|
| 16 |
+
</div>
|
| 17 |
+
</div>
|
| 18 |
+
""", unsafe_allow_html=True)
|
| 19 |
+
|
| 20 |
+
st.markdown("### Privacy Policy")
|
| 21 |
+
st.markdown("""
|
| 22 |
+
<div style="background-color: #F4F7FA; padding: 1rem; border-radius: 8px;">
|
| 23 |
+
<h3 style="color: #333333;">1. Data Collection</h3>
|
| 24 |
+
<p style="color: #666666;">
|
| 25 |
+
We collect news articles you submit for analysis. No personal data is stored unless explicitly provided.
|
| 26 |
+
</p>
|
| 27 |
+
|
| 28 |
+
<h3 style="color: #333333;">2. Data Usage</h3>
|
| 29 |
+
<p style="color: #666666;">
|
| 30 |
+
Submitted articles are used solely for fake news detection and are not shared with third parties.
|
| 31 |
+
</p>
|
| 32 |
+
|
| 33 |
+
<h3 style="color: #333333;">3. Data Security</h3>
|
| 34 |
+
<p style="color: #666666;">
|
| 35 |
+
We implement reasonable security measures to protect your data, but no system is completely secure.
|
| 36 |
+
</p>
|
| 37 |
+
|
| 38 |
+
<h3 style="color: #333333;">4. Cookies</h3>
|
| 39 |
+
<p style="color: #666666;">
|
| 40 |
+
TrueCheck does not use cookies or tracking technologies.
|
| 41 |
+
</p>
|
| 42 |
+
</div>
|
| 43 |
+
""", unsafe_allow_html=True)
|
| 44 |
+
|
| 45 |
+
if __name__ == "__main__":
|
| 46 |
+
main()
|