Spaces:
Sleeping
Sleeping
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() | |