Skip to content

Commit

Permalink
Merge pull request #352 from lidofinance/fix/referral-and-restaking-t…
Browse files Browse the repository at this point in the history
…exts

Fix/referral and restaking texts
  • Loading branch information
jake4take authored Jun 10, 2024
2 parents 8729bfe + a50b9a9 commit a48e2de
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion features/referral/banner/banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const Banner: FC = () => {
href={`${config.researchOrigin}/t/referral-program-whitelisting-ethereum/1039`}
>
{' '}
${config.researchOrigin}/t/referral-program-whitelisting-ethereum/1039
{config.researchOrigin}/t/referral-program-whitelisting-ethereum/1039
</Link>
</p>
<br />
Expand Down
11 changes: 6 additions & 5 deletions shared/banners/vaults-banner-info/vaults-banner-info.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { useThemeToggle } from '@lidofinance/lido-ui';

import { BannerLinkButton } from '../banner-link-button';
import { Wrap, Title, Description, Footer, Logos } from './styles';
import { trackEvent } from '@lidofinance/analytics-matomo';

import { ReactComponent as IconMevDark } from 'assets/vault-banner/icon-mev-dark.svg';
import { ReactComponent as IconP2PDark } from 'assets/vault-banner/icon-p2p-dark.svg';
Expand All @@ -13,10 +11,13 @@ import { ReactComponent as IconP2PLight } from 'assets/vault-banner/icon-p2p-lig
import { ReactComponent as IconRe7Light } from 'assets/vault-banner/icon-re7-light.svg';
import { ReactComponent as IconStakehouseLight } from 'assets/vault-banner/icon-stakehouse-light.svg';

import { trackEvent } from '@lidofinance/analytics-matomo';
import { config } from 'config';
import { MATOMO_CLICK_EVENTS } from 'consts/matomo-click-events';

const LINK_LEARN_MORE = 'https://lido.fi/#defi-strategies';
import { BannerLinkButton } from '../banner-link-button';
import { Wrap, Title, Description, Footer, Logos } from './styles';

const LINK_LEARN_MORE = `${config.rootOrigin}/#defi-strategies`;

const linkClickHandler = () =>
trackEvent(...MATOMO_CLICK_EVENTS.vaultsBannerLearnMore);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
import { Button, Link } from '@lidofinance/lido-ui';
import { trackEvent } from '@lidofinance/analytics-matomo';

import { ReactComponent as IconStakehouse } from 'assets/vault-banner/strategy-stakehouse.svg';
import { ReactComponent as SymbolPlus } from 'assets/vault-banner/symbol-plus.svg';

import { config } from 'config';
import { MATOMO_CLICK_EVENTS } from 'consts/matomo-click-events';

import {
Wrap,
Header,
Expand All @@ -10,13 +18,8 @@ import {
StrategyItem,
StrategyDivider,
} from './styles';
import { ReactComponent as IconStakehouse } from 'assets/vault-banner/strategy-stakehouse.svg';
import { ReactComponent as SymbolPlus } from 'assets/vault-banner/symbol-plus.svg';

import { trackEvent } from '@lidofinance/analytics-matomo';
import { MATOMO_CLICK_EVENTS } from 'consts/matomo-click-events';

const LINK_LEARN_MORE = 'https://lido.fi/#defi-strategies';
const LINK_LEARN_MORE = `${config.rootOrigin}/#defi-strategies`;

const linkClickHandler = () =>
trackEvent(...MATOMO_CLICK_EVENTS.vaultsBannerExploreAll);
Expand Down

0 comments on commit a48e2de

Please sign in to comment.