mirror of
https://github.com/trezor/trezor-wallet
synced 2025-07-07 15:18:13 +00:00
Add link for coingecko api
This commit is contained in:
parent
682fc97829
commit
ef20536647
@ -25,24 +25,40 @@ const Wrapper = styled.div`
|
|||||||
color: ${colors.TEXT_SECONDARY};
|
color: ${colors.TEXT_SECONDARY};
|
||||||
padding: 22px 48px;
|
padding: 22px 48px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
border-top: 1px solid ${colors.BACKGROUND};
|
border-top: 1px solid ${colors.BACKGROUND};
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const StyledLink = styled(Link)`
|
const StyledLink = styled(Link)`
|
||||||
margin: 0 6px;
|
margin: 0 6px;
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
|
white-space: nowrap;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const Copy = styled.div`
|
const Copy = styled.div`
|
||||||
|
white-space: nowrap;
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
const Left = styled.div`
|
||||||
|
display: flex;
|
||||||
|
`;
|
||||||
|
|
||||||
|
const Right = styled.div`
|
||||||
|
white-space: nowrap;
|
||||||
|
`;
|
||||||
|
|
||||||
const Footer = ({ opened, toggle }: Props) => (
|
const Footer = ({ opened, toggle }: Props) => (
|
||||||
<Wrapper>
|
<Wrapper>
|
||||||
<Copy title={COMMITHASH}>© {getYear(new Date())}</Copy>
|
<Left>
|
||||||
<StyledLink href="http://satoshilabs.com" isGreen>SatoshiLabs</StyledLink>
|
<Copy title={COMMITHASH}>© {getYear(new Date())}</Copy>
|
||||||
<StyledLink href="/assets/tos.pdf" isGreen>Terms</StyledLink>
|
<StyledLink href="http://satoshilabs.com" isGreen>SatoshiLabs</StyledLink>
|
||||||
<StyledLink onClick={toggle} isGreen>{ opened ? 'Hide Log' : 'Show Log' }</StyledLink>
|
<StyledLink href="/assets/tos.pdf" isGreen>Terms</StyledLink>
|
||||||
|
<StyledLink onClick={toggle} isGreen>{ opened ? 'Hide Log' : 'Show Log' }</StyledLink>
|
||||||
|
</Left>
|
||||||
|
<Right>
|
||||||
|
Exchange rates by<StyledLink href="https://www.coingecko.com" isGreen>Coingecko</StyledLink>
|
||||||
|
</Right>
|
||||||
</Wrapper>
|
</Wrapper>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user