Skip to content

Commit

Permalink
✨ feat(follow,share): icône twitter-x par défaut [DS-3659] (#824)
Browse files Browse the repository at this point in the history
- mise en place de l'icône X pour Twitter, avec changement du title pour "X (anciennement Twitter)" sur les composants follow et share
  • Loading branch information
lab9fr authored Nov 20, 2023
1 parent a07980f commit fdbd332
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions src/component/follow/example/data/socials.json.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,31 @@ data.socials = {
title: "Suivez-nous<br> sur les réseaux sociaux",
buttons: [
{
label: "facebook",
label: "Facebook",
type: "facebook",
url: contentPlaceholder("Lien vers le facebook de l'organisation"),
title: contentPlaceholder("Intitulé du lien") + " - nouvelle fenêtre",
},
{
label: "twitter",
type: "twitter",
label: "X (anciennement Twitter)",
type: "twitter-x",
url: contentPlaceholder("Lien vers le twitter de l'organisation"),
title: contentPlaceholder("Intitulé du lien") + " - nouvelle fenêtre",
},
{
label: "linkedin",
label: "Linkedin",
type: "linkedin",
url: contentPlaceholder("Lien vers le linkedin de l'organisation"),
title: contentPlaceholder("Intitulé du lien") + " - nouvelle fenêtre",
},
{
label: "instagram",
label: "Instagram",
type: "instagram",
url: contentPlaceholder("Lien vers l'instagram de l'organisation"),
title: contentPlaceholder("Intitulé du lien") + " - nouvelle fenêtre",
},
{
label: "youtube",
label: "Youtube",
type: "youtube",
url: contentPlaceholder("Lien vers le youtube de l'organisation"),
title: contentPlaceholder("Intitulé du lien") + " - nouvelle fenêtre",
Expand Down
4 changes: 2 additions & 2 deletions src/component/share/example/data/share.json.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ data.share = {
},
{
id: uniqueId('share'),
type: 'twitter',
label: 'Partager sur Twitter',
type: 'twitter-x',
label: 'Partager sur X (anciennement Twitter)',
url: `https://twitter.com/intent/tweet?url=${contentPlaceholder('url de la page')}&text=${contentPlaceholder('titre ou texte descriptif de la page')}&via=${contentPlaceholder('via')}&hashtags=${contentPlaceholder('hashtags')}`,
width: 600,
height: 420,
Expand Down

0 comments on commit fdbd332

Please sign in to comment.