YFDashboard / src /pages /50_League_Simulation.py
Jon Solow
Move league sim number down to make room for more stats
f23c47c
raw
history blame
666 Bytes
import streamlit as st
from config import DEFAULT_ICON
from shared_page import common_page_config
from login_component import is_token_in_session
def get_page():
page_title = "Yahoo FF League Simulation"
st.set_page_config(page_title=page_title, page_icon=DEFAULT_ICON, layout="wide")
common_page_config()
st.title(page_title)
if not is_token_in_session():
st.write(
"You must authorize the application to access your account in order to use this feature."
" Please click Login button above."
)
else:
st.write("Logged in. Feature to go here")
if __name__ == "__main__":
get_page()