From 4360d73cfecc366c6b0784fa34aeb64386c68c2d Mon Sep 17 00:00:00 2001 From: Alain Nicolas Date: Tue, 16 Jan 2024 14:25:46 +0100 Subject: [PATCH] feat: As a user, I want a link to Verax's social profiles on the Explorer (#529) --- explorer/src/assets/locales/en/en.json | 2 ++ explorer/src/assets/socials/lens.svg | 8 ++++++++ explorer/src/assets/socials/twitter-x.svg | 6 ++++++ explorer/src/constants/components/index.tsx | 12 ++++++++++++ 4 files changed, 28 insertions(+) create mode 100644 explorer/src/assets/socials/lens.svg create mode 100644 explorer/src/assets/socials/twitter-x.svg diff --git a/explorer/src/assets/locales/en/en.json b/explorer/src/assets/locales/en/en.json index 77187f09..02329064 100644 --- a/explorer/src/assets/locales/en/en.json +++ b/explorer/src/assets/locales/en/en.json @@ -35,6 +35,8 @@ "info": { "title": "Info", "about": "About", + "twitter": "Twitter", + "lens": "Lens", "github": "Github", "documentation": "Documentation" } diff --git a/explorer/src/assets/socials/lens.svg b/explorer/src/assets/socials/lens.svg new file mode 100644 index 00000000..c18fc6f3 --- /dev/null +++ b/explorer/src/assets/socials/lens.svg @@ -0,0 +1,8 @@ + + + diff --git a/explorer/src/assets/socials/twitter-x.svg b/explorer/src/assets/socials/twitter-x.svg new file mode 100644 index 00000000..29c27c0a --- /dev/null +++ b/explorer/src/assets/socials/twitter-x.svg @@ -0,0 +1,6 @@ + + + diff --git a/explorer/src/constants/components/index.tsx b/explorer/src/constants/components/index.tsx index 3a130f93..07f9bac1 100644 --- a/explorer/src/constants/components/index.tsx +++ b/explorer/src/constants/components/index.tsx @@ -3,6 +3,8 @@ import { t } from "i18next"; import GitbookIcon from "@/assets/icons/gitbook.svg?react"; import VeraxIcon from "@/assets/logo/verax-icon.svg?react"; import GithubIcon from "@/assets/socials/github.svg?react"; +import LensIcon from "@/assets/socials/lens.svg?react"; +import TwitterXIcon from "@/assets/socials/twitter-x.svg?react"; import { Info } from "@/components/NavigationList/components/Info"; import { IInfoListItem, NavigationProps, SearchElementProps } from "@/interfaces/components"; import { APP_ROUTES } from "@/routes/constants"; @@ -32,6 +34,16 @@ export const INFO_LIST: IInfoListItem[] = [ logo: VeraxIcon, url: "https://ver.ax/", }, + { + title: t("common.routes.info.twitter"), + logo: TwitterXIcon, + url: "https://twitter.com/VeraxRegistry", + }, + { + title: t("common.routes.info.lens"), + logo: LensIcon, + url: "https://share.lens.xyz/u/lens/verax.lens", + }, { title: t("common.routes.info.github"), logo: GithubIcon,