diff --git a/tools/obscuroscan_v3/frontend/src/components/layouts/footer.tsx b/tools/obscuroscan_v3/frontend/src/components/layouts/footer.tsx index 12ca506fa5..a57abd9440 100644 --- a/tools/obscuroscan_v3/frontend/src/components/layouts/footer.tsx +++ b/tools/obscuroscan_v3/frontend/src/components/layouts/footer.tsx @@ -6,32 +6,41 @@ import { DiscordLogoIcon, } from "@radix-ui/react-icons"; +const SOCIAL_LINKS = [ + { + name: "GitHub", + href: socialLinks.github, + icon: GitHubLogoIcon, + }, + { + name: "Twitter", + href: socialLinks.twitter, + icon: TwitterLogoIcon, + }, + { + name: "Discord", + href: socialLinks.discord, + icon: DiscordLogoIcon, + }, +]; + export default function Footer() { return (
- - - - - - - - - + {SOCIAL_LINKS.map((item, index) => ( + + + + ))}

diff --git a/tools/obscuroscan_v3/frontend/src/lib/constants.ts b/tools/obscuroscan_v3/frontend/src/lib/constants.ts index c4047556f2..ebff60209e 100644 --- a/tools/obscuroscan_v3/frontend/src/lib/constants.ts +++ b/tools/obscuroscan_v3/frontend/src/lib/constants.ts @@ -1,6 +1,6 @@ export const socialLinks = { github: "https://github.com/ten-protocol", - discord: "https://discord.gg/2JQ2Z3r", + discord: "https://discord.gg/QJZ39Den7d", twitter: "https://twitter.com/tenprotocol", twitterHandle: "@tenprotocol", }; diff --git a/tools/walletextension/frontend/src/components/layouts/footer.tsx b/tools/walletextension/frontend/src/components/layouts/footer.tsx index 035216c2a4..587f4c24ba 100644 --- a/tools/walletextension/frontend/src/components/layouts/footer.tsx +++ b/tools/walletextension/frontend/src/components/layouts/footer.tsx @@ -7,6 +7,24 @@ import { } from "@radix-ui/react-icons"; import { useWalletConnection } from "../providers/wallet-provider"; +const SOCIAL_LINKS = [ + { + name: "GitHub", + href: socialLinks.github, + icon: GitHubLogoIcon, + }, + { + name: "Twitter", + href: socialLinks.twitter, + icon: TwitterLogoIcon, + }, + { + name: "Discord", + href: socialLinks.discord, + icon: DiscordLogoIcon, + }, +]; + export default function Footer() { const { version } = useWalletConnection(); @@ -14,27 +32,18 @@ export default function Footer() {
- - - - - - - - - + {SOCIAL_LINKS.map((item, index) => ( + + + + ))}