Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
bf01b0d3
Unverified
Commit
bf01b0d3
authored
Aug 02, 2021
by
Jordan Frankfurt
Committed by
GitHub
Aug 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: optimism link and some copy changes (#2126)
* fix: optimism link * fix: (un)planned downtime copy changes
parent
f46f73f3
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
7 deletions
+9
-7
AddLiquidityNetworkAlert.tsx
src/components/NetworkAlert/AddLiquidityNetworkAlert.tsx
+1
-1
MinimalNetworkAlert.tsx
src/components/NetworkAlert/MinimalNetworkAlert.tsx
+1
-1
NetworkAlert.tsx
src/components/NetworkAlert/NetworkAlert.tsx
+1
-1
styles.ts
src/components/NetworkAlert/styles.ts
+1
-1
index.tsx
src/components/OptimismDowntimeWarning/index.tsx
+5
-3
No files found.
src/components/NetworkAlert/AddLiquidityNetworkAlert.tsx
View file @
bf01b0d3
...
@@ -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
>
...
...
src/components/NetworkAlert/MinimalNetworkAlert.tsx
View file @
bf01b0d3
...
@@ -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
>
...
...
src/components/NetworkAlert/NetworkAlert.tsx
View file @
bf01b0d3
...
@@ -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
>
...
...
src/components/NetworkAlert/styles.ts
View file @
bf01b0d3
...
@@ -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;
`
`
src/components/OptimismDowntimeWarning/index.tsx
View file @
bf01b0d3
...
@@ -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
'
}
Schedul
ed Downtime
</
Trans
>
<
Trans
>
Optimism Plann
ed 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
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment