Maryam Ilka commited on
Commit
607c219
·
verified ·
1 Parent(s): b0194fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -8
app.py CHANGED
@@ -288,15 +288,16 @@ def scenario_explanation():
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="rahyar.png" width="80">
294
- <div>
295
- <h2 style="color: #6a0dad; margin: 0;">راهیار 🚖</h2>
296
- <p style="color: #6a0dad; margin: 0;">سفرهای درون شهری سریع و مطمئن</p>
 
 
297
  </div>
298
- </div>
299
- """, unsafe_allow_html=True)
300
 
301
  st.markdown("### مسیر سفر شما")
302
  folium_static(create_ride_map(), width=800, height=400)
 
288
 
289
  def map_view():
290
  """نمایش نقشه و قیمت"""
291
+ col1, col2 = st.columns([1, 3])
292
+ with col1:
293
+ st.image("rahyar.png", width=100) # عرض لوگو را تنظیم کنید
294
+ with col2:
295
+ st.markdown("""
296
+ <div class="rahyar-header">
297
+ <h2>راهیار 🚖</h2>
298
+ <p>سفرهای درون شهری سریع و مطمئن</p>
299
  </div>
300
+ """, unsafe_allow_html=True)
 
301
 
302
  st.markdown("### مسیر سفر شما")
303
  folium_static(create_ride_map(), width=800, height=400)