Spaces:
Running
Running
Maryam Ilka commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -286,12 +286,11 @@ def scenario_explanation():
|
|
| 286 |
st.session_state.current_page = "map_view"
|
| 287 |
st.rerun()
|
| 288 |
|
| 289 |
-
|
| 290 |
def map_view():
|
| 291 |
"""نمایش نقشه و قیمت"""
|
| 292 |
-
st.markdown(
|
| 293 |
<div style="display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 20px;">
|
| 294 |
-
<img src="
|
| 295 |
<div>
|
| 296 |
<h2 style="color: #6a0dad; margin: 0;">راهیار 🚖</h2>
|
| 297 |
<p style="color: #6a0dad; margin: 0;">سفرهای درون شهری سریع و مطمئن</p>
|
|
@@ -303,7 +302,7 @@ def map_view():
|
|
| 303 |
folium_static(create_ride_map(), width=800, height=400)
|
| 304 |
|
| 305 |
st.markdown(f"""
|
| 306 |
-
<div class="price-container"
|
| 307 |
<div style="display: flex; justify-content: space-between; align-items: center;">
|
| 308 |
<span>راهیار <span class="rahyar-badge">به صرفه</span></span>
|
| 309 |
<span class="rahyar-price">{st.session_state.price:,} تومان</span>
|
|
@@ -317,8 +316,6 @@ def map_view():
|
|
| 317 |
st.session_state.current_page = "transparency_questions"
|
| 318 |
st.rerun()
|
| 319 |
|
| 320 |
-
|
| 321 |
-
|
| 322 |
def create_likert_question(question, key):
|
| 323 |
"""سوال لیکرت با دکمهها"""
|
| 324 |
st.markdown(f"<p style='margin-bottom: 10px;'>{question}</p>", unsafe_allow_html=True)
|
|
|
|
| 286 |
st.session_state.current_page = "map_view"
|
| 287 |
st.rerun()
|
| 288 |
|
|
|
|
| 289 |
def map_view():
|
| 290 |
"""نمایش نقشه و قیمت"""
|
| 291 |
+
st.markdown("""
|
| 292 |
<div style="display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 20px;">
|
| 293 |
+
<img src="https://via.placeholder.com/100/6a0dad/FFFFFF?text=راهیار" width="80">
|
| 294 |
<div>
|
| 295 |
<h2 style="color: #6a0dad; margin: 0;">راهیار 🚖</h2>
|
| 296 |
<p style="color: #6a0dad; margin: 0;">سفرهای درون شهری سریع و مطمئن</p>
|
|
|
|
| 302 |
folium_static(create_ride_map(), width=800, height=400)
|
| 303 |
|
| 304 |
st.markdown(f"""
|
| 305 |
+
<div class="price-container">
|
| 306 |
<div style="display: flex; justify-content: space-between; align-items: center;">
|
| 307 |
<span>راهیار <span class="rahyar-badge">به صرفه</span></span>
|
| 308 |
<span class="rahyar-price">{st.session_state.price:,} تومان</span>
|
|
|
|
| 316 |
st.session_state.current_page = "transparency_questions"
|
| 317 |
st.rerun()
|
| 318 |
|
|
|
|
|
|
|
| 319 |
def create_likert_question(question, key):
|
| 320 |
"""سوال لیکرت با دکمهها"""
|
| 321 |
st.markdown(f"<p style='margin-bottom: 10px;'>{question}</p>", unsafe_allow_html=True)
|