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
1790492f
Unverified
Commit
1790492f
authored
Nov 23, 2022
by
Jack Short
Committed by
GitHub
Nov 23, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: adding links to marketplace icons on details (#5394)
marketplace links
parent
304cd72e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
AssetPriceDetails.tsx
src/nft/components/details/AssetPriceDetails.tsx
+9
-3
No files found.
src/nft/components/details/AssetPriceDetails.tsx
View file @
1790492f
...
...
@@ -17,7 +17,7 @@ import { useMemo } from 'react'
import
{
Upload
}
from
'
react-feather
'
import
{
Link
,
useNavigate
}
from
'
react-router-dom
'
import
styled
,
{
css
,
useTheme
}
from
'
styled-components/macro
'
import
{
ThemedText
}
from
'
theme
'
import
{
ExternalLink
,
ThemedText
}
from
'
theme
'
const
TWITTER_WIDTH
=
560
const
TWITTER_HEIGHT
=
480
...
...
@@ -226,7 +226,11 @@ export const OwnerContainer = ({ asset }: { asset: GenieAsset }) => {
<
ThemedText
.
SubHeader
color=
"accentAction"
fontWeight=
{
500
}
lineHeight=
"24px"
>
{
listing
?
'
Your Price
'
:
'
List for Sale
'
}
</
ThemedText
.
SubHeader
>
{
listing
&&
<
MarketplaceIcon
alt=
{
listing
.
marketplace
}
src=
{
getMarketplaceIcon
(
listing
.
marketplace
)
}
/>
}
{
listing
&&
(
<
ExternalLink
href=
{
listing
.
marketplaceUrl
}
>
<
MarketplaceIcon
alt=
{
listing
.
marketplace
}
src=
{
getMarketplaceIcon
(
listing
.
marketplace
)
}
/>
</
ExternalLink
>
)
}
</
HeaderRow
>
<
PriceRow
>
{
listing
?
(
...
...
@@ -354,7 +358,9 @@ export const AssetPriceDetails = ({ asset, collection }: AssetPriceDetailsProps)
<
ThemedText
.
SubHeader
color=
"accentAction"
fontWeight=
{
500
}
lineHeight=
"24px"
>
Best Price
</
ThemedText
.
SubHeader
>
<
MarketplaceIcon
alt=
{
cheapestOrder
.
marketplace
}
src=
{
getMarketplaceIcon
(
cheapestOrder
.
marketplace
)
}
/>
<
ExternalLink
href=
{
cheapestOrder
.
marketplaceUrl
}
>
<
MarketplaceIcon
alt=
{
cheapestOrder
.
marketplace
}
src=
{
getMarketplaceIcon
(
cheapestOrder
.
marketplace
)
}
/>
</
ExternalLink
>
</
HeaderRow
>
<
PriceRow
>
<
ThemedText
.
MediumHeader
fontSize=
"28px"
lineHeight=
"36px"
>
...
...
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