Spaces:
Running
Running
Create terms_of_use.py
#6
by
KhaqanNasir
- opened
- src/terms_of_use.py +46 -0
src/terms_of_use.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;">Terms of Use</h1>
|
| 9 |
+
<p style="font-size: 1.2rem; color: #666666;">
|
| 10 |
+
Guidelines for using the TrueCheck platform responsibly.
|
| 11 |
+
</p>
|
| 12 |
+
</div>
|
| 13 |
+
<div style="flex: 1;">
|
| 14 |
+
<img src="https://img.freepik.com/free-vector/terms-conditions-concept-illustration_114360-1353.jpg" style="width: 100%; border-radius: 12px;" alt="Terms of Use">
|
| 15 |
+
</div>
|
| 16 |
+
</div>
|
| 17 |
+
</div>
|
| 18 |
+
""", unsafe_allow_html=True)
|
| 19 |
+
|
| 20 |
+
st.markdown("### Terms of Use")
|
| 21 |
+
st.markdown("""
|
| 22 |
+
<div style="background-color: #F4F7FA; padding: 1rem; border-radius: 8px;">
|
| 23 |
+
<h3 style="color: #333333;">1. Acceptance of Terms</h3>
|
| 24 |
+
<p style="color: #666666;">
|
| 25 |
+
By accessing TrueCheck, you agree to be bound by these Terms of Use. If you do not agree, please do not use the platform.
|
| 26 |
+
</p>
|
| 27 |
+
|
| 28 |
+
<h3 style="color: #333333;">2. Use of Service</h3>
|
| 29 |
+
<p style="color: #666666;">
|
| 30 |
+
TrueCheck is provided for personal, non-commercial use to analyze news articles. You may not use the service for illegal purposes.
|
| 31 |
+
</p>
|
| 32 |
+
|
| 33 |
+
<h3 style="color: #333333;">3. Limitation of Liability</h3>
|
| 34 |
+
<p style="color: #666666;">
|
| 35 |
+
TrueCheck is provided "as is" without warranties. We are not liable for any damages arising from the use of this service.
|
| 36 |
+
</p>
|
| 37 |
+
|
| 38 |
+
<h3 style="color: #333333;">4. Changes to Terms</h3>
|
| 39 |
+
<p style="color: #666666;">
|
| 40 |
+
We may update these terms periodically. Continued use of the platform constitutes acceptance of the updated terms.
|
| 41 |
+
</p>
|
| 42 |
+
</div>
|
| 43 |
+
""", unsafe_allow_html=True)
|
| 44 |
+
|
| 45 |
+
if __name__ == "__main__":
|
| 46 |
+
main()
|