fix: center the subtext by using a container (#5599)
This commit is contained in:
parent
480f3f29f3
commit
0a0b56b13d
@ -73,6 +73,11 @@ const SubText = styled.h3`
|
||||
}
|
||||
`
|
||||
|
||||
const SubTextContainer = styled.div`
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
`
|
||||
|
||||
const CTAButton = styled(BaseButton)`
|
||||
padding: 16px;
|
||||
border-radius: 24px;
|
||||
@ -151,7 +156,9 @@ export default function Landing() {
|
||||
<PageWrapper isDarkMode={isDarkMode}>
|
||||
<TitleWrapper>
|
||||
<TitleText isDarkMode={isDarkMode}>Trade crypto & NFTs with confidence.</TitleText>
|
||||
<SubTextContainer>
|
||||
<SubText>Uniswap is the best way to buy, sell, and manage your tokens and NFTs.</SubText>
|
||||
</SubTextContainer>
|
||||
</TitleWrapper>
|
||||
<ActionsWrapper>
|
||||
<ButtonCTA as={Link} to="/swap">
|
||||
|
Loading…
Reference in New Issue
Block a user