Commit 0a0b56b1 authored by Vignesh Mohankumar's avatar Vignesh Mohankumar Committed by GitHub

fix: center the subtext by using a container (#5599)

parent 480f3f29
......@@ -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>
<SubText>Uniswap is the best way to buy, sell, and manage your tokens and NFTs.</SubText>
<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">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment