Spaces:
Sleeping
Sleeping
Maryam Ilka commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -99,6 +99,20 @@ st.markdown("""
|
|
| 99 |
display: inline-block;
|
| 100 |
margin-left: 10px;
|
| 101 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 102 |
</style>
|
| 103 |
""", unsafe_allow_html=True)
|
| 104 |
|
|
@@ -255,13 +269,17 @@ def main():
|
|
| 255 |
if 'survey_completed' not in st.session_state:
|
| 256 |
st.session_state.survey_completed = False
|
| 257 |
|
| 258 |
-
# نمایش هدر
|
| 259 |
-
st.
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
|
| 264 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 265 |
|
| 266 |
# اگر اطلاعات دموگرافیک تکمیل نشده
|
| 267 |
if not st.session_state.demographic_data:
|
|
|
|
| 99 |
display: inline-block;
|
| 100 |
margin-left: 10px;
|
| 101 |
}
|
| 102 |
+
.rahyar-header {
|
| 103 |
+
background-color: #6a0dad;
|
| 104 |
+
padding: 15px;
|
| 105 |
+
border-radius: 10px;
|
| 106 |
+
color: white;
|
| 107 |
+
margin-bottom: 20px;
|
| 108 |
+
text-align: center;
|
| 109 |
+
}
|
| 110 |
+
|
| 111 |
+
.rahyar-logo {
|
| 112 |
+
display: block;
|
| 113 |
+
margin: 0 auto;
|
| 114 |
+
text-align: center;
|
| 115 |
+
}
|
| 116 |
</style>
|
| 117 |
""", unsafe_allow_html=True)
|
| 118 |
|
|
|
|
| 269 |
if 'survey_completed' not in st.session_state:
|
| 270 |
st.session_state.survey_completed = False
|
| 271 |
|
| 272 |
+
# نمایش لوگو و هدر
|
| 273 |
+
col1, col2 = st.columns([1, 3])
|
| 274 |
+
with col1:
|
| 275 |
+
st.image("rahyar.png", width=150) # عرض لوگو را تنظیم کنید
|
| 276 |
+
with col2:
|
| 277 |
+
st.markdown("""
|
| 278 |
+
<div class="rahyar-header">
|
| 279 |
+
<h2>راهیار 🚖</h2>
|
| 280 |
+
<p>سفرهای درون شهری سریع و مطمئن</p>
|
| 281 |
+
</div>
|
| 282 |
+
""", unsafe_allow_html=True)
|
| 283 |
|
| 284 |
# اگر اطلاعات دموگرافیک تکمیل نشده
|
| 285 |
if not st.session_state.demographic_data:
|