Maryam Ilka commited on
Commit
897a647
·
verified ·
1 Parent(s): 44231f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -12
app.py CHANGED
@@ -254,15 +254,16 @@ def demographic_form():
254
 
255
  def scenario_explanation():
256
  """توضیح سناریو"""
257
- col1, col2 = st.columns([1, 3])
258
  with col1:
259
- st.image("rahyar.png", width=100) # عرض لوگو را تنظیم کنید
 
 
 
260
  with col2:
261
  st.markdown("""
262
- <div class="rahyar-header">
263
- <h2>راهیار 🚖</h2>
264
- <p>سفرهای درون شهری سریع و مطمئن</p>
265
- </div>
266
  """, unsafe_allow_html=True)
267
 
268
  st.markdown("### سناریوی تحقیق")
@@ -289,15 +290,16 @@ def scenario_explanation():
289
 
290
  def map_view():
291
  """نمایش نقشه و قیمت"""
292
- col1, col2 = st.columns([1, 3])
293
  with col1:
294
- st.image("rahyar.png", width=100) # عرض لوگو را تنظیم کنید
 
 
 
295
  with col2:
296
  st.markdown("""
297
- <div class="rahyar-header">
298
- <h2>راهیار 🚖</h2>
299
- <p>سفرهای درون شهری سریع و مطمئن</p>
300
- </div>
301
  """, unsafe_allow_html=True)
302
 
303
  st.markdown("### مسیر سفر شما")
 
254
 
255
  def scenario_explanation():
256
  """توضیح سناریو"""
257
+ col1, col2 = st.columns([1, 4])
258
  with col1:
259
+ try:
260
+ st.image("rahyar.png", width=80)
261
+ except:
262
+ st.image("https://via.placeholder.com/80/6a0dad/FFFFFF?text=LOGO", width=80)
263
  with col2:
264
  st.markdown("""
265
+ <h2 style="color: #6a0dad; margin: 0;">راهیار 🚖</h2>
266
+ <p style="color: #6a0dad; margin: 0;">سفرهای درون شهری سریع و مطمئن</p>
 
 
267
  """, unsafe_allow_html=True)
268
 
269
  st.markdown("### سناریوی تحقیق")
 
290
 
291
  def map_view():
292
  """نمایش نقشه و قیمت"""
293
+ col1, col2 = st.columns([1, 4])
294
  with col1:
295
+ try:
296
+ st.image("rahyar.png", width=80)
297
+ except:
298
+ st.image("https://via.placeholder.com/80/6a0dad/FFFFFF?text=LOGO", width=80)
299
  with col2:
300
  st.markdown("""
301
+ <h2 style="color: #6a0dad; margin: 0;">راهیار 🚖</h2>
302
+ <p style="color: #6a0dad; margin: 0;">سفرهای درون شهری سریع و مطمئن</p>
 
 
303
  """, unsafe_allow_html=True)
304
 
305
  st.markdown("### مسیر سفر شما")