Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/modules/scenes/Main/Explorer/Browser/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export const Browser = () => {
</Tooltip.Content>
}
data-testid="tooltip"
interactive={true}
>
<IconInfo />
</Tooltip>
Expand Down
33 changes: 19 additions & 14 deletions src/modules/scenes/Main/Explorer/StatsInfo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,26 +239,31 @@ export const StatsInfo = () => {
content={
<Tooltip.Content>
<Text variant="accent">
<a
href="https://app.swingby.network/liquidity"
target="_blank"
rel="noreferrer"
>
Deposit liquidity
</a>
<ValidatorLinkSpan>
<a
href="https://app.swingby.network/liquidity"
target="_blank"
rel="noreferrer"
>
Deposit liquidity
</a>
</ValidatorLinkSpan>
&nbsp; and then stake the LP tokens in the&nbsp;
<a
href="https://farm.swingby.network"
target="_blank"
rel="noreferrer"
>
Farm
</a>
<ValidatorLinkSpan>
<a
href="https://farm.swingby.network"
target="_blank"
rel="noreferrer"
>
Farm
</a>
</ValidatorLinkSpan>
.
</Text>
</Tooltip.Content>
}
data-testid="tooltip"
interactive={true}
>
<IconInfo />
</Tooltip>
Expand Down
11 changes: 7 additions & 4 deletions src/modules/scenes/Main/SwapLegacy/SwapFees/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { useDispatch } from 'react-redux';
import { TTxRawObject } from '../../../../explorer';
import { useSdkContext } from '../../../../sdk-context';
import { toggleIsExistPreviousPage } from '../../../../store';
import { TextPrimary } from '../../../Common';
import { swingbyTextDisplay } from '../../../../coins';

import {
Expand All @@ -21,6 +20,7 @@ import {
SwapFeesContainer,
TitleText,
Top,
TextPrimary,
} from './styled';

interface Props {
Expand Down Expand Up @@ -57,13 +57,16 @@ export const SwapFees = (props: Props) => {
content={
<Tooltip.Content>
<FormattedMessage id="swap.node-explanation1" />
<TextPrimary>
<FormattedMessage id="common.click" />
</TextPrimary>
<Link href="/fees">
<TextPrimary>
<FormattedMessage id="common.click" />
</TextPrimary>
</Link>
<FormattedMessage id="swap.node-explanation2" />
</Tooltip.Content>
}
data-testid="tooltip"
interactive={true}
>
<Link href="/fees">
<IconInfo onClick={() => dispatch(toggleIsExistPreviousPage(true))} />
Expand Down
5 changes: 5 additions & 0 deletions src/modules/scenes/Main/SwapLegacy/SwapFees/styled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { rem } from 'polished';
import styled from 'styled-components';

import { StylingConstants } from '../../../../styles';
import { TextPrimary as CommonTextPrimary } from '../../../Common';

const { media } = StylingConstants;

Expand Down Expand Up @@ -64,3 +65,7 @@ export const Center = styled.div`
justify-content: space-between;
align-items: center;
`;

export const TextPrimary = styled(CommonTextPrimary)`
cursor: pointer;
`;