Spaces:
Runtime error
Runtime error
File size: 3,196 Bytes
0a30697 5d8a2c7 0a30697 5d8a2c7 34b5998 5d8a2c7 4e6c5db 5d8a2c7 4e6c5db |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 |
import streamlit as st
import graphviz as gv
st.set_page_config(page_title="8 Dimensions of Self Care", page_icon=":heart:")
st.title("8 Dimensions of Self Care")
st.markdown("""
# Positive Reframing Strategies for Self Care
## π± Emotional - How we feel
1. Practice gratitude
2. Focus on the present moment
3. Use positive affirmations
4. Surround yourself with positivity
## π Spiritual - Our beliefs
1. Engage in regular meditation or prayer
2. Connect with nature
3. Practice forgiveness and self-compassion
4. Attend spiritual gatherings or join a spiritual community
## π° Financial - How we manage money
1. Create a realistic budget
2. Set achievable financial goals
3. Prioritize paying off debts
4. Invest in your future
## π‘ Cognitive - How we think
1. Challenge negative thoughts
2. Practice mindfulness
3. Set achievable personal goals
4. Engage in lifelong learning
## π― Aptitudinal - Our abilities
1. Identify and develop your strengths
2. Set realistic expectations
3. Embrace failure as a learning opportunity
4. Seek out opportunities for personal growth
## π€ Relational - Our connections
1. Nurture positive relationships
2. Communicate openly and honestly
3. Practice empathy and active listening
4. Set healthy boundaries
## π Environmental - Our surroundings
1. Create a calming and organized living space
2. Spend time in nature
3. Reduce exposure to environmental stressors
4. Practice sustainable living
## πββοΈ Physical - Our bodies
1. Engage in regular physical activity
2. Prioritize sleep and relaxation
3. Maintain a balanced and nutritious diet
4. Limit alcohol and drug consumption
""")
g = gv.Graph(format='svg', engine='circo')
g.node('B', label="8 Dimensions of Self Care", shape="ellipse", fontsize="20", style="filled", fillcolor="lightblue")
dimensions = [
('A', "π± Emotional\nHow we feel"),
('C', "π Spiritual\nOur beliefs"),
('D', "π° Financial\nHow we manage money"),
('E', "π‘ Cognitive\nHow we think"),
('F', "π― Aptitudinal\nOur abilities"),
('G', "π€ Relational\nOur connections"),
('H', "π Environmental\nOur surroundings"),
('I', "πββοΈ Physical\nOur bodies"),
]
for node, label in dimensions:
g.node(node, label=label, shape="ellipse", fontsize="16", style="filled", fillcolor="lightgoldenrodyellow")
for node, _ in dimensions:
g.edge('B', node)
st.graphviz_chart(g)
g = gv.Graph(format='svg', engine='twopi')
g.node('B', label="8 Dimensions of Self Care", shape="ellipse", fontsize="14", style="filled", fillcolor="lightblue")
dimensions = [
('A', "π± Emotional\nHow we feel"),
('C', "π Spiritual\nOur beliefs"),
('D', "π° Financial\nHow we manage money"),
('E', "π‘ Cognitive\nHow we think"),
('F', "π― Aptitudinal\nOur abilities"),
('G', "π€ Relational\nOur connections"),
('H', "π Environmental\nOur surroundings"),
('I', "πββοΈ Physical\nOur bodies"),
]
for node, label in dimensions:
g.node(node, label=label, shape="ellipse", fontsize="12", style="filled", fillcolor="lightgoldenrodyellow")
for node, _ in dimensions:
g.edge('B', node)
st.graphviz_chart(g)
|