Spaces:
Sleeping
Sleeping
feat(frontend): initialize Streamlit dashboard shell with sidebar navigation and page routing for KPI, Trading, Feature Simulator, and Stakeholder views
7dd65ed Download dashboard/layout.py from 1FahadShah/kryptrix: direct link, hf CLI and curl.
- Browser
- Download file 339 Bytes
-
https://huggingface.co/spaces/1FahadShah/kryptrix/resolve/main/dashboard/layout.py
- Command line
-
hf download hf://spaces/1FahadShah/kryptrix/dashboard/layout.py
-
curl -L -o layout.py https://huggingface.co/spaces/1FahadShah/kryptrix/resolve/main/dashboard/layout.py
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 |