From e51f240048a287ec5228fb32735943d01f7d620a Mon Sep 17 00:00:00 2001 From: zramsay Date: Fri, 3 Mar 2023 15:37:42 -0500 Subject: [PATCH] more Discourse rm --- src/components/common/footer/footer.tsx | 2 +- src/components/common/footer/index.tsx | 6 +++--- src/components/sections/community/socials/index.tsx | 10 +++++----- src/lib/cms/queries/community.js | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/components/common/footer/footer.tsx b/src/components/common/footer/footer.tsx index f66eeb1..5a1a36d 100644 --- a/src/components/common/footer/footer.tsx +++ b/src/components/common/footer/footer.tsx @@ -1,6 +1,6 @@ import { Discord, - Discourse, + Youtube, Facebook, Instagram, Linkedin, diff --git a/src/components/common/footer/index.tsx b/src/components/common/footer/index.tsx index 2d9acb2..4937855 100644 --- a/src/components/common/footer/index.tsx +++ b/src/components/common/footer/index.tsx @@ -8,7 +8,7 @@ import { ArrowLink } from '~/components/icons/arrow' import { Isotype, LogoFooter } from '~/components/icons/logo' import { Discord, - Discourse, + Youtube, Facebook, Instagram, Linkedin, @@ -264,7 +264,7 @@ export const Footer = ({ data }: Props) => { {link.title} {link?.title === 'Twitter' && } {link?.title === 'Discord' && } - {link?.title === 'Discourse' && } + {link?.title === 'Youtube' && } {link?.title === 'Instagram' && } {link?.title === 'Facebook' && } {link?.title === 'Telegram' && } @@ -291,7 +291,7 @@ export const Footer = ({ data }: Props) => { {link.title} {link?.title === 'Twitter' && } {link?.title === 'Discord' && } - {link?.title === 'Discourse' && } + {link?.title === 'Youtube' && } {link?.title === 'Instagram' && } {link?.title === 'Facebook' && } {link?.title === 'Telegram' && } diff --git a/src/components/sections/community/socials/index.tsx b/src/components/sections/community/socials/index.tsx index 6a794d9..99c189b 100644 --- a/src/components/sections/community/socials/index.tsx +++ b/src/components/sections/community/socials/index.tsx @@ -6,7 +6,7 @@ import { useEffect, useRef } from 'react' import Line from '~/components/icons/line' import { Discord, - Discourse, + Youtube, Facebook, Instagram, Linkedin, @@ -34,7 +34,7 @@ interface Props { } socialsTwitter: string socialsDiscord: string - socialsDiscourse: string + socialsYoutube: string socialsReddit: string socialsTelegram: string socialsLinkedin: string @@ -94,10 +94,10 @@ const Socials = ({ data, alternative }: Props) => { )} - {data?.socialsDiscourse && ( - + {data?.socialsYoutube && ( + - + )} diff --git a/src/lib/cms/queries/community.js b/src/lib/cms/queries/community.js index 850ad39..51678d5 100644 --- a/src/lib/cms/queries/community.js +++ b/src/lib/cms/queries/community.js @@ -57,7 +57,7 @@ const CommunitySocials = { } socialsTwitter socialsDiscord - socialsDiscourse + socialsYoutube socialsReddit socialsTelegram socialsLinkedin