File size: 646 Bytes
dd64f21 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
import streamlit as st
from config import DEFAULT_ICON, LEAGUE_NAME
from login_component import get_authorization_button
from page_selector import remove_seasonal_pages
def get_app():
keeper_title = f"{LEAGUE_NAME}"
st.set_page_config(page_title=keeper_title, page_icon=DEFAULT_ICON)
get_authorization_button()
st.markdown(
f"""
Welcome {LEAGUE_NAME}!
Navigate between pages using the left sidebar.
If the sidebar is not visible, click the **>** in the upper left corner to open.
"""
)
remove_seasonal_pages()
if __name__ == "__main__":
get_app()
|