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() {
<Body>
<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>{' '}
<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>
</ReadMoreLink>
</Body>
......
......@@ -119,7 +119,7 @@ export function MinimalNetworkAlert() {
<Body>
<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>{' '}
<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>
</ReadMoreLink>
</Body>
......
......@@ -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
swap 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>
</ReadMoreLink>
</Body>
......
......@@ -2,6 +2,6 @@ import styled from 'styled-components/macro'
import { ExternalLink } from 'theme'
export const ReadMoreLink = styled(ExternalLink)`
color: white;
color: ${({ theme }) => theme.text1};
text-decoration: underline;
`
......@@ -12,6 +12,7 @@ const Root = styled.div`
margin-top: 16px;
padding: 16px;
width: 100%;
max-width: 880px;
`
const WarningIcon = styled(AlertOctagon)`
margin: 0 8px 0 0;
......@@ -33,6 +34,7 @@ const Body = styled.div`
`
const ReadMoreLink = styled(ExternalLink)`
color: black;
text-decoration: underline;
`
export default function OptimismDowntimeWarning() {
......@@ -45,12 +47,12 @@ export default function OptimismDowntimeWarning() {
<Root>
<TitleRow>
<WarningIcon />
<Trans>{'Optimism'} Scheduled Downtime</Trans>
<Trans>Optimism Planned Downtime</Trans>
</TitleRow>
<Body>
<Trans>
{'Optimism'} expects scheduled downtime in the near future. Unplanned downtime may occur. While the network is
down fees will not be generated and you will be unable to remove liquidity.
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.{' '}
<ReadMoreLink href="https://help.uniswap.org/en/articles/5406082-what-happens-if-the-optimistic-ethereum-network-experiences-downtime">
Read more.
</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