From bb6d02c7ebea4bbef889ae7568ef9b85f837b029 Mon Sep 17 00:00:00 2001 From: Slava Date: Wed, 29 Jan 2025 13:15:00 +0300 Subject: [PATCH] chore: restore docs link --- apps/evm/src/components/Layout/Header.tsx | 3 +++ apps/evm/src/components/Layout/Sidebar.tsx | 3 +++ apps/evm/src/components/SocialsGroup/SocialsGroup.tsx | 11 +---------- apps/evm/src/locales/en.po | 7 ++++--- apps/evm/src/locales/zh.po | 7 ++++--- 5 files changed, 15 insertions(+), 16 deletions(-) diff --git a/apps/evm/src/components/Layout/Header.tsx b/apps/evm/src/components/Layout/Header.tsx index 237085f7b..b6022e175 100644 --- a/apps/evm/src/components/Layout/Header.tsx +++ b/apps/evm/src/components/Layout/Header.tsx @@ -88,6 +88,9 @@ const Header = (): JSX.Element => { Multisig + + Docs + diff --git a/apps/evm/src/components/Layout/Sidebar.tsx b/apps/evm/src/components/Layout/Sidebar.tsx index c979545a0..e4fa6bde7 100644 --- a/apps/evm/src/components/Layout/Sidebar.tsx +++ b/apps/evm/src/components/Layout/Sidebar.tsx @@ -69,6 +69,9 @@ const Sidebar = ({ isMobile }: { isMobile: boolean }): JSX.Element | null => { About + + Docs + diff --git a/apps/evm/src/components/SocialsGroup/SocialsGroup.tsx b/apps/evm/src/components/SocialsGroup/SocialsGroup.tsx index d2402db0c..27f37c975 100644 --- a/apps/evm/src/components/SocialsGroup/SocialsGroup.tsx +++ b/apps/evm/src/components/SocialsGroup/SocialsGroup.tsx @@ -1,12 +1,11 @@ import { Button, ButtonProps, Flex, FlexProps } from '@gobob/ui'; import { Discord, Twitter } from '@gobob/icons'; -import { t, Trans } from '@lingui/macro'; +import { t } from '@lingui/macro'; import { useLingui } from '@lingui/react'; import { ExternalLinks } from '@/constants'; type Props = { - showDocs?: boolean; variant?: ButtonProps['variant']; }; @@ -15,7 +14,6 @@ type InheritAttrs = Omit; type SocialsGroupProps = Props & InheritAttrs; const SocialsGroup = ({ - showDocs, gap = 's', justifyContent = 'center', variant = 'outline', @@ -25,13 +23,6 @@ const SocialsGroup = ({ return ( - {showDocs && ( - - )}