fix(L2): update downtime warning copy (#2114)

This commit is contained in:
Jordan Frankfurt 2021-07-29 14:16:09 -04:00 committed by GitHub
parent beb1bf3bdc
commit 676890d89c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,6 +3,7 @@ import { SupportedChainId } from 'constants/chains'
import { useActiveWeb3React } from 'hooks/web3'
import { AlertOctagon } from 'react-feather'
import styled from 'styled-components/macro'
import { ExternalLink } from 'theme'
const Root = styled.div`
background-color: ${({ theme }) => theme.yellow3};
@ -30,7 +31,7 @@ const Body = styled.div`
line-height: 15px;
margin: 8px 0 0 0;
`
const LinkOutToNotion = styled.a`
const ReadMoreLink = styled(ExternalLink)`
color: black;
`
@ -44,18 +45,15 @@ export default function OptimismDowntimeWarning() {
<Root>
<TitleRow>
<WarningIcon />
<Trans>{'Optimism'} Scheduled Downtimes</Trans>
<Trans>{'Optimism'} Scheduled Downtime</Trans>
</TitleRow>
<Body>
<Trans>
{'Optimism'} expects some scheduled downtime in the near future.&nbsp;
<LinkOutToNotion
href={`https://www.notion.so/Optimism-Regenesis-Schedule-8d14a34902ca4f5a8910762b3ec4b8da`}
target="_blank"
rel="noopener noreferrer"
>
{'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.
<ReadMoreLink href="https://help.uniswap.org/en/articles/5406082-what-happens-if-the-optimistic-ethereum-network-experiences-downtime">
Read more.
</LinkOutToNotion>
</ReadMoreLink>
</Trans>
</Body>
</Root>