Spaces:
Runtime error
Runtime error
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
from streamlit_mermaid import mermaid
|
| 3 |
+
|
| 4 |
+
st.set_page_config(page_title="8 Dimensions of Self Care", page_icon=":heart:")
|
| 5 |
+
|
| 6 |
+
st.title("8 Dimensions of Self Care")
|
| 7 |
+
|
| 8 |
+
mermaid_chart = '''
|
| 9 |
+
graph TD
|
| 10 |
+
A[๐ฑ Emotional, How we feel] --> B[๐ฎ Self Care]
|
| 11 |
+
C[๐ Spiritual, Our beliefs] --> B
|
| 12 |
+
D[๐ฐ Financial, How we manage money] --> B
|
| 13 |
+
E[๐ก Cognitive, How we think] --> B
|
| 14 |
+
F[๐ฏ Aptitudinal, Our abilities] --> B
|
| 15 |
+
G[๐ค Relational, Our connections] --> B
|
| 16 |
+
H[๐ Environmental, Our surroundings] --> B
|
| 17 |
+
I[๐โโ๏ธ Physical, Our bodies] --> B
|
| 18 |
+
'''
|
| 19 |
+
|
| 20 |
+
mermaid(mermaid_chart, width="100%")
|