Spaces:
Sleeping
Sleeping
XQ commited on
Commit ·
2a101c6
1
Parent(s): e0939b3
Update footer
Browse files- src/ui/app.py +61 -0
src/ui/app.py
CHANGED
|
@@ -389,6 +389,39 @@ st.markdown(
|
|
| 389 |
font-size: 1rem !important;
|
| 390 |
color: #333333 !important;
|
| 391 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 392 |
</style>
|
| 393 |
""",
|
| 394 |
unsafe_allow_html=True,
|
|
@@ -752,3 +785,31 @@ if search_clicked and question.strip():
|
|
| 752 |
|
| 753 |
elif search_clicked:
|
| 754 |
st.warning(t["empty_warning"])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 389 |
font-size: 1rem !important;
|
| 390 |
color: #333333 !important;
|
| 391 |
}
|
| 392 |
+
|
| 393 |
+
/* ---------- Footer ---------- */
|
| 394 |
+
.app-footer {
|
| 395 |
+
margin-top: 3rem;
|
| 396 |
+
padding: 1.2rem 0 0.8rem 0;
|
| 397 |
+
border-top: 1px solid #E0E0E0;
|
| 398 |
+
display: flex;
|
| 399 |
+
align-items: center;
|
| 400 |
+
justify-content: center;
|
| 401 |
+
gap: 1rem;
|
| 402 |
+
flex-wrap: wrap;
|
| 403 |
+
font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
| 404 |
+
font-size: 0.82rem;
|
| 405 |
+
color: #888888;
|
| 406 |
+
}
|
| 407 |
+
.app-footer a {
|
| 408 |
+
color: #555555;
|
| 409 |
+
text-decoration: none;
|
| 410 |
+
display: inline-flex;
|
| 411 |
+
align-items: center;
|
| 412 |
+
gap: 0.35rem;
|
| 413 |
+
}
|
| 414 |
+
.app-footer a:hover {
|
| 415 |
+
color: #901A1E;
|
| 416 |
+
}
|
| 417 |
+
@media (max-width: 640px) {
|
| 418 |
+
.app-footer {
|
| 419 |
+
flex-direction: column;
|
| 420 |
+
gap: 0.5rem;
|
| 421 |
+
text-align: center;
|
| 422 |
+
font-size: 0.78rem;
|
| 423 |
+
}
|
| 424 |
+
}
|
| 425 |
</style>
|
| 426 |
""",
|
| 427 |
unsafe_allow_html=True,
|
|
|
|
| 785 |
|
| 786 |
elif search_clicked:
|
| 787 |
st.warning(t["empty_warning"])
|
| 788 |
+
|
| 789 |
+
# ---------------------------------------------------------------------------
|
| 790 |
+
# Footer
|
| 791 |
+
# ---------------------------------------------------------------------------
|
| 792 |
+
st.markdown(
|
| 793 |
+
"""
|
| 794 |
+
<div class="app-footer">
|
| 795 |
+
<a href="https://github.com/Xiiqiing/Dokumentassistent" target="_blank" rel="noopener noreferrer">
|
| 796 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="currentColor">
|
| 797 |
+
<path d="M12 0C5.374 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387
|
| 798 |
+
.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416
|
| 799 |
+
-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729
|
| 800 |
+
1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997
|
| 801 |
+
.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931
|
| 802 |
+
0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176
|
| 803 |
+
0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0 1 12 5.803c1.02.005
|
| 804 |
+
2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242
|
| 805 |
+
2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807
|
| 806 |
+
5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576
|
| 807 |
+
C20.566 21.797 24 17.3 24 12c0-6.627-5.373-12-12-12z"/>
|
| 808 |
+
</svg>
|
| 809 |
+
Xiiqiing/Dokumentassistent
|
| 810 |
+
</a>
|
| 811 |
+
<span>© 2026 Xiqing</span>
|
| 812 |
+
</div>
|
| 813 |
+
""",
|
| 814 |
+
unsafe_allow_html=True,
|
| 815 |
+
)
|