TruthCheck / src /privacy_policy.py
adnaan05's picture
Create privacy_policy.py (#7)
56f20ae verified
raw
history blame
1.83 kB
import streamlit as st
def main():
st.markdown("""
<div class="hero-section">
<div style="display: flex; align-items: center; gap: 2rem;">
<div style="flex: 1;">
<h1 style="font-size: 2.5rem; color: #333333;">Privacy Policy</h1>
<p style="font-size: 1.2rem; color: #666666;">
Learn how we protect your data and privacy while using TrueCheck.
</p>
</div>
<div style="flex: 1;">
<img src="https://img.freepik.com/free-vector/privacy-policy-concept-illustration_114360-103.jpg" style="width: 100%; border-radius: 12px;" alt="Privacy Policy">
</div>
</div>
</div>
""", unsafe_allow_html=True)
st.markdown("### Privacy Policy")
st.markdown("""
<div style="background-color: #F4F7FA; padding: 1rem; border-radius: 8px;">
<h3 style="color: #333333;">1. Data Collection</h3>
<p style="color: #666666;">
We collect news articles you submit for analysis. No personal data is stored unless explicitly provided.
</p>
<h3 style="color: #333333;">2. Data Usage</h3>
<p style="color: #666666;">
Submitted articles are used solely for fake news detection and are not shared with third parties.
</p>
<h3 style="color: #333333;">3. Data Security</h3>
<p style="color: #666666;">
We implement reasonable security measures to protect your data, but no system is completely secure.
</p>
<h3 style="color: #333333;">4. Cookies</h3>
<p style="color: #666666;">
TrueCheck does not use cookies or tracking technologies.
</p>
</div>
""", unsafe_allow_html=True)
if __name__ == "__main__":
main()