Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,36 +1,58 @@
|
|
1 |
import streamlit as st
|
2 |
|
3 |
st.set_page_config(page_title="8 Dimensions of Self Care", page_icon=":heart:")
|
4 |
-
|
5 |
-
def mermaid(code: str) -> None:
|
6 |
-
components.html(
|
7 |
-
f"""
|
8 |
-
<pre class="mermaid">
|
9 |
-
{code}
|
10 |
-
</pre>
|
11 |
-
|
12 |
-
<script type="module">
|
13 |
-
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
|
14 |
-
mermaid.initialize({{ startOnLoad: true }});
|
15 |
-
</script>
|
16 |
-
"""
|
17 |
-
)
|
18 |
-
|
19 |
-
|
20 |
st.title("8 Dimensions of Self Care")
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
st.set_page_config(page_title="8 Dimensions of Self Care", page_icon=":heart:")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
st.title("8 Dimensions of Self Care")
|
5 |
+
st.markdown("""
|
6 |
+
|
7 |
+
# Positive Reframing Strategies for Self Care
|
8 |
+
|
9 |
+
## ๐ฑ Emotional - How we feel
|
10 |
+
1. Practice gratitude
|
11 |
+
2. Focus on the present moment
|
12 |
+
3. Use positive affirmations
|
13 |
+
4. Surround yourself with positivity
|
14 |
+
|
15 |
+
## ๐ Spiritual - Our beliefs
|
16 |
+
1. Engage in regular meditation or prayer
|
17 |
+
2. Connect with nature
|
18 |
+
3. Practice forgiveness and self-compassion
|
19 |
+
4. Attend spiritual gatherings or join a spiritual community
|
20 |
+
|
21 |
+
## ๐ฐ Financial - How we manage money
|
22 |
+
1. Create a realistic budget
|
23 |
+
2. Set achievable financial goals
|
24 |
+
3. Prioritize paying off debts
|
25 |
+
4. Invest in your future
|
26 |
+
|
27 |
+
## ๐ก Cognitive - How we think
|
28 |
+
1. Challenge negative thoughts
|
29 |
+
2. Practice mindfulness
|
30 |
+
3. Set achievable personal goals
|
31 |
+
4. Engage in lifelong learning
|
32 |
+
|
33 |
+
## ๐ฏ Aptitudinal - Our abilities
|
34 |
+
1. Identify and develop your strengths
|
35 |
+
2. Set realistic expectations
|
36 |
+
3. Embrace failure as a learning opportunity
|
37 |
+
4. Seek out opportunities for personal growth
|
38 |
+
|
39 |
+
## ๐ค Relational - Our connections
|
40 |
+
1. Nurture positive relationships
|
41 |
+
2. Communicate openly and honestly
|
42 |
+
3. Practice empathy and active listening
|
43 |
+
4. Set healthy boundaries
|
44 |
+
|
45 |
+
## ๐ Environmental - Our surroundings
|
46 |
+
1. Create a calming and organized living space
|
47 |
+
2. Spend time in nature
|
48 |
+
3. Reduce exposure to environmental stressors
|
49 |
+
4. Practice sustainable living
|
50 |
+
|
51 |
+
## ๐โโ๏ธ Physical - Our bodies
|
52 |
+
1. Engage in regular physical activity
|
53 |
+
2. Prioritize sleep and relaxation
|
54 |
+
3. Maintain a balanced and nutritious diet
|
55 |
+
4. Limit alcohol and drug consumption
|
56 |
+
|
57 |
+
|
58 |
+
""")
|