From 665ca800f8c0b9d720e6bb3151eccecfe1f17637 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Anne=20L=27H=C3=B4te?= <anne.lhote@gmail.com>
Date: Tue, 3 Dec 2024 09:31:24 +0100
Subject: [PATCH] feat(footer): Add link to open data

---
 client/src/layout/footer.jsx | 38 ++++++++++++++++++++++++++++++++----
 1 file changed, 34 insertions(+), 4 deletions(-)

diff --git a/client/src/layout/footer.jsx b/client/src/layout/footer.jsx
index ccfc6161..b5a140eb 100644
--- a/client/src/layout/footer.jsx
+++ b/client/src/layout/footer.jsx
@@ -111,9 +111,9 @@ export default function MainFooter() {
                       <Link
                         className="fr-footer__top-link"
                         href="https://x.com/dataESR"
-                        target="_blank"
                         icon="twitter-x-fill"
                         iconPosition="left"
+                        target="_blank"
                       >
                         X
                       </Link>
@@ -122,9 +122,9 @@ export default function MainFooter() {
                       <Link
                         className="fr-footer__top-link"
                         href="https://www.linkedin.com/company/enseignementsup-recherche/mycompany/"
-                        target="_blank"
                         icon="linkedin-box-fill"
                         iconPosition="left"
+                        target="_blank"
                       >
                         Linkedin
                       </Link>
@@ -133,14 +133,44 @@ export default function MainFooter() {
                       <Link
                         className="fr-footer__top-link"
                         href="https://www.facebook.com/enseignementsup.recherche"
-                        target="_blank"
-                        iconPosition="left"
                         icon="facebook-circle-fill"
+                        iconPosition="left"
+                        target="_blank"
                       >
                         Facebook
                       </Link>
                     </li>
                   </ul>
+                  <Title
+                    as="h3"
+                    className={cn('fr-footer__top-cat', 'text-center')}
+                  >
+                    Open
+                  </Title>
+                  <ul>
+                    <li>
+                      <Link
+                        className="fr-footer__top-link"
+                        href="https://data.enseignementsup-recherche.gouv.fr/explore/dataset/openalex-affiliations-corrections/information/"
+                        icon="table-fill"
+                        iconPosition="left"
+                        target="_blank"
+                      >
+                        Open data
+                      </Link>
+                    </li>
+                    <li>
+                      <Link
+                        className="fr-footer__top-link"
+                        href="https://github.com/dataesr/works-magnet/"
+                        icon="code-s-slash-line"
+                        iconPosition="left"
+                        target="_blank"
+                      >
+                        Open source
+                      </Link>
+                    </li>
+                  </ul>
                 </div>
               </Row>
             </Col>