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
6676d807
Unverified
Commit
6676d807
authored
Dec 09, 2022
by
Vignesh Mohankumar
Committed by
GitHub
Dec 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: landing page font-size changes (#5608)
parent
f9f804c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
index.tsx
src/pages/Landing/index.tsx
+11
-7
No files found.
src/pages/Landing/index.tsx
View file @
6676d807
...
@@ -41,9 +41,10 @@ const PageWrapper = styled.div<{ isDarkMode: boolean }>`
...
@@ -41,9 +41,10 @@ const PageWrapper = styled.div<{ isDarkMode: boolean }>`
const
TitleText
=
styled
.
h1
<
{
isDarkMode
:
boolean
}
>
`
const
TitleText
=
styled
.
h1
<
{
isDarkMode
:
boolean
}
>
`
color: transparent;
color: transparent;
font-size: 36px;
font-size: 36px;
font-weight: 600;
line-height: 44px;
font-weight: 500;
text-align: center;
text-align: center;
margin
-bottom: 0
px;
margin
: 0 0 24
px;
background:
${({
isDarkMode
})
=>
background:
${({
isDarkMode
})
=>
isDarkMode
isDarkMode
?
'
linear-gradient(20deg, rgba(255, 244, 207, 1) 10%, rgba(255, 87, 218, 1) 100%)
'
?
'
linear-gradient(20deg, rgba(255, 244, 207, 1) 10%, rgba(255, 87, 218, 1) 100%)
'
...
@@ -54,10 +55,12 @@ const TitleText = styled.h1<{ isDarkMode: boolean }>`
...
@@ -54,10 +55,12 @@ const TitleText = styled.h1<{ isDarkMode: boolean }>`
@media screen and (min-width:
${
BREAKPOINTS
.
sm
}
px) {
@media screen and (min-width:
${
BREAKPOINTS
.
sm
}
px) {
font-size: 48px;
font-size: 48px;
line-height: 56px;
}
}
@media screen and (min-width:
${
BREAKPOINTS
.
md
}
px) {
@media screen and (min-width:
${
BREAKPOINTS
.
md
}
px) {
font-size: 72px;
font-size: 64px;
line-height: 72px;
}
}
`
`
...
@@ -65,13 +68,14 @@ const SubText = styled.h3`
...
@@ -65,13 +68,14 @@ const SubText = styled.h3`
color:
${({
theme
})
=>
theme
.
textSecondary
}
;
color:
${({
theme
})
=>
theme
.
textSecondary
}
;
font-size: 16px;
font-size: 16px;
line-height: 24px;
line-height: 24px;
font-weight:
4
00;
font-weight:
5
00;
text-align: center;
text-align: center;
max-width: 600px;
max-width: 600px;
margin: 0 0 32px;
@media screen and (min-width:
${
BREAKPOINTS
.
md
}
px) {
@media screen and (min-width:
${
BREAKPOINTS
.
md
}
px) {
font-size: 2
8
px;
font-size: 2
0
px;
line-height:
36
px;
line-height:
28
px;
}
}
`
`
...
@@ -159,7 +163,7 @@ export default function Landing() {
...
@@ -159,7 +163,7 @@ export default function Landing() {
<
TitleWrapper
>
<
TitleWrapper
>
<
TitleText
isDarkMode=
{
isDarkMode
}
>
Trade crypto
&
NFTs with confidence.
</
TitleText
>
<
TitleText
isDarkMode=
{
isDarkMode
}
>
Trade crypto
&
NFTs with confidence.
</
TitleText
>
<
SubTextContainer
>
<
SubTextContainer
>
<
SubText
>
Uniswap is the best way to buy, sell, and manage your tokens and NFTs.
</
SubText
>
<
SubText
>
Buy, sell, and explore tokens and NFTs
</
SubText
>
</
SubTextContainer
>
</
SubTextContainer
>
</
TitleWrapper
>
</
TitleWrapper
>
<
ActionsWrapper
>
<
ActionsWrapper
>
...
...
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