|
import streamlit as st |
|
import graphviz as gv |
|
|
|
|
|
st.set_page_config(page_title="8 Dimensions of Self Care", page_icon=":heart:") |
|
st.title("π Self Care π - Take Charge of Your Personal Health") |
|
|
|
st.markdown(""" |
|
|
|
| πͺπ½π§ββοΈ Self Care π§ββοΈπͺπ½ | Tip 1 | Tip 2 | Tip 3 | Tip 4 | |
|
|---------------------------------|---------------------------|--------------------------------|--------------------------|--------------------------| |
|
| π± 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 |
|
|
|
|
|
""") |
|
|
|
|
|
|
|
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) |
|
|