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
0622ff30
Unverified
Commit
0622ff30
authored
Dec 14, 2022
by
Vignesh Mohankumar
Committed by
GitHub
Dec 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: remove learn more link on landing page (#5683)
* fix: remove learn more link on landing page * lowercase
parent
982c99b0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
43 deletions
+11
-43
index.tsx
src/pages/Landing/index.tsx
+11
-43
No files found.
src/pages/Landing/index.tsx
View file @
0622ff30
...
@@ -11,7 +11,7 @@ import styled from 'styled-components/macro'
...
@@ -11,7 +11,7 @@ import styled from 'styled-components/macro'
import
{
BREAKPOINTS
}
from
'
theme
'
import
{
BREAKPOINTS
}
from
'
theme
'
import
{
Z_INDEX
}
from
'
theme/zIndex
'
import
{
Z_INDEX
}
from
'
theme/zIndex
'
const
Page
Wrapp
er
=
styled
.
div
`
const
Page
Contain
er
=
styled
.
div
`
width: 100%;
width: 100%;
position: relative;
position: relative;
display: flex;
display: flex;
...
@@ -48,7 +48,7 @@ const Glow = styled.div`
...
@@ -48,7 +48,7 @@ const Glow = styled.div`
width: 100%;
width: 100%;
`
`
const
Content
Wrapp
er
=
styled
.
div
<
{
isDarkMode
:
boolean
}
>
`
const
Content
Contain
er
=
styled
.
div
<
{
isDarkMode
:
boolean
}
>
`
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
align-items: center;
align-items: center;
...
@@ -131,17 +131,6 @@ const ButtonCTA = styled(LandingButton)`
...
@@ -131,17 +131,6 @@ const ButtonCTA = styled(LandingButton)`
}
}
`
`
const
ButtonCTASecondary
=
styled
(
LandingButton
)
`
background: none;
border:
${({
theme
})
=>
`1px solid
${
theme
.
textPrimary
}
`
}
;
color:
${({
theme
})
=>
theme
.
textPrimary
}
;
transition:
${({
theme
})
=>
`all
${
theme
.
transition
.
duration
.
medium
}
${
theme
.
transition
.
timing
.
ease
}
`
}
;
&:hover {
border: 1px solid rgba(255, 0, 199, 1);
}
`
const
ButtonCTAText
=
styled
.
p
`
const
ButtonCTAText
=
styled
.
p
`
margin: 0px;
margin: 0px;
font-size: 16px;
font-size: 16px;
...
@@ -153,21 +142,9 @@ const ButtonCTAText = styled.p`
...
@@ -153,21 +142,9 @@ const ButtonCTAText = styled.p`
}
}
`
`
const
ActionsWrapper
=
styled
.
span
`
const
ActionsContainer
=
styled
.
span
`
display: flex;
max-width: 300px;
justify-content: center;
gap: 12px;
width: 100%;
width: 100%;
max-width: 600px;
& > * {
max-width: 288px;
flex: 1;
}
@media screen and (min-width:
${
BREAKPOINTS
.
sm
}
px) {
gap: 24px;
}
`
`
const
LandingSwap
=
styled
(
Swap
)
`
const
LandingSwap
=
styled
(
Swap
)
`
...
@@ -211,7 +188,7 @@ export default function Landing() {
...
@@ -211,7 +188,7 @@ export default function Landing() {
return
(
return
(
<
Trace
page=
{
PageName
.
LANDING_PAGE
}
shouldLogImpression
>
<
Trace
page=
{
PageName
.
LANDING_PAGE
}
shouldLogImpression
>
<
Page
Wrapp
er
>
<
Page
Contain
er
>
<
TraceEvent
<
TraceEvent
events=
{
[
BrowserEvent
.
onClick
]
}
events=
{
[
BrowserEvent
.
onClick
]
}
name=
{
EventName
.
ELEMENT_CLICKED
}
name=
{
EventName
.
ELEMENT_CLICKED
}
...
@@ -223,33 +200,24 @@ export default function Landing() {
...
@@ -223,33 +200,24 @@ export default function Landing() {
</
TraceEvent
>
</
TraceEvent
>
<
Glow
/>
<
Glow
/>
<
Gradient
isDarkMode=
{
isDarkMode
}
/>
<
Gradient
isDarkMode=
{
isDarkMode
}
/>
<
Content
Wrapp
er
isDarkMode=
{
isDarkMode
}
>
<
Content
Contain
er
isDarkMode=
{
isDarkMode
}
>
<
TitleText
isDarkMode=
{
isDarkMode
}
>
Trade crypto
&
NFTs with confidence
</
TitleText
>
<
TitleText
isDarkMode=
{
isDarkMode
}
>
Trade crypto
&
NFTs with confidence
</
TitleText
>
<
SubTextContainer
>
<
SubTextContainer
>
<
SubText
>
Buy, sell, and explore tokens and NFTs
</
SubText
>
<
SubText
>
Buy, sell, and explore tokens and NFTs
</
SubText
>
</
SubTextContainer
>
</
SubTextContainer
>
<
Actions
Wrapp
er
>
<
Actions
Contain
er
>
<
TraceEvent
<
TraceEvent
events=
{
[
BrowserEvent
.
onClick
]
}
events=
{
[
BrowserEvent
.
onClick
]
}
name=
{
EventName
.
ELEMENT_CLICKED
}
name=
{
EventName
.
ELEMENT_CLICKED
}
element=
{
ElementName
.
CONTINUE_BUTTON
}
element=
{
ElementName
.
CONTINUE_BUTTON
}
>
>
<
ButtonCTA
as=
{
Link
}
to=
"/swap"
>
<
ButtonCTA
as=
{
Link
}
to=
"/swap"
>
<
ButtonCTAText
>
Continue
</
ButtonCTAText
>
<
ButtonCTAText
>
Get started
</
ButtonCTAText
>
</
ButtonCTA
>
</
ButtonCTA
>
</
TraceEvent
>
</
TraceEvent
>
<
TraceEvent
</
ActionsContainer
>
events=
{
[
BrowserEvent
.
onClick
]
}
</
ContentContainer
>
name=
{
EventName
.
ELEMENT_CLICKED
}
</
PageContainer
>
element=
{
ElementName
.
LEARN_MORE_LINK
}
>
<
ButtonCTASecondary
as=
{
Link
}
to=
"/about"
>
<
ButtonCTAText
>
Learn more
</
ButtonCTAText
>
</
ButtonCTASecondary
>
</
TraceEvent
>
</
ActionsWrapper
>
</
ContentWrapper
>
</
PageWrapper
>
</
Trace
>
</
Trace
>
)
)
}
}
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