File size: 6,848 Bytes
56f20ae
 
 
3dabf15
56f20ae
d3e9ab2
3dabf15
 
 
 
 
 
d3e9ab2
 
3dabf15
d3e9ab2
3dabf15
 
 
d3e9ab2
 
3dabf15
d3e9ab2
 
 
 
 
3dabf15
 
 
 
d3e9ab2
3dabf15
d3e9ab2
 
3dabf15
 
d3e9ab2
3dabf15
 
d3e9ab2
 
 
3dabf15
d3e9ab2
3dabf15
 
 
 
 
 
 
 
 
 
d3e9ab2
 
3dabf15
d3e9ab2
3dabf15
 
 
 
 
d3e9ab2
 
 
3dabf15
d3e9ab2
3dabf15
 
d3e9ab2
 
 
 
 
 
3dabf15
 
 
d3e9ab2
 
 
 
3dabf15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d3e9ab2
 
3dabf15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d3e9ab2
 
 
 
3dabf15
 
d3e9ab2
3dabf15
d3e9ab2
3dabf15
0801b49
3dabf15
56f20ae
 
 
d3e9ab2
56f20ae
3dabf15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56f20ae
 
 
3dabf15
 
 
 
 
 
 
 
 
56f20ae
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
import streamlit as st

def main():
    # Updated CSS for Privacy Policy page
    st.markdown("""
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

        * {
            font-family: 'Poppins', sans-serif !important;
            box-sizing: border-box;
        }

        .stApp {
            background: #ffffff;
            min-height: 100vh;
            color: #1f2a44;
            margin: 0 !important;
            padding: 0 !important;
        }

        #MainMenu {visibility: hidden;}
        footer {visibility: hidden;}
        .stDeployButton {display: none;}
        header {visibility: hidden;}
        .stApp > header {visibility: hidden;}

        /* Main Container */
        .main-container {
            max-width: 100%;
            width: 100%;
            margin: 0 auto;
            padding: 1rem 2rem;
        }

        /* Header Section */
        .header-section {
            text-align: center;
            margin-bottom: 2.5rem;
            padding: 1.5rem 0;
        }

        .header-title {
            font-size: 2.25rem;
            font-weight: 700;
            color: #1f2a44;
            margin: 0;
        }

        .header-subtitle {
            font-size: 1rem;
            color: #6b7280;
            font-weight: 400;
            max-width: 600px;
            margin: 0.5rem auto 0;
        }

        /* Section Styling */
        .section {
            margin-bottom: 2.5rem;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
            padding: 0 1rem;
        }

        .section-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: #1f2a44;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .section-text {
            font-size: 0.95rem;
            color: #6b7280;
            line-height: 1.6;
            max-width: 800px;
            margin: 0 auto;
        }

        /* Footer */
        .footer {
            border-top: 1px solid #e5e7eb;
            padding: 1.5rem 0;
            text-align: center;
            max-width: 1200px;
            margin: 2rem auto 0;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .main-container {
                padding: 1rem;
            }
            .section {
                padding: 0 0.5rem;
            }
        }

        @media (max-width: 768px) {
            .header-title {
                font-size: 1.75rem;
            }
            .header-subtitle {
                font-size: 0.9rem;
            }
            .section-title {
                font-size: 1.25rem;
            }
            .section-text {
                font-size: 0.9rem;
            }
        }

        @media (max-width: 480px) {
            .header-title {
                font-size: 1.5rem;
            }
            .header-subtitle {
                font-size: 0.85rem;
            }
            .section-title {
                font-size: 1.1rem;
            }
            .section-text {
                font-size: 0.85rem;
            }
        }
    </style>
    """, unsafe_allow_html=True)

    # Main Container
    st.markdown('<div class="main-container">', unsafe_allow_html=True)

    # Header Section
    st.markdown("""
    <div class="header-section">
        <h1 class="header-title">πŸ“‹ TruthCheck - Advanced Fake News Detector</h1>
        <p class="header-subtitle">Your privacy is our priority</p>
    </div>
    """, unsafe_allow_html=True)

    # Privacy Policy Content
    st.markdown("""
    <div class="section">
        <h2 class="section-title">πŸ”’ Privacy Policy</h2>
        <p class="section-text">
            At TruthCheck, we are dedicated to safeguarding your personal information. This Privacy Policy explains how we collect, use, protect, and share your data to provide our services while respecting your privacy.
        </p>
    </div>
    <div class="section">
        <h3 class="section-title">πŸ“Š Information We Collect</h3>
        <p class="section-text">
            We collect information you voluntarily provide, such as news articles submitted for analysis and details entered in our contact form (e.g., name, email). Additionally, we may gather usage data, like browsing patterns, to enhance our platform's functionality and user experience.
        </p>
    </div>
    <div class="section">
        <h3 class="section-title">πŸ” How We Use Your Information</h3>
        <p class="section-text">
            Your information is used exclusively to deliver and improve our fake news detection services, respond to your inquiries, and enhance platform performance. We do not sell, rent, or share your personal data with third parties for marketing purposes.
        </p>
    </div>
    <div class="section">
        <h3 class="section-title">πŸ›‘οΈ Data Protection</h3>
        <p class="section-text">
            We employ industry-standard security measures, including encryption and secure servers, to protect your data from unauthorized access, alteration, or disclosure. Regular security audits ensure your information remains safe.
        </p>
    </div>
    <div class="section">
        <h3 class="section-title">πŸͺ Cookies and Tracking</h3>
        <p class="section-text">
            TruthCheck uses cookies to improve your browsing experience, such as remembering your preferences. You can manage or disable cookies through your browser settings, though this may impact certain features of our platform.
        </p>
    </div>
    <div class="section">
        <h3 class="section-title">🀝 Third-Party Services</h3>
        <p class="section-text">
            We may use third-party services for analytics or hosting, but only with providers who adhere to strict data protection standards. These services do not have access to your personal information unless explicitly required for functionality.
        </p>
    </div>
    <div class="section">
        <h3 class="section-title">πŸ“© Contact Us</h3>
        <p class="section-text">
            If you have any questions or concerns about this Privacy Policy or how we handle your data, please reach out to us at <a href="mailto:[email protected]">[email protected]</a> or <a href="mailto:[email protected]">[email protected]</a>.
        </p>
    </div>
    """, unsafe_allow_html=True)

    # Footer
    st.markdown("---")
    st.markdown(
        '<p style="text-align: center; font-weight: 600; font-size: 16px;">πŸ’» Developed with ❀️ using Streamlit | Β© 2025</p>',
        unsafe_allow_html=True
    )

    st.markdown('</div>', unsafe_allow_html=True)  # Close main-container

if __name__ == "__main__":
    main()