upd footer v2

This commit is contained in:
if 2023-04-29 12:35:01 +03:00
parent 78faf368b1
commit 082eedd92d
2 changed files with 5 additions and 2 deletions

View File

@ -31,5 +31,7 @@ AI_ROLE_OPTIONS_RU: list[str] = [
"переводчик корпоративного жаргона на простой русский",
]
README_URL: str = "https://github.com/dKosarevsky/AI-Talks#readme"
REPO_URL: str = "https://github.com/dKosarevsky/AI-Talks"
README_URL: str = f"{REPO_URL}#readme"
BUG_REPORT_URL: str = f"{REPO_URL}/issues"
AI_TALKS_URL: str = "https://ai-talks.streamlit.app/"

View File

@ -2,6 +2,7 @@ from pathlib import Path
import streamlit as st
from .constants import BUG_REPORT_URL, REPO_URL
from .helpers import render_svg
@ -16,7 +17,7 @@ def show_info(icon: Path) -> None:
- {render_svg(icon)} [{st.session_state.locale.footer_channel}](https://t.me/talks_aii)
""", unsafe_allow_html=True)
st.divider()
st.markdown("project [repo on github](https://github.com/dKosarevsky/AI-Talks) waiting for your :star:")
st.markdown(f"project [repo on github]({REPO_URL}) waiting for your :star: | [report]({BUG_REPORT_URL}) a bug")
def show_donates() -> None: