AMUseBot/src/utils/footer.py

43 lines
1.4 KiB
Python
Raw Normal View History

2023-03-23 22:58:02 +01:00
from pathlib import Path
2023-03-20 12:50:21 +01:00
import streamlit as st
2023-03-23 22:58:02 +01:00
from src.utils.helpers import render_svg
def show_info(icon: Path) -> None:
2023-04-02 11:52:30 +02:00
st.markdown(f"<div style='text-align: justify;'>{st.session_state.locale.responsibility_denial}</div>",
unsafe_allow_html=True)
st.markdown("---")
2023-03-23 22:58:02 +01:00
st.markdown(f"""
### :page_with_curl: {st.session_state.locale.footer_title}
- {render_svg(icon)} [{st.session_state.locale.footer_chat}](https://t.me/talks_ai)
- {render_svg(icon)} [{st.session_state.locale.footer_channel}](https://t.me/talks_aii)
""", unsafe_allow_html=True)
2023-03-20 12:50:21 +01:00
def show_donates() -> None:
2023-03-22 17:13:02 +01:00
st.markdown(f"""
### :moneybag: {st.session_state.locale.donates}
**{st.session_state.locale.donates1}:**
2023-03-20 12:50:21 +01:00
- [CloudTips (Tinkoff)](https://pay.cloudtips.ru/p/eafa15b2)
2023-03-22 17:13:02 +01:00
**{st.session_state.locale.donates2}:**
2023-03-20 12:50:21 +01:00
- [Buy Me A Coffee](https://www.buymeacoffee.com/aitalks)
- [ko-fi](https://ko-fi.com/ai_talks)
- [PayPal](https://www.paypal.com/paypalme/aitalks)
2023-03-22 18:58:08 +01:00
**Crypto:**
2023-04-02 11:52:30 +02:00
- USD Tether (USDT TRC20):
```
TMQ5RiyQ7bv3XjB6Wf6JbPHVrGkhBKtmfA
```
- Toncoin (TON):
```
UQDbnx17N2iOmxfQF0k55QScDMB0MHL9rsq-iGB93RMqDhIH
```
2023-03-20 12:50:21 +01:00
""")
2023-04-02 11:52:30 +02:00
st.markdown("---")
st.markdown(f"<div style='text-align: justify;'>{st.session_state.locale.donates_info}</div>",
unsafe_allow_html=True)