| """RHTP Evaluation Dashboard β entry script. |
| |
| Defines the top-level navigation. Each section's content lives in its own |
| file under /src/pages. |
| """ |
| from __future__ import annotations |
|
|
| import sys |
| from pathlib import Path |
|
|
| import streamlit as st |
|
|
| sys.path.insert(0, str(Path(__file__).resolve().parent)) |
|
|
|
|
| PAGES = { |
| "Dashboard": [ |
| st.Page("pages/0_Overview.py", title="Overview", default=True, |
| url_path="overview"), |
| ], |
| "Initiative evaluations": [ |
| st.Page("pages/1_Workforce.py", |
| title="01 β Workforce", url_path="workforce"), |
| st.Page("pages/2_Facility_Sustainability.py", |
| title="02 β Facility Sustainability", url_path="facility"), |
| st.Page("pages/3_Innovative_Care.py", |
| title="03 β Innovative Care & Payment", url_path="innovative-care"), |
| st.Page("pages/4_Community_Prevention.py", |
| title="04 β Community Prevention", url_path="prevention"), |
| st.Page("pages/5_Technology.py", |
| title="05 β Technology & Data", url_path="technology"), |
| ], |
| } |
|
|
| nav = st.navigation(PAGES) |
| nav.run() |
|
|