From 4550cf9d289aaae11cd094a68bd4257f3337ad00 Mon Sep 17 00:00:00 2001 From: David Deloo Date: Tue, 17 Sep 2024 16:15:49 +0200 Subject: [PATCH] feat: refonte homepage pour mise en valeur recherche et Call To Actions (#776) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description 🎸 Mise en place du nouveau design de la home 🎸 Mise en valeur du champ de recherche ## Type de changement 🎢 Nouvelles boucles de données 🎨 Mise a jour du thème et des sections ### Captures d'écran (optionnel) ![image](https://github.com/user-attachments/assets/4e640b0e-a4ea-47e5-991c-278b3da30143) --------- Co-authored-by: vincent porte --- .../test_subcategoryforum_listview.ambr | 12 +- .../tests/__snapshots__/tests_views.ambr | 4 +- .../tests/__snapshots__/tests_views.ambr | 67 +--- .../tests/__snapshots__/test_homepage.ambr | 5 +- lacommunaute/pages/tests/test_homepage.py | 26 +- lacommunaute/pages/views.py | 2 - lacommunaute/static/images/APPRENDRE.png | Bin 59380 -> 0 bytes lacommunaute/static/images/DEMANDER.png | Bin 57874 -> 0 bytes lacommunaute/static/images/Microphone.png | Bin 0 -> 964605 bytes lacommunaute/static/images/SINFORMER.png | Bin 47591 -> 0 bytes .../images/commu-home-illu-02b-light.png | Bin 0 -> 345961 bytes .../static/images/home-banner-01-illu.png | Bin 0 -> 157762 bytes lacommunaute/static/images/home-illu-01.png | Bin 0 -> 152420 bytes .../images/home-title-01-illu-card-01.png | Bin 0 -> 31762 bytes .../images/home-title-01-illu-card-02.png | Bin 0 -> 28211 bytes .../images/home-title-01-illu-card-03.png | Bin 0 -> 31972 bytes .../static/images/hp-illustration-01.svg | 1 - lacommunaute/static/images/logo-afpa.png | Bin 4358 -> 0 bytes .../static/stylesheets/itou_communaute.scss | 21 +- .../theme-inclusion/images/banner-01-illu.png | Bin 0 -> 157762 bytes .../images/home-title-01-illu-card-01.png | Bin 0 -> 31762 bytes .../images/home-title-01-illu-card-02.png | Bin 0 -> 28211 bytes .../images/home-title-01-illu-card-03.png | Bin 0 -> 31972 bytes .../images/home/commu-home-illu-01.png | Bin 0 -> 152420 bytes .../images/home/commu-home-illu-02.png | Bin 0 -> 1277732 bytes .../images/logo-aides-territoires.svg | 1 - .../vendor/theme-inclusion/javascripts/app.js | 2 +- .../theme-inclusion/stylesheets/app.css | 4 +- .../templates/event/partials/event_date.html | 2 +- .../partials/subcategory_forum_list.html | 4 +- .../partials/itou_modal.html | 40 +++ .../topic_create_check.html | 73 +---- lacommunaute/templates/pages/home.html | 305 ++++++++++-------- lacommunaute/templates/partials/footer.html | 3 - lacommunaute/templates/partials/header.html | 2 +- locale/fr/LC_MESSAGES/django.mo | Bin 15487 -> 15573 bytes locale/fr/LC_MESSAGES/django.po | 4 + 37 files changed, 253 insertions(+), 325 deletions(-) delete mode 100644 lacommunaute/static/images/APPRENDRE.png delete mode 100644 lacommunaute/static/images/DEMANDER.png create mode 100644 lacommunaute/static/images/Microphone.png delete mode 100644 lacommunaute/static/images/SINFORMER.png create mode 100644 lacommunaute/static/images/commu-home-illu-02b-light.png create mode 100644 lacommunaute/static/images/home-banner-01-illu.png create mode 100644 lacommunaute/static/images/home-illu-01.png create mode 100644 lacommunaute/static/images/home-title-01-illu-card-01.png create mode 100644 lacommunaute/static/images/home-title-01-illu-card-02.png create mode 100644 lacommunaute/static/images/home-title-01-illu-card-03.png delete mode 100644 lacommunaute/static/images/hp-illustration-01.svg delete mode 100644 lacommunaute/static/images/logo-afpa.png create mode 100644 lacommunaute/static/vendor/theme-inclusion/images/banner-01-illu.png create mode 100644 lacommunaute/static/vendor/theme-inclusion/images/home-title-01-illu-card-01.png create mode 100644 lacommunaute/static/vendor/theme-inclusion/images/home-title-01-illu-card-02.png create mode 100644 lacommunaute/static/vendor/theme-inclusion/images/home-title-01-illu-card-03.png create mode 100644 lacommunaute/static/vendor/theme-inclusion/images/home/commu-home-illu-01.png create mode 100644 lacommunaute/static/vendor/theme-inclusion/images/home/commu-home-illu-02.png delete mode 100644 lacommunaute/static/vendor/theme-inclusion/images/logo-aides-territoires.svg create mode 100644 lacommunaute/templates/forum_conversation/partials/itou_modal.html diff --git a/lacommunaute/forum/tests/__snapshots__/test_subcategoryforum_listview.ambr b/lacommunaute/forum/tests/__snapshots__/test_subcategoryforum_listview.ambr index 005e5c5ff..aa8c64c07 100644 --- a/lacommunaute/forum/tests/__snapshots__/test_subcategoryforum_listview.ambr +++ b/lacommunaute/forum/tests/__snapshots__/test_subcategoryforum_listview.ambr @@ -4,8 +4,8 @@
-
Afficher les fiches contenant l'étiquette
-
+
Afficher les fiches contenant l'étiquette
+
@@ -66,8 +66,8 @@
-
Afficher les fiches contenant l'étiquette
-
+
Afficher les fiches contenant l'étiquette
+
@@ -97,8 +97,8 @@
-
Afficher les fiches contenant l'étiquette
-
+
Afficher les fiches contenant l'étiquette
+
diff --git a/lacommunaute/forum/tests/__snapshots__/tests_views.ambr b/lacommunaute/forum/tests/__snapshots__/tests_views.ambr index 99e56d8d1..397f6eab7 100644 --- a/lacommunaute/forum/tests/__snapshots__/tests_views.ambr +++ b/lacommunaute/forum/tests/__snapshots__/tests_views.ambr @@ -222,8 +222,8 @@
-
Afficher les fiches contenant l'étiquette
-
+
Afficher les fiches contenant l'étiquette
+
diff --git a/lacommunaute/forum_conversation/tests/__snapshots__/tests_views.ambr b/lacommunaute/forum_conversation/tests/__snapshots__/tests_views.ambr index 60c3ba87f..d094bf826 100644 --- a/lacommunaute/forum_conversation/tests/__snapshots__/tests_views.ambr +++ b/lacommunaute/forum_conversation/tests/__snapshots__/tests_views.ambr @@ -64,20 +64,7 @@

Quelle est ma situation ?

-
-
-
-

Je suis à la recherche d'un emploi

-
-
-

Je recherche des offres d'emploi ou des entreprises près de chez moi

-
- -
-
-
+

J'utilise le site des emplois de l'inclusion

@@ -92,7 +79,7 @@
-
+

J'accueille des personnes en PMSMP

@@ -109,7 +96,7 @@
-
+

Je suis un/une professionnel/le de l'insertion, en formation ou en activité

@@ -125,54 +112,6 @@
-
diff --git a/lacommunaute/pages/tests/__snapshots__/test_homepage.ambr b/lacommunaute/pages/tests/__snapshots__/test_homepage.ambr index ae747386e..7d067ba7a 100644 --- a/lacommunaute/pages/tests/__snapshots__/test_homepage.ambr +++ b/lacommunaute/pages/tests/__snapshots__/test_homepage.ambr @@ -55,9 +55,6 @@