nouamanetazi HF staff commited on
Commit
623279b
1 Parent(s): 456badc
Files changed (2) hide show
  1. src/components.py +6 -6
  2. src/text_content.py +3 -3
src/components.py CHANGED
@@ -50,8 +50,8 @@ def show_embed_code():
50
 
51
  def show_dataframes_metrics(len_requests, len_interventions, len_solved_verified_requests, lang):
52
  if lang == "en":
53
- with st.expander("📝 Nt3awnou Platform Description"):
54
- st.markdown(INTRO_TEXT_EN, unsafe_allow_html=True)
55
  col1, col2, col3 = st.columns([1, 1, 1])
56
  with col1:
57
  st.metric(
@@ -69,8 +69,8 @@ def show_dataframes_metrics(len_requests, len_interventions, len_solved_verified
69
  len_solved_verified_requests,
70
  )
71
  elif lang == "ar":
72
- with st.expander("📝 شرح منصة نتعاونو"):
73
- st.markdown(INTRO_TEXT_AR, unsafe_allow_html=True)
74
  col1, col2, col3 = st.columns([1, 1, 1])
75
  with col1:
76
  st.metric(
@@ -88,8 +88,8 @@ def show_dataframes_metrics(len_requests, len_interventions, len_solved_verified
88
  len_solved_verified_requests,
89
  )
90
  elif lang == "fr":
91
- with st.expander("📝 Description de la plateforme Nt3awnou"):
92
- st.markdown(INTRO_TEXT_FR, unsafe_allow_html=True)
93
  col1, col2, col3 = st.columns([1, 1, 1])
94
  with col1:
95
  st.metric(
 
50
 
51
  def show_dataframes_metrics(len_requests, len_interventions, len_solved_verified_requests, lang):
52
  if lang == "en":
53
+ # with st.expander("📝 Nt3awnou Platform Description"):
54
+ st.markdown(INTRO_TEXT_EN, unsafe_allow_html=True)
55
  col1, col2, col3 = st.columns([1, 1, 1])
56
  with col1:
57
  st.metric(
 
69
  len_solved_verified_requests,
70
  )
71
  elif lang == "ar":
72
+ # with st.expander("📝 شرح منصة نتعاونو"):
73
+ st.markdown(INTRO_TEXT_AR, unsafe_allow_html=True)
74
  col1, col2, col3 = st.columns([1, 1, 1])
75
  with col1:
76
  st.metric(
 
88
  len_solved_verified_requests,
89
  )
90
  elif lang == "fr":
91
+ # with st.expander("📝 Description de la plateforme Nt3awnou"):
92
+ st.markdown(INTRO_TEXT_FR, unsafe_allow_html=True)
93
  col1, col2, col3 = st.columns([1, 1, 1])
94
  with col1:
95
  st.metric(
src/text_content.py CHANGED
@@ -1,7 +1,7 @@
1
 
2
  INTRO_TEXT_EN = """
3
  <div style="text-align: left;">
4
- 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. 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 the number <b>0652573987</b>. Once we receive and process this information, it can be viewed in our dashboard, which allows NGOs 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 so that other NGOs can help affected areas that still haven't received help.
5
  <br>⚠️ Warning : There are still rocks falling down the mountains, making the roads to the affected areas very dangerous. We advise volunteers to donate directly to specialized NGOs.<br>
6
  <br>
7
  <b>✉️ You can contact us via email at </b><a href="mailto:nt3awnoumorocco@gmail.com">nt3awnoumorocco@gmail.com</a> or via Instagram <a href="https://www.instagram.com/nt3awnou_morocco/">@nt3awnou_morocco</a> <br>
@@ -15,7 +15,7 @@ INTRO_TEXT_EN = """
15
  INTRO_TEXT_AR = """
16
  <div style="text-align: right;-webkit-rtl-ordering: logical;">
17
 
18
- نتعاونو هي منصة تعاونية لمساعدة الأفراد المتضررين من الزلزال الأخير في المغرب. مهمتنا هي تسهيل تقديم المساعدة في الوقت المناسب و بفاعلية و تنظيم لجميع المتضررين. كيفاش؟ كنعاونو الناس لي محتاجين للمساعدة إعلمونا بمكانهم و نوع المساعدة لي محتاجين ليها سواء عن طريق ملأ الاستمارة أو عن طريق إرسال تسجيل صوتي عبر واتساب إلى رقم مخصص<b>0652573987</b>. بعد معالجة هاد المعلومات، كنجمعوهم فخريطة كتمكن الجمعيات من تنظيم و استهداف تدخلاتهم بدقة باش توصل المساعدة للناس لي محتاجين في وقت أسرع. و كل جمعية قامت باللازم في منطقة معينة تقدر تعلمنا عن طريق ملأ استمارة مخصصة لهاد الأمر. هاد المعلومات كذلك كتضاف للخريطة باش باقي الجمعيات يتاجهو لمناطق أخرى مازال ماوصلاتهم مساعدة.
19
  <br> تحذير : نظرا لخطورة الطرقان بسبب الحجر اللي كيطيح من الجبال، ننصح المتطوعين اللي بغاو يساعدو المناطق المتضررة يتبرعو عن طريق الجمعيات المختصة⚠️
20
  <br>
21
  <br>
@@ -31,7 +31,7 @@ INTRO_TEXT_AR = """
31
 
32
  INTRO_TEXT_FR = """
33
  <div style="text-align: left;">
34
- Nt3awnou نتعاونو est une plateforme collaborative dédiée à l'aide aux personnes touchées par le récent tremblement de terre au Maroc. Notre mission principale est de rationaliser et de coordonner une assistance rapide pour toutes les personnes touchées. Comment y parvenons-nous ? Nous aidons les personnes dans le besoin en leur permettant de communiquer leur localisation et l'aide spécifique dont elles ont besoin, soit en remplissant un formulaire, soit en envoyant un message vocal via WhatsApp à un numéro <b>0652573987</b>. Une fois reçues et traitées, ces informations peuvent être consultées dans notre tableau de bord, qui permet aux associations d'organiser et de cibler précisément leurs interventions, afin que l'aide parvienne rapidement à ceux qui en ont besoin. Toute organisation ayant pris une initiative dans une zone particulière peut nous en informer en remplissant un formulaire prévu à cet effet. Ces données sont également intégrées au tableau de bord afin que d'autres associations puissent aider les zones touchées qui n'ont pas encore reçu d'aide.
35
  <br> ⚠️ Avertissement : Il y a encore des chutes de pierres dans les montagnes, ce qui rend les routes vers les zones touchées très dangereuses. Nous conseillons aux volontaires de faire des dons directement aux associations spécialisées.
36
  <br>
37
  <br>
 
1
 
2
  INTRO_TEXT_EN = """
3
  <div style="text-align: left;">
4
+ Nt3awnou نتعاونو is a non-profit organization and 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. 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 the number <b>0652573987</b>. Once we receive and process this information, it can be viewed in our dashboard, which allows NGOs 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 so that other NGOs can help affected areas that still haven't received help.
5
  <br>⚠️ Warning : There are still rocks falling down the mountains, making the roads to the affected areas very dangerous. We advise volunteers to donate directly to specialized NGOs.<br>
6
  <br>
7
  <b>✉️ You can contact us via email at </b><a href="mailto:nt3awnoumorocco@gmail.com">nt3awnoumorocco@gmail.com</a> or via Instagram <a href="https://www.instagram.com/nt3awnou_morocco/">@nt3awnou_morocco</a> <br>
 
15
  INTRO_TEXT_AR = """
16
  <div style="text-align: right;-webkit-rtl-ordering: logical;">
17
 
18
+ نتعاونو هي منصة تعاونية غير ربحية لمساعدة الأفراد المتضررين من الزلزال الأخير في المغرب. مهمتنا هي تسهيل تقديم المساعدة في الوقت المناسب و بفاعلية و تنظيم لجميع المتضررين. كيفاش؟ كنعاونو الناس لي محتاجين للمساعدة إعلمونا بمكانهم و نوع المساعدة لي محتاجين ليها سواء عن طريق ملأ الاستمارة أو عن طريق إرسال تسجيل صوتي عبر واتساب إلى رقم مخصص<b>0652573987</b>. بعد معالجة هاد المعلومات، كنجمعوهم فخريطة كتمكن الجمعيات من تنظيم و استهداف تدخلاتهم بدقة باش توصل المساعدة للناس لي محتاجين في وقت أسرع. و كل جمعية قامت باللازم في منطقة معينة تقدر تعلمنا عن طريق ملأ استمارة مخصصة لهاد الأمر. هاد المعلومات كذلك كتضاف للخريطة باش باقي الجمعيات يتاجهو لمناطق أخرى مازال ماوصلاتهم مساعدة.
19
  <br> تحذير : نظرا لخطورة الطرقان بسبب الحجر اللي كيطيح من الجبال، ننصح المتطوعين اللي بغاو يساعدو المناطق المتضررة يتبرعو عن طريق الجمعيات المختصة⚠️
20
  <br>
21
  <br>
 
31
 
32
  INTRO_TEXT_FR = """
33
  <div style="text-align: left;">
34
+ Nt3awnou نتعاونو est une plateforme collaborative à but non-lucratif dédiée à l'aide aux personnes touchées par le récent tremblement de terre au Maroc. Notre mission principale est de rationaliser et de coordonner une assistance rapide pour toutes les personnes touchées. Comment y parvenons-nous ? Nous aidons les personnes dans le besoin en leur permettant de communiquer leur localisation et l'aide spécifique dont elles ont besoin, soit en remplissant un formulaire, soit en envoyant un message vocal via WhatsApp à un numéro <b>0652573987</b>. Une fois reçues et traitées, ces informations peuvent être consultées dans notre tableau de bord, qui permet aux associations d'organiser et de cibler précisément leurs interventions, afin que l'aide parvienne rapidement à ceux qui en ont besoin. Toute organisation ayant pris une initiative dans une zone particulière peut nous en informer en remplissant un formulaire prévu à cet effet. Ces données sont également intégrées au tableau de bord afin que d'autres associations puissent aider les zones touchées qui n'ont pas encore reçu d'aide.
35
  <br> ⚠️ Avertissement : Il y a encore des chutes de pierres dans les montagnes, ce qui rend les routes vers les zones touchées très dangereuses. Nous conseillons aux volontaires de faire des dons directement aux associations spécialisées.
36
  <br>
37
  <br>