awacke1's picture
Update app.py
26c38a9
raw
history blame
6.27 kB
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
""")
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)