File size: 6,668 Bytes
775339a
 
 
60c4278
775339a
bb31e81
60c4278
 
 
 
 
 
bb31e81
 
60c4278
bb31e81
60c4278
 
 
bb31e81
 
60c4278
bb31e81
 
 
 
 
60c4278
 
 
 
bb31e81
60c4278
bb31e81
 
60c4278
 
bb31e81
60c4278
 
bb31e81
 
 
60c4278
bb31e81
60c4278
 
 
 
 
 
 
 
 
 
bb31e81
 
60c4278
bb31e81
60c4278
 
 
 
 
bb31e81
 
 
60c4278
bb31e81
60c4278
 
bb31e81
 
 
 
 
 
60c4278
 
 
bb31e81
 
 
 
60c4278
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bb31e81
 
60c4278
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bb31e81
 
 
 
60c4278
 
bb31e81
60c4278
bb31e81
60c4278
e8e39bb
60c4278
775339a
 
 
60c4278
775339a
60c4278
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
775339a
 
 
60c4278
 
 
 
 
 
 
 
 
775339a
 
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 Terms of Use 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">Terms governing the use of our services</p>
    </div>
    """, unsafe_allow_html=True)

    # Terms of Use Content
    st.markdown("""
    <div class="section">
        <h2 class="section-title">πŸ“œ Terms of Use</h2>
        <p class="section-text">
            Welcome to TruthCheck. These Terms of Use govern your access to and use of our platform and services. By using TruthCheck, you agree to comply with these terms. If you do not agree, please refrain from using our services.
        </p>
    </div>
    <div class="section">
        <h3 class="section-title">πŸš€ Use of Services</h3>
        <p class="section-text">
            TruthCheck provides tools for analyzing news articles for authenticity. You may use our services for lawful purposes only. You agree not to misuse the platform, including submitting malicious content or attempting to disrupt our services.
        </p>
    </div>
    <div class="section">
        <h3 class="section-title">πŸ›‘οΈ User Responsibilities</h3>
        <p class="section-text">
            You are responsible for the accuracy of the information you submit, such as news articles or contact details. You must not upload content that violates intellectual property rights, is defamatory, or is otherwise unlawful.
        </p>
    </div>
    <div class="section">
        <h3 class="section-title">πŸ” Intellectual Property</h3>
        <p class="section-text">
            All content, features, and functionality on TruthCheck, including our algorithms and design, are owned by TruthCheck or its licensors. You may not copy, modify, or distribute our content without prior written consent.
        </p>
    </div>
    <div class="section">
        <h3 class="section-title">βš–οΈ Limitation of Liability</h3>
        <p class="section-text">
            TruthCheck provides services on an "as-is" basis. We do not guarantee the accuracy of our analysis and are not liable for any damages resulting from your use of our platform. Use our services at your own risk.
        </p>
    </div>
    <div class="section">
        <h3 class="section-title">πŸ”„ Changes to Terms</h3>
        <p class="section-text">
            We may update these Terms of Use from time to time. Changes will be posted on this page, and continued use of our services after updates constitutes acceptance of the new terms.
        </p>
    </div>
    <div class="section">
        <h3 class="section-title">πŸ“© Contact Us</h3>
        <p class="section-text">
            If you have questions about these Terms of Use, please contact 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()