Spaces:
Running
Running
Update src/terms_of_use.py
#30
by
KhaqanNasir
- opened
- src/terms_of_use.py +114 -32
src/terms_of_use.py
CHANGED
|
@@ -1,44 +1,126 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
def main():
|
|
|
|
| 4 |
st.markdown("""
|
| 5 |
-
<
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
</div>
|
| 17 |
</div>
|
| 18 |
""", unsafe_allow_html=True)
|
| 19 |
|
| 20 |
-
|
| 21 |
st.markdown("""
|
| 22 |
-
<div
|
| 23 |
-
<
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
<
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
</div>
|
| 43 |
""", unsafe_allow_html=True)
|
| 44 |
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
def main():
|
| 4 |
+
# Custom CSS for Privacy Policy page
|
| 5 |
st.markdown("""
|
| 6 |
+
<style>
|
| 7 |
+
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
|
| 8 |
+
|
| 9 |
+
.stApp {
|
| 10 |
+
font-family: 'Poppins', sans-serif;
|
| 11 |
+
background: #f8fafc;
|
| 12 |
+
min-height: 100vh;
|
| 13 |
+
color: #1a202c;
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
#MainMenu {visibility: visible;}
|
| 17 |
+
footer {visibility: hidden;}
|
| 18 |
+
.stDeployButton {display: none;}
|
| 19 |
+
header {visibility: hidden;}
|
| 20 |
+
.stApp > header {visibility: hidden;}
|
| 21 |
+
|
| 22 |
+
.container {
|
| 23 |
+
max-width: 1200px;
|
| 24 |
+
margin: 0 auto;
|
| 25 |
+
padding: 1.5rem;
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
.header {
|
| 29 |
+
padding: 1.5rem 0;
|
| 30 |
+
text-align: center;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
.header-title {
|
| 34 |
+
font-size: 2.5rem;
|
| 35 |
+
font-weight: 700;
|
| 36 |
+
color: #1a202c;
|
| 37 |
+
display: inline-flex;
|
| 38 |
+
align-items: center;
|
| 39 |
+
gap: 0.5rem;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
.section {
|
| 43 |
+
margin-bottom: 2rem;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
.section-title {
|
| 47 |
+
font-size: 2rem;
|
| 48 |
+
font-weight: 600;
|
| 49 |
+
color: #1a202c;
|
| 50 |
+
margin-bottom: 0.5rem;
|
| 51 |
+
display: flex;
|
| 52 |
+
align-items: center;
|
| 53 |
+
gap: 0.5rem;
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
.section-text {
|
| 57 |
+
font-size: 1.1rem;
|
| 58 |
+
color: #4a5568;
|
| 59 |
+
line-height: 1.5;
|
| 60 |
+
max-width: 800px;
|
| 61 |
+
margin: 0 auto;
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
.stSidebar {
|
| 65 |
+
background: #ffffff;
|
| 66 |
+
border-right: 1px solid #e5e7eb;
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
+
.stSidebar .sidebar-content {
|
| 70 |
+
padding: 1rem;
|
| 71 |
+
}
|
| 72 |
+
</style>
|
| 73 |
+
""", unsafe_allow_html=True)
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
# Header
|
| 77 |
+
st.markdown("""
|
| 78 |
+
<div class="header">
|
| 79 |
+
<div class="container">
|
| 80 |
+
<h1 class="header-title">π‘οΈ TruthCheck</h1>
|
| 81 |
</div>
|
| 82 |
</div>
|
| 83 |
""", unsafe_allow_html=True)
|
| 84 |
|
| 85 |
+
# Privacy Policy Content
|
| 86 |
st.markdown("""
|
| 87 |
+
<div class="container">
|
| 88 |
+
<div class="section">
|
| 89 |
+
<h2 class="section-title">π Privacy Policy</h2>
|
| 90 |
+
<p class="section-text">
|
| 91 |
+
At TruthCheck, we are committed to protecting your privacy. This Privacy Policy outlines how we collect, use, and safeguard your data.
|
| 92 |
+
</p>
|
| 93 |
+
</div>
|
| 94 |
+
<div class="section">
|
| 95 |
+
<h3 class="section-title">π Data Collection</h3>
|
| 96 |
+
<p class="section-text">
|
| 97 |
+
We collect data you provide, such as news articles submitted for analysis and optional contact form submissions. We may also collect usage data to improve our services.
|
| 98 |
+
</p>
|
| 99 |
+
</div>
|
| 100 |
+
<div class="section">
|
| 101 |
+
<h3 class="section-title">π Data Usage</h3>
|
| 102 |
+
<p class="section-text">
|
| 103 |
+
Your data is used solely to provide fake news detection services and respond to inquiries. We do not sell or share your personal information with third parties.
|
| 104 |
+
</p>
|
| 105 |
+
</div>
|
| 106 |
+
<div class="section">
|
| 107 |
+
<h3 class="section-title">π‘οΈ Data Security</h3>
|
| 108 |
+
<p class="section-text">
|
| 109 |
+
We implement industry-standard security measures to protect your data from unauthorized access or disclosure.
|
| 110 |
+
</p>
|
| 111 |
+
</div>
|
| 112 |
+
<div class="section">
|
| 113 |
+
<h3 class="section-title">πͺ Cookies</h3>
|
| 114 |
+
<p class="section-text">
|
| 115 |
+
TruthCheck may use cookies to enhance user experience. You can disable cookies in your browser settings, but this may affect functionality.
|
| 116 |
+
</p>
|
| 117 |
+
</div>
|
| 118 |
+
<div class="section">
|
| 119 |
+
<h3 class="section-title">π© Contact Us</h3>
|
| 120 |
+
<p class="section-text">
|
| 121 |
+
If you have questions about our Privacy Policy, please contact us at support@truthcheck.ai.
|
| 122 |
+
</p>
|
| 123 |
+
</div>
|
| 124 |
</div>
|
| 125 |
""", unsafe_allow_html=True)
|
| 126 |
|