Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ st.set_page_config(
|
|
| 15 |
# Custom CSS for modern styling
|
| 16 |
st.markdown("""
|
| 17 |
<style>
|
| 18 |
-
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
|
| 19 |
|
| 20 |
body {
|
| 21 |
font-family: 'Poppins', sans-serif;
|
|
@@ -122,11 +122,11 @@ sys.path.append(str(src_path))
|
|
| 122 |
# Enhanced Sidebar navigation with icons
|
| 123 |
st.sidebar.markdown("""
|
| 124 |
<div style="text-align: center; margin-bottom: 2rem;">
|
| 125 |
-
<div style="font-size:
|
| 126 |
-
<h1 style="color: #4B5EAA; font-size: 1.
|
| 127 |
TruthCheck
|
| 128 |
</h1>
|
| 129 |
-
<p style="color: #666; font-size:
|
| 130 |
Advanced Fake News Detector
|
| 131 |
</p>
|
| 132 |
</div>
|
|
@@ -142,7 +142,7 @@ page = st.sidebar.radio(
|
|
| 142 |
"ℹ️ About",
|
| 143 |
"📋 Terms of Use",
|
| 144 |
"🔒 Privacy Policy",
|
| 145 |
-
"
|
| 146 |
],
|
| 147 |
label_visibility="collapsed",
|
| 148 |
key="navigation"
|
|
@@ -159,9 +159,9 @@ st.sidebar.markdown("""
|
|
| 159 |
</div>
|
| 160 |
""", unsafe_allow_html=True)
|
| 161 |
|
| 162 |
-
# Add footer info
|
| 163 |
st.sidebar.markdown("""
|
| 164 |
-
<div style="
|
| 165 |
<p style="font-size: 0.7rem; color: #888; margin: 0;">
|
| 166 |
© 2025 TruthCheck | AI-Powered
|
| 167 |
</p>
|
|
|
|
| 15 |
# Custom CSS for modern styling
|
| 16 |
st.markdown("""
|
| 17 |
<style>
|
| 18 |
+
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
|
| 19 |
|
| 20 |
body {
|
| 21 |
font-family: 'Poppins', sans-serif;
|
|
|
|
| 122 |
# Enhanced Sidebar navigation with icons
|
| 123 |
st.sidebar.markdown("""
|
| 124 |
<div style="text-align: center; margin-bottom: 2rem;">
|
| 125 |
+
<div style="font-size: 3rem; margin-bottom: 0.5rem;">🛡️</div>
|
| 126 |
+
<h1 style="color: #4B5EAA; font-size: 1.8rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.2;">
|
| 127 |
TruthCheck
|
| 128 |
</h1>
|
| 129 |
+
<p style="color: #666; font-size: 1rem; margin: 0; font-weight: 300; line-height: 1.3;">
|
| 130 |
Advanced Fake News Detector
|
| 131 |
</p>
|
| 132 |
</div>
|
|
|
|
| 142 |
"ℹ️ About",
|
| 143 |
"📋 Terms of Use",
|
| 144 |
"🔒 Privacy Policy",
|
| 145 |
+
"📬 Contact"
|
| 146 |
],
|
| 147 |
label_visibility="collapsed",
|
| 148 |
key="navigation"
|
|
|
|
| 159 |
</div>
|
| 160 |
""", unsafe_allow_html=True)
|
| 161 |
|
| 162 |
+
# Add footer info in sidebar only
|
| 163 |
st.sidebar.markdown("""
|
| 164 |
+
<div style="text-align: center; padding: 0.5rem; margin-top: 2rem;">
|
| 165 |
<p style="font-size: 0.7rem; color: #888; margin: 0;">
|
| 166 |
© 2025 TruthCheck | AI-Powered
|
| 167 |
</p>
|