Spaces:
Sleeping

kryptrix / dashboard /layout.py
1FahadShah's picture
feat(frontend): initialize Streamlit dashboard shell with sidebar navigation and page routing for KPI, Trading, Feature Simulator, and Stakeholder views
7dd65ed
Raw History Blame Contribute Delete
339 Bytes
# dashboard/layout.py
import streamlit as st
def setup_sidebar():
"""
Sets up the sidebar navigation for the Streamlit app.
Returns the selected page.
"""
page = st.sidebar.radio(
"Select a Page",
("KPI Dashboard", "Trading Analytics", "Feature Simulator", "Stakeholder Reports")
)
return page