Skip to content

Commit abb258c

Browse files
authored
Merge pull request #388 from dataforgoodfr/emdash/feat-footer-remettre-bon-lien-linkedin-07zj7
Liens sociaux dans footer
2 parents 07ea066 + b29c76d commit abb258c

3 files changed

Lines changed: 14 additions & 3 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
**node_modules/
22
.DS_Store
3+
.pi/extensions/emdash-hook.ts

frontend/messages/fr/layout.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@
5656
},
5757
"social": {
5858
"bluesky": "Bluesky",
59-
"linkedin": "LinkedIn"
59+
"linkedin": "LinkedIn",
60+
"instagram": "Instagram",
61+
"mastodon": "Mastodon"
6062
}
6163
}
6264
},

frontend/src/app/[locale]/_partials/footer.tsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { useTranslations } from 'next-intl';
44
import Image from 'next/image';
55
import Link from 'next/link';
6-
import { FaBluesky, FaLinkedin } from 'react-icons/fa6';
6+
import { FaBluesky, FaInstagram, FaLinkedin, FaMastodon } from 'react-icons/fa6';
77
import { Button, SocialLink } from '@/components/atoms';
88
import { usePathLocale } from '@/hooks/usePathLocale';
99
import { NewsletterForm } from '@/components';
@@ -18,9 +18,17 @@ const Footer = () => {
1818
icon: <FaBluesky />,
1919
},
2020
linkedin: {
21-
href: 'https://www.linkedin.com/company/dataforgoodfr/',
21+
href: 'https://www.linkedin.com/company/dataforgood/',
2222
icon: <FaLinkedin />,
2323
},
24+
instagram: {
25+
href: 'https://www.instagram.com/dataforgoodfr/',
26+
icon: <FaInstagram />,
27+
},
28+
mastodon: {
29+
href: 'https://piaille.fr/@dataforgood',
30+
icon: <FaMastodon />,
31+
},
2432
};
2533

2634
const communityNav: Record<string, string> = {

0 commit comments

Comments
 (0)