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
9370383f
Unverified
Commit
9370383f
authored
Oct 13, 2022
by
Greg Bugyis
Committed by
GitHub
Oct 13, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: Remove value prop from NFT Explore (#4914)
parent
9856c035
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
99 deletions
+0
-99
nft-marketplaces.png
src/assets/images/nft-marketplaces.png
+0
-0
Explore.css.ts
src/nft/components/explore/Explore.css.ts
+0
-64
ValueProp.tsx
src/nft/components/explore/ValueProp.tsx
+0
-33
index.tsx
src/nft/pages/explore/index.tsx
+0
-2
No files found.
src/assets/images/nft-marketplaces.png
deleted
100644 → 0
View file @
9856c035
75.6 KB
src/nft/components/explore/Explore.css.ts
View file @
9370383f
...
@@ -146,70 +146,6 @@ export const marketplaceIcon = style([
...
@@ -146,70 +146,6 @@ export const marketplaceIcon = style([
},
},
])
])
/* Value Prop Styles */
export
const
valuePropWrap
=
style
([
{
backgroundRepeat
:
'
no-repeat
'
,
backgroundSize
:
'
auto
'
,
'
@media
'
:
{
[
`(max-width:
${
breakpoints
.
sm
}
px)`
]:
{
backgroundPosition
:
'
top 0 left 100px
'
,
},
[
`(min-width:
${
breakpoints
.
sm
}
px)`
]:
{
backgroundPosition
:
'
top 0 right 0
'
,
},
},
},
sprinkles
({
width
:
'
full
'
,
borderWidth
:
'
1px
'
,
borderStyle
:
'
solid
'
,
borderColor
:
'
outline
'
,
borderRadius
:
'
12
'
,
paddingLeft
:
'
16
'
,
paddingRight
:
'
16
'
,
marginTop
:
'
60
'
,
position
:
'
relative
'
,
}),
])
export
const
valuePropOverlay
=
style
([
{
height
:
'
135px
'
,
},
sprinkles
({
position
:
'
absolute
'
,
width
:
'
full
'
,
backgroundColor
:
'
grey900
'
,
left
:
'
0
'
,
top
:
'
0
'
,
opacity
:
{
sm
:
'
0.7
'
,
xl
:
'
0.1
'
},
}),
])
export
const
valuePropContent
=
style
([
sprinkles
({
position
:
'
relative
'
,
zIndex
:
'
1
'
,
paddingLeft
:
{
sm
:
'
20
'
,
md
:
'
28
'
,
lg
:
'
36
'
},
paddingBottom
:
'
18
'
,
fontSize
:
{
sm
:
'
20
'
,
md
:
'
28
'
},
paddingTop
:
{
sm
:
'
28
'
,
md
:
'
32
'
},
}),
{
lineHeight
:
'
28px
'
,
'
@media
'
:
{
[
`(max-width: 400px)`
]:
{
width
:
'
88%
'
},
[
`(min-width: 400px)`
]:
{
width
:
'
67%
'
},
[
`(min-width:
${
breakpoints
.
md
}
px)`
]:
{
width
:
'
58%
'
,
lineHeight
:
'
36px
'
,
},
[
`(min-width:
${
breakpoints
.
lg
-
1
}
px)`
]:
{
width
:
'
50%
'
},
},
},
])
/* Base Table Styles */
/* Base Table Styles */
export
const
table
=
style
([
export
const
table
=
style
([
...
...
src/nft/components/explore/ValueProp.tsx
deleted
100644 → 0
View file @
9856c035
import
clsx
from
'
clsx
'
import
{
Box
}
from
'
nft/components/Box
'
import
{
Column
}
from
'
nft/components/Flex
'
import
MarketplacesImage
from
'
../../../assets/images/nft-marketplaces.png
'
import
*
as
styles
from
'
./Explore.css
'
const
ValueProp
=
()
=>
{
return
(
<
Box
width=
"full"
>
<
Column
as=
"section"
className=
{
styles
.
section
}
>
<
Box
className=
{
clsx
(
styles
.
bannerWrap
,
styles
.
valuePropWrap
)
}
style=
{
{
height
:
'
135px
'
,
backgroundImage
:
`url(${MarketplacesImage})`
,
}
}
>
<
Box
className=
{
styles
.
valuePropOverlay
}
width=
"full"
/>
<
Box
className=
{
styles
.
valuePropContent
}
>
Discover, buy, and
{
'
'
}
<
Box
as=
"span"
color=
"pink400"
>
sell NFTs
</
Box
>
{
'
'
}
across all NFT marketplaces
</
Box
>
</
Box
>
</
Column
>
</
Box
>
)
}
export
default
ValueProp
src/nft/pages/explore/index.tsx
View file @
9370383f
import
Banner
from
'
nft/components/explore/Banner
'
import
Banner
from
'
nft/components/explore/Banner
'
import
TrendingCollections
from
'
nft/components/explore/TrendingCollections
'
import
TrendingCollections
from
'
nft/components/explore/TrendingCollections
'
import
ValueProp
from
'
nft/components/explore/ValueProp
'
const
NftExplore
=
()
=>
{
const
NftExplore
=
()
=>
{
return
(
return
(
<>
<>
<
Banner
/>
<
Banner
/>
<
ValueProp
/>
<
TrendingCollections
/>
<
TrendingCollections
/>
</>
</>
)
)
...
...
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