From 19adb4e2e2dc302ee13fb43fb0f009e458c534f1 Mon Sep 17 00:00:00 2001 From: zramsay Date: Fri, 3 Mar 2023 15:31:20 -0500 Subject: [PATCH 1/4] remove laconic.community links --- src/components/common/footer/footer.tsx | 8 +++----- src/components/common/header/header.ts | 1 - src/components/icons/socials.tsx | 6 +++--- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/components/common/footer/footer.tsx b/src/components/common/footer/footer.tsx index 7fcd562..f66eeb1 100644 --- a/src/components/common/footer/footer.tsx +++ b/src/components/common/footer/footer.tsx @@ -14,7 +14,6 @@ export const DevelopersLinks = [ { href: 'https://github.com/LaconicNetwork', title: 'Github' }, { href: '/about/#roadmap', title: 'Roadmap' }, { href: 'https://discord.com/invite/ukhbBemyxY', title: 'Chat' }, - { href: 'https://laconic.community/', title: 'Forum' } ] export const ProductsLinks = [ @@ -32,7 +31,6 @@ export const AboutLinks = [ { href: '/partners', title: 'Partners' }, { href: '/press', title: 'Newsroom' }, { href: '/careers', title: 'Careers' }, - { href: 'https://docs.laconic.com/faq', title: 'FAQ' }, { href: '/contact', title: 'Contact' } ] @@ -55,9 +53,9 @@ export const ConnectLinks = [ logo: }, { - href: 'https://laconic.community/', - title: 'Discourse', - logo: + href: 'https://www.youtube.com/@laconic-network', + title: 'Youtube', + logo: }, { href: 'https://www.reddit.com/r/LaconicNetwork/', diff --git a/src/components/common/header/header.ts b/src/components/common/header/header.ts index fcdab91..d723c4e 100644 --- a/src/components/common/header/header.ts +++ b/src/components/common/header/header.ts @@ -6,7 +6,6 @@ export const defaultHeaderLinks = [ { href: 'https://github.com/LaconicNetwork', title: 'GitHub' }, { href: '/about#roadmap', title: 'Roadmap' }, { href: 'https://discord.com/invite/ukhbBemyxY', title: 'Chat' }, - { href: 'https://laconic.community/', title: 'Forum' } ] }, { diff --git a/src/components/icons/socials.tsx b/src/components/icons/socials.tsx index 2f9593c..2096ae2 100644 --- a/src/components/icons/socials.tsx +++ b/src/components/icons/socials.tsx @@ -251,7 +251,7 @@ const Instagram = ({ ) } -const Discourse = ({ +const Youtube = ({ className, fill }: { @@ -268,7 +268,7 @@ const Discourse = ({ @@ -299,7 +299,7 @@ const Discord = ({ export { Discord, - Discourse, + Youtube, Facebook, Github, Instagram, From e51f240048a287ec5228fb32735943d01f7d620a Mon Sep 17 00:00:00 2001 From: zramsay Date: Fri, 3 Mar 2023 15:37:42 -0500 Subject: [PATCH 2/4] 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 From fde1f33dd8e55f12f28112a91e3952fbd428bcae Mon Sep 17 00:00:00 2001 From: Willi Date: Fri, 3 Mar 2023 16:02:59 -0500 Subject: [PATCH 3/4] autofix import sorting --- src/components/common/footer/footer.tsx | 6 +++--- src/components/common/footer/index.tsx | 4 ++-- src/components/icons/socials.tsx | 4 ++-- src/components/sections/community/socials/index.tsx | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/common/footer/footer.tsx b/src/components/common/footer/footer.tsx index 5a1a36d..59f7283 100644 --- a/src/components/common/footer/footer.tsx +++ b/src/components/common/footer/footer.tsx @@ -1,19 +1,19 @@ import { Discord, - Youtube, Facebook, Instagram, Linkedin, Reddit, Telegram, - Twitter + Twitter, + Youtube } from '~/components/icons/socials' export const DevelopersLinks = [ { href: 'https://docs.laconic.com/', title: 'Developers' }, { href: 'https://github.com/LaconicNetwork', title: 'Github' }, { href: '/about/#roadmap', title: 'Roadmap' }, - { href: 'https://discord.com/invite/ukhbBemyxY', title: 'Chat' }, + { href: 'https://discord.com/invite/ukhbBemyxY', title: 'Chat' } ] export const ProductsLinks = [ diff --git a/src/components/common/footer/index.tsx b/src/components/common/footer/index.tsx index 4937855..a84854e 100644 --- a/src/components/common/footer/index.tsx +++ b/src/components/common/footer/index.tsx @@ -8,13 +8,13 @@ import { ArrowLink } from '~/components/icons/arrow' import { Isotype, LogoFooter } from '~/components/icons/logo' import { Discord, - Youtube, Facebook, Instagram, Linkedin, Reddit, Telegram, - Twitter + Twitter, + Youtube } from '~/components/icons/socials' import { Container } from '~/components/layout/container' import Section from '~/components/layout/section' diff --git a/src/components/icons/socials.tsx b/src/components/icons/socials.tsx index 2096ae2..99670df 100644 --- a/src/components/icons/socials.tsx +++ b/src/components/icons/socials.tsx @@ -299,12 +299,12 @@ const Discord = ({ export { Discord, - Youtube, Facebook, Github, Instagram, Linkedin, Reddit, Telegram, - Twitter + Twitter, + Youtube } diff --git a/src/components/sections/community/socials/index.tsx b/src/components/sections/community/socials/index.tsx index 99c189b..ca323e0 100644 --- a/src/components/sections/community/socials/index.tsx +++ b/src/components/sections/community/socials/index.tsx @@ -6,13 +6,13 @@ import { useEffect, useRef } from 'react' import Line from '~/components/icons/line' import { Discord, - Youtube, Facebook, Instagram, Linkedin, Reddit, Telegram, - Twitter + Twitter, + Youtube } from '~/components/icons/socials' import { Container } from '~/components/layout/container' import Section from '~/components/layout/section' From 446430f184450b561bcd26da1af021bac4f07596 Mon Sep 17 00:00:00 2001 From: zramsay Date: Mon, 6 Mar 2023 10:30:07 -0500 Subject: [PATCH 4/4] lil fix, try this --- src/components/common/header/header.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/common/header/header.ts b/src/components/common/header/header.ts index d723c4e..e0b41ce 100644 --- a/src/components/common/header/header.ts +++ b/src/components/common/header/header.ts @@ -5,7 +5,7 @@ export const defaultHeaderLinks = [ content: [ { href: 'https://github.com/LaconicNetwork', title: 'GitHub' }, { href: '/about#roadmap', title: 'Roadmap' }, - { href: 'https://discord.com/invite/ukhbBemyxY', title: 'Chat' }, + { href: 'https://discord.com/invite/ukhbBemyxY', title: 'Chat' } ] }, { @@ -27,7 +27,6 @@ export const defaultHeaderLinks = [ { href: '/partners', title: 'Partners' }, { href: '/press', title: 'Newsroom' }, { href: '/careers', title: 'Careers' }, - { href: 'https://docs.laconic.com/faq', title: 'FAQ' }, { href: '/contact', title: 'Contact' } ] },