~etalab/codegouvfr-devel

code.gouv.fr: Simplify social footer, align buttons on a row v1 APPLIED

~basilesimon: 1
 Simplify social footer, align buttons on a row

 1 files changed, 6 insertions(+), 6 deletions(-)
#635344 master.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~etalab/codegouvfr-devel/patches/26838/mbox | git am -3
Learn more about email & git

[PATCH code.gouv.fr] Simplify social footer, align buttons on a row Export this patch

From: Basile Simon <basile@basilesimon.fr>

Which is more recommended by the (relatively) new Share group in DSFR:
https://gouvfr.atlassian.net/wiki/spaces/DB/pages/771555355/Partage+-+Share
---
 src/cljs/codegouvfr/core.cljs | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/cljs/codegouvfr/core.cljs b/src/cljs/codegouvfr/core.cljs
index 223abd0..ccf6e6d 100644
--- a/src/cljs/codegouvfr/core.cljs
+++ b/src/cljs/codegouvfr/core.cljs
@@ -1217,23 +1217,23 @@
         [:button.fr-btn {:type "button"} (i/i lang [:subscribe])]]]]]
     ;; Follow elsewhere
     [:div.fr-col-12.fr-col-md-3
      [:div.fr-follow__social
      [:div.fr-share
       [:p.fr-h5.fr-mb-3v (i/i lang [:find-us])]
       [:ul.fr-links-group.fr-links-group--lg
        [:li [:a.fr-share__link
       [:div.fr-share__group
        [:a.fr-share__link
              {:href       "https://sr.ht/~etalab/"
               :aria-label (i/i lang [:sourcehut-link])
               :title      (new-tab (i/i lang [:sourcehut-link]) lang)
               :rel        "noreferrer noopener"
               :target     "_blank"}
              "SourceHut"]]
        [:li [:a.fr-share__link
              "SourceHut"]
        [:a.fr-share__link
              {:href       "https://twitter.com/codegouvfr"
               :aria-label (i/i lang [:twitter-follow])
               :title      (new-tab (i/i lang [:twitter-follow]) lang)
               :rel        "noreferrer noopener"
               :target     "_blank"}
              "Twitter"]]]]]]]])
              "Twitter"]]]]]]])

(defn display-parameters-modal [lang]
  [:dialog#fr-theme-modal.fr-modal
-- 
2.32.0