nouamanetazi HF staff commited on
Commit
d72c3e5
1 Parent(s): 34dfd2a
Files changed (1) hide show
  1. app.py +26 -4
app.py CHANGED
@@ -32,11 +32,34 @@ st.markdown(
32
 
33
  st.title("Nt3awnou نتعاونو ")
34
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  st.markdown("""
36
- 📝 Help us report more people in need by filling this form: https://forms.gle/nZNCUVog9ka2Vdqu6 : ساعدونا نبلغو الناس ليمحتاجين فهاد الاستمارة
 
 
37
 
38
- ✉️ nt3awnou@annarabic.com المتطوعين ليبغاو يعاونوا يقدرو يتصلوا معنا عبر البريد
39
- """)
 
 
 
 
40
 
41
  session = requests.Session()
42
  @st.cache_data(persist=True)
@@ -143,7 +166,6 @@ if show_interventions:
143
  city = row[interventions_df.columns[9]]
144
  date = row[interventions_df.columns[4]]
145
  intervention_info = f"<b>Status:</b> {status}<br><b>Org:</b> {org}<br><b>Intervention:</b> {intervention_type}<br><b>📅 Date:</b> {date}"
146
- print(f"intervention_info: {intervention_info}")
147
  if row["latlng"] is None:
148
  continue
149
  folium.Marker(
 
32
 
33
  st.title("Nt3awnou نتعاونو ")
34
 
35
+ rtl_text = """
36
+
37
+ """
38
+ st.markdown(
39
+ """
40
+ <div style="text-align: right;">
41
+ نتعاونو هي منصة تعاونية لمساعدة الأفراد المتضررين من الزلزال الأخير في المغرب. مهمتنا هي تسهيل تقديم المساعدة في الوقت المناسب و بفاعلية و تنظيم لجميع المتضررين.
42
+ كيفاش؟ كنعاونو الناس لي محتاجين للمساعدة إعلمونا بمكانهم و نوع المساعدة لي محتاجين ليها سواء عن طريق ملأ الاستمارة أو عن طريق إرسال تسجيل صوتي عبر واتساب إلى رقم مخصص. بعد معالجة هاد المعلومات، كنجمعوهم فخريطة كتمكن الجمعيات و المتطوعين من تنظيم و استهداف تدخلاتهم بدقة باش توصل المساعدة للناس لي محتاجين في وقت أسرع. و كل جمعية قامت باللازم في منطقة معينة تقدر تعلمنا عن طريق ملأ استمارة مخصصة لهاد الأمر. هاد المعلومات كذلك كتضاف للخريطة باش باقي المتطوعين يتاجهو لمناطق أخرى.
43
+
44
+ ✉️ nt3awnou@annarabic.com المتطوعين ليبغاو يعاونوا يقدرو يتصلوا معنا عبر البريد
45
+ 📝 https://forms.gle/nZNCUVog9ka2Vdqu6 : ساعدونا نبلغو الناس ليمحتاجين فهاد الاستمارة
46
+ </div>
47
+ """,
48
+ unsafe_allow_html=True,
49
+ )
50
+
51
+
52
  st.markdown("""
53
+ <div style="text-align: left;">
54
+ Nt3awnou نتعاونو is a collaborative platform dedicated to aiding individuals impacted by the recent earthquake in Morocco. Our core mission is to streamline and coordinate timely assistance for everyone affected.
55
+ How do we achieve this? We assist those in need by allowing them to communicate their location and the specific aid they require, either by completing a form or sending a voice message via WhatsApp to a designated number. Once we receive and process this information, it can be viewed in our dashboard, which allows NGOs and volunteers to organize and precisely target their interventions, ensuring swift assistance reaches those in need. Any organization that has taken initiative in a particular area can notify us by completing a dedicated form. This data is also incorporated into the dashboard.
56
 
57
+ ✉️ You can contact us via email at nt3awnou@annarabic.com <br>
58
+ 📝 Help us report more people in need by filling this form: https://forms.gle/nZNCUVog9ka2Vdqu6
59
+ </div>
60
+ """,
61
+ unsafe_allow_html=True,
62
+ )
63
 
64
  session = requests.Session()
65
  @st.cache_data(persist=True)
 
166
  city = row[interventions_df.columns[9]]
167
  date = row[interventions_df.columns[4]]
168
  intervention_info = f"<b>Status:</b> {status}<br><b>Org:</b> {org}<br><b>Intervention:</b> {intervention_type}<br><b>📅 Date:</b> {date}"
 
169
  if row["latlng"] is None:
170
  continue
171
  folium.Marker(