Add prominent mobile menu instruction at top of page
Browse filesAdded a visible callout box explaining where to find the hamburger
menu (top-left corner) for mobile users.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
app.py
CHANGED
|
@@ -65,6 +65,15 @@ if "messages" not in st.session_state:
|
|
| 65 |
st.markdown("<h1 style='text-align: center; color: #333;'>Practice Difficult Conversations</h1>", unsafe_allow_html=True)
|
| 66 |
st.markdown("<p style='text-align: center; font-size: 18px; color: #555; margin-bottom: 1em;'>With Your Attachment Style Front and Center!</p>", unsafe_allow_html=True)
|
| 67 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
# Welcome text and instructions
|
| 69 |
if not st.session_state.setup_complete:
|
| 70 |
st.markdown("""
|
|
|
|
| 65 |
st.markdown("<h1 style='text-align: center; color: #333;'>Practice Difficult Conversations</h1>", unsafe_allow_html=True)
|
| 66 |
st.markdown("<p style='text-align: center; font-size: 18px; color: #555; margin-bottom: 1em;'>With Your Attachment Style Front and Center!</p>", unsafe_allow_html=True)
|
| 67 |
|
| 68 |
+
# Mobile-friendly setup prompt
|
| 69 |
+
if not st.session_state.setup_complete:
|
| 70 |
+
st.markdown("""
|
| 71 |
+
<div style='background-color: #e8f4f8; padding: 15px; border-radius: 10px; margin-bottom: 20px; text-align: center;'>
|
| 72 |
+
<strong>📱 On mobile?</strong> Tap the <strong>☰ menu icon</strong> in the <strong>top-left corner</strong> to open the setup form.<br>
|
| 73 |
+
<strong>💻 On desktop?</strong> Use the sidebar on the left.
|
| 74 |
+
</div>
|
| 75 |
+
""", unsafe_allow_html=True)
|
| 76 |
+
|
| 77 |
# Welcome text and instructions
|
| 78 |
if not st.session_state.setup_complete:
|
| 79 |
st.markdown("""
|