diff --git a/src/components/Layout/Header/MobileNavBar/MoreButton.tsx b/src/components/Layout/Header/MobileNavBar/MoreButton.tsx index 78abaeeb9..c8666755d 100644 --- a/src/components/Layout/Header/MobileNavBar/MoreButton.tsx +++ b/src/components/Layout/Header/MobileNavBar/MoreButton.tsx @@ -9,6 +9,7 @@ import { SQuestionmark } from "components/Layout/Header/Header.styled" import { Separator } from "components/Separator/Separator" import { Text } from "components/Typography/Text/Text" import { theme } from "theme" +import { DOC_LINK } from "utils/constants" const settingsEanbled = import.meta.env.VITE_FF_SETTINGS_ENABLED === "true" @@ -43,7 +44,7 @@ export const MoreButton = ({ tabs }: MoreButtonProps) => { )} = () => { const { t } = useTranslation() return ( - + { const { t } = useTranslation() @@ -14,7 +15,7 @@ export const PoolAddLiquidityInformationCard = () => { {t("liquidity.add.modal.information.text")} - + {t("liquidity.add.modal.information.linkText")} diff --git a/src/sections/referrals/components/FaqAccordion/FaqAccordion.tsx b/src/sections/referrals/components/FaqAccordion/FaqAccordion.tsx index 6ad448411..69135afed 100644 --- a/src/sections/referrals/components/FaqAccordion/FaqAccordion.tsx +++ b/src/sections/referrals/components/FaqAccordion/FaqAccordion.tsx @@ -7,6 +7,7 @@ import { FeatureBox } from "components/FeatureBox/FeatureBox" import { Text } from "components/Typography/Text/Text" import { useTranslation } from "react-i18next" import { theme } from "theme" +import { DOC_LINK } from "utils/constants" const FAQ_STEPS = [ { @@ -49,11 +50,7 @@ export const FaqAccordion = () => { }, }} > - + {t("referrals.faq.docs.learnMore")} diff --git a/src/sections/trade/sections/bonds/components/WhyBonds.tsx b/src/sections/trade/sections/bonds/components/WhyBonds.tsx index 6fd50a3f9..029dc4238 100644 --- a/src/sections/trade/sections/bonds/components/WhyBonds.tsx +++ b/src/sections/trade/sections/bonds/components/WhyBonds.tsx @@ -15,6 +15,7 @@ import { useRpcProvider } from "providers/rpcProvider" import { useTokensBalances } from "api/balances" import { pluck } from "utils/rx" import { useAccount } from "sections/web3-connect/Web3Connect.utils" +import { DOC_LINK } from "utils/constants" export const WhyBonds = () => { const { t } = useTranslation() @@ -107,11 +108,7 @@ export const WhyBonds = () => { }, }} > - + {t("bonds.whyBonds.link")} diff --git a/src/utils/constants.ts b/src/utils/constants.ts index d5e60ef70..6ee7e4c68 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -45,3 +45,5 @@ export const SLIPPAGE_LIMIT = new BN(3) //decimals export const TRILL = 12 export const QUINTILL = 18 + +export const DOC_LINK = "https://docs.hydration.net"