From d6dc852f958af48006e51e5de02a4dfe1090e13a Mon Sep 17 00:00:00 2001 From: Adel LAKHDAR <alakhdar@grandlyon.com> Date: Thu, 11 Apr 2024 15:54:26 +0200 Subject: [PATCH] Added challenge, and fluid consumption links to editor --- src/components/Newsletter/CustomLink.tsx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/components/Newsletter/CustomLink.tsx b/src/components/Newsletter/CustomLink.tsx index 0a349213..53a6d360 100644 --- a/src/components/Newsletter/CustomLink.tsx +++ b/src/components/Newsletter/CustomLink.tsx @@ -18,6 +18,22 @@ const CustomLink: React.FC<EcolyoLinkProps> = ({ onChange, editorState }) => { displayTitle: 'Consommation', link: 'consumption', }, + { + displayTitle: "Consommation d'électricité", + link: 'consumption/electricity', + }, + { + displayTitle: "Consommation d'eau", + link: 'consumption/water', + }, + { + displayTitle: 'Consommation de gaz', + link: 'consumption/gas', + }, + { + displayTitle: 'Défis', + link: 'challenges', + }, { displayTitle: 'Astuces', link: 'ecogestures', -- GitLab