From 3169777443f14a8d089781bedc5b37d55acde9f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Famibelle-Pronzola?= Date: Sat, 22 Jul 2023 13:57:12 +0400 Subject: [PATCH] Add Xmpp to rezoLis --- lib/icons/xmpp.js | 9 +++++++++ lib/rezo-lis.js | 7 +++++++ 2 files changed, 16 insertions(+) create mode 100644 lib/icons/xmpp.js diff --git a/lib/icons/xmpp.js b/lib/icons/xmpp.js new file mode 100644 index 0000000..b6249d4 --- /dev/null +++ b/lib/icons/xmpp.js @@ -0,0 +1,9 @@ +import {SvgIcon} from '@mui/material' + +export default function PleromaIcon(props) { + return ( + + + + ) +} diff --git a/lib/rezo-lis.js b/lib/rezo-lis.js index 745fb77..30239ef 100644 --- a/lib/rezo-lis.js +++ b/lib/rezo-lis.js @@ -3,13 +3,20 @@ import YouTubeIcon from '@mui/icons-material/YouTube' import TelegramIcon from '@mui/icons-material/Telegram' import PeertubeIcon from './icons/peertube' +import XmppIcon from './icons/xmpp' +const xmppContact = process.env.NEXT_PUBLIC_XMPP || 'organisationka@movim.eu' const gadeUsername = process.env.NEXT_PUBLIC_GADE_USERNAME || 'oki' const youtubeUsername = process.env.NEXT_PUBLIC_YOUTUBE_USERNAME || 'OrganisationKInternationaleOKi' const tiwtterUsername = process.env.NEXT_PUBLIC_TWITTER_USERNAME || 'OrganisationKA' const telegramGroup = process.env.NEXT_PUBLIC_TELEGRAM_GROUP || 'OrganisationKA' export const rezoLis = [ + { + tit: 'Xmpp', + lyen: `xmpp:${xmppContact}`, + icon: + }, { tit: 'Gadé', lyen: `https://gade.o-k-i.net/a/${gadeUsername}/video-channels`,