Commit bf01b0d3 authored by Jordan Frankfurt's avatar Jordan Frankfurt Committed by GitHub

fix: optimism link and some copy changes (#2126)

* fix: optimism link

* fix: (un)planned downtime copy changes
parent f46f73f3
...@@ -119,7 +119,7 @@ export function AddLiquidityNetworkAlert() { ...@@ -119,7 +119,7 @@ export function AddLiquidityNetworkAlert() {
<Body> <Body>
<Trans>This is an alpha release of Uniswap on the {info.label} network.</Trans> <Trans>This is an alpha release of Uniswap on the {info.label} network.</Trans>
<DesktopTextBreak /> <Trans>You must bridge L1 assets to the network to use them.</Trans>{' '} <DesktopTextBreak /> <Trans>You must bridge L1 assets to the network to use them.</Trans>{' '}
<ReadMoreLink href="https://app.intercom.com/a/apps/ggour1ku/articles/articles/5392809/show"> <ReadMoreLink href="https://help.uniswap.org/en/articles/5392809-how-to-deposit-tokens-to-optimism">
<Trans>Read more</Trans> <Trans>Read more</Trans>
</ReadMoreLink> </ReadMoreLink>
</Body> </Body>
......
...@@ -119,7 +119,7 @@ export function MinimalNetworkAlert() { ...@@ -119,7 +119,7 @@ export function MinimalNetworkAlert() {
<Body> <Body>
<Trans>This is an alpha release of Uniswap on the {info.label} network.</Trans> <Trans>This is an alpha release of Uniswap on the {info.label} network.</Trans>
<DesktopTextBreak /> <Trans>You must bridge L1 assets to the network to use them.</Trans>{' '} <DesktopTextBreak /> <Trans>You must bridge L1 assets to the network to use them.</Trans>{' '}
<ReadMoreLink href="https://app.intercom.com/a/apps/ggour1ku/articles/articles/5392809/show"> <ReadMoreLink href="https://help.uniswap.org/en/articles/5392809-how-to-deposit-tokens-to-optimism">
<Trans>Read more</Trans> <Trans>Read more</Trans>
</ReadMoreLink> </ReadMoreLink>
</Body> </Body>
......
...@@ -154,7 +154,7 @@ export function NetworkAlert() { ...@@ -154,7 +154,7 @@ export function NetworkAlert() {
This is an alpha release of Uniswap on the {info.label} network. You must bridge L1 assets to the network to This is an alpha release of Uniswap on the {info.label} network. You must bridge L1 assets to the network to
swap them. swap them.
</Trans>{' '} </Trans>{' '}
<ReadMoreLink href="https://app.intercom.com/a/apps/ggour1ku/articles/articles/5392809/show"> <ReadMoreLink href="https://help.uniswap.org/en/articles/5392809-how-to-deposit-tokens-to-optimism">
<Trans>Read more</Trans> <Trans>Read more</Trans>
</ReadMoreLink> </ReadMoreLink>
</Body> </Body>
......
...@@ -2,6 +2,6 @@ import styled from 'styled-components/macro' ...@@ -2,6 +2,6 @@ import styled from 'styled-components/macro'
import { ExternalLink } from 'theme' import { ExternalLink } from 'theme'
export const ReadMoreLink = styled(ExternalLink)` export const ReadMoreLink = styled(ExternalLink)`
color: white; color: ${({ theme }) => theme.text1};
text-decoration: underline; text-decoration: underline;
` `
...@@ -12,6 +12,7 @@ const Root = styled.div` ...@@ -12,6 +12,7 @@ const Root = styled.div`
margin-top: 16px; margin-top: 16px;
padding: 16px; padding: 16px;
width: 100%; width: 100%;
max-width: 880px;
` `
const WarningIcon = styled(AlertOctagon)` const WarningIcon = styled(AlertOctagon)`
margin: 0 8px 0 0; margin: 0 8px 0 0;
...@@ -33,6 +34,7 @@ const Body = styled.div` ...@@ -33,6 +34,7 @@ const Body = styled.div`
` `
const ReadMoreLink = styled(ExternalLink)` const ReadMoreLink = styled(ExternalLink)`
color: black; color: black;
text-decoration: underline;
` `
export default function OptimismDowntimeWarning() { export default function OptimismDowntimeWarning() {
...@@ -45,12 +47,12 @@ export default function OptimismDowntimeWarning() { ...@@ -45,12 +47,12 @@ export default function OptimismDowntimeWarning() {
<Root> <Root>
<TitleRow> <TitleRow>
<WarningIcon /> <WarningIcon />
<Trans>{'Optimism'} Scheduled Downtime</Trans> <Trans>Optimism Planned Downtime</Trans>
</TitleRow> </TitleRow>
<Body> <Body>
<Trans> <Trans>
{'Optimism'} expects scheduled downtime in the near future. Unplanned downtime may occur. While the network is Optimism expects planned downtime in the near future. Unplanned downtime may also occur. While the network is
down fees will not be generated and you will be unable to remove liquidity. down, fees will not be generated and you will be unable to remove liquidity.{' '}
<ReadMoreLink href="https://help.uniswap.org/en/articles/5406082-what-happens-if-the-optimistic-ethereum-network-experiences-downtime"> <ReadMoreLink href="https://help.uniswap.org/en/articles/5406082-what-happens-if-the-optimistic-ethereum-network-experiences-downtime">
Read more. Read more.
</ReadMoreLink> </ReadMoreLink>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment