Skip to content

Commit

Permalink
Merge pull request #80 from DarkFlorist/text-fixes
Browse files Browse the repository at this point in the history
make horswap text smaller to fit the box, the "Horswap available in" doesn't translate properly, so just leave it in english
  • Loading branch information
KillariDev authored Jan 26, 2024
2 parents 0e598ab + 4cbb210 commit cce12a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/components/About/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ const StyledCardLogo = styled.img`
export const MORE_CARDS = [
{
to: '/whatishorswap',
title: 'What is Horswap?',
description: 'Read more about this censorship resistant and privacy protecting Uniswap Interface',
title: 'Horswap?',
description: 'Read more about this censorship resistant and privacy protecting Uniswap Interface.',
lightIcon: <StyledCardLogo src={hors} alt="What is Horswap?" />,
darkIcon: <StyledCardLogo src={hors} alt="What is Horswap?" />,
cta: 'Explanation on what is Horswap',
cta: 'Read more',
},
{
to: '/pools',
Expand Down
5 changes: 2 additions & 3 deletions src/components/SwitchLocaleLink/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Trans } from '@lingui/macro'
import { useLocationLinkProps } from 'hooks/useLocationLinkProps'
import { useMemo } from 'react'
import styled from 'styled-components'
Expand Down Expand Up @@ -38,12 +37,12 @@ export function SwitchLocaleLink() {

return (
<Container>
<Trans>
<p>
Horswap available in:{' '}
<StyledInternalLink onClick={onClick} to={to}>
{LOCALE_LABEL[targetLocale]}
</StyledInternalLink>
</Trans>
</p>
</Container>
)
}

0 comments on commit cce12a3

Please sign in to comment.