From 62f4311c09745c5fa21d117cdc8a99cabb6b92f1 Mon Sep 17 00:00:00 2001 From: Rupam Shil Date: Tue, 18 Feb 2025 15:49:41 +0530 Subject: [PATCH] (feat) discord link change --- src/constants/urls.ts | 2 +- src/features/landing/components/Footer.tsx | 3 +- .../landing/components/RunningBanner.tsx | 28 ------------------- 3 files changed, 3 insertions(+), 30 deletions(-) diff --git a/src/constants/urls.ts b/src/constants/urls.ts index d676205..a10d49d 100644 --- a/src/constants/urls.ts +++ b/src/constants/urls.ts @@ -17,7 +17,7 @@ export const EXTERNAL_URLS = { WHITEPAPER: 'https://github.com/0xHashstack/whitepaper/blob/main/Open protocol/v0.2/Open protocol v0.2.7.pdf', MEDIUM: 'https://hashstack.medium.com', - DISCORD: 'https://discord.gg/aPAH4mkT', + DISCORD: 'https://hashstack.community/', } as const; export const BANNER_URL = { diff --git a/src/features/landing/components/Footer.tsx b/src/features/landing/components/Footer.tsx index f0c076d..c2d8eda 100644 --- a/src/features/landing/components/Footer.tsx +++ b/src/features/landing/components/Footer.tsx @@ -13,6 +13,7 @@ import DiscordLogoWhite from '@/assets/Icons/discordLogoWhite'; import GithubIconWhite from '@/assets/Icons/githubIconWhite'; import FileIconWhite from '@/assets/Icons/fileIconWhite'; import QueryIconWhite from '@/assets/Icons/queryIconWhite'; +import { EXTERNAL_URLS } from '@/constants/urls'; const footerLinks = [ { text: 'Home', href: '/', isActive: true }, @@ -37,7 +38,7 @@ const socialLinks = [ IconWhite: TwitterIconWhite, }, { - href: 'https://discord.gg/aPAH4mkT', + href: EXTERNAL_URLS.DISCORD, Icon: DicordLogo, IconWhite: DiscordLogoWhite, }, diff --git a/src/features/landing/components/RunningBanner.tsx b/src/features/landing/components/RunningBanner.tsx index 889b491..52c4b32 100644 --- a/src/features/landing/components/RunningBanner.tsx +++ b/src/features/landing/components/RunningBanner.tsx @@ -48,34 +48,6 @@ const RunningBanner = () => { }, ]; - const socials = [ - { - href: 'https://x.com/0xhashstack', - Icon: TwitterIcon, - IconWhite: TwitterIconWhite, - }, - { - href: 'https://discord.gg/aPAH4mkT', - Icon: DicordLogo, - IconWhite: DiscordLogoWhite, - }, - { - href: 'https://github.com/0xHashstack/', - Icon: GithubIcon, - IconWhite: GithubIconWhite, - }, - { - href: 'https://drive.google.com/drive/folders/1ysun5L45Ib4MZAOGr8v9BK-CpZuMpXJr', - Icon: FileIcon, - IconWhite: FileIconWhite, - }, - { - href: 'https://docs.hashstack.finance/hub/faqs', - Icon: QueryIcon, - IconWhite: QueryIconWhite, - }, - ]; - return (