Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
import streamlit as st
|
| 3 |
+
|
| 4 |
+
st.set_page_config(page_title="Bolt App - Home", layout="centered")
|
| 5 |
+
|
| 6 |
+
st.title("Hello, Sarah")
|
| 7 |
+
st.subheader("How are you feeling today?")
|
| 8 |
+
|
| 9 |
+
# Notifications
|
| 10 |
+
with st.expander("🔔 Notifications"):
|
| 11 |
+
st.write("No new notifications")
|
| 12 |
+
|
| 13 |
+
# Upcoming Appointments (mocked)
|
| 14 |
+
st.header("📅 Upcoming Appointments")
|
| 15 |
+
appointments = [
|
| 16 |
+
{"doctor": "Dr. Smith", "time": "10:00 AM", "date": "May 20"},
|
| 17 |
+
{"doctor": "Dr. Lee", "time": "2:00 PM", "date": "May 22"},
|
| 18 |
+
]
|
| 19 |
+
|
| 20 |
+
for appt in appointments:
|
| 21 |
+
st.write(f"- {appt['doctor']} on {appt['date']} at {appt['time']}")
|
| 22 |
+
|
| 23 |
+
# Top Doctors (mocked)
|
| 24 |
+
st.header("🩺 Top Doctors")
|
| 25 |
+
doctors = [
|
| 26 |
+
"Dr. Smith - Cardiologist",
|
| 27 |
+
"Dr. Lee - Dermatologist",
|
| 28 |
+
"Dr. Patel - Neurologist",
|
| 29 |
+
"Dr. Gomez - Pediatrician"
|
| 30 |
+
]
|
| 31 |
+
for doc in doctors:
|
| 32 |
+
st.success(doc)
|