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` ...@@ -73,6 +73,11 @@ const SubText = styled.h3`
} }
` `
const SubTextContainer = styled.div`
display: flex;
justify-content: center;
`
const CTAButton = styled(BaseButton)` const CTAButton = styled(BaseButton)`
padding: 16px; padding: 16px;
border-radius: 24px; border-radius: 24px;
...@@ -151,7 +156,9 @@ export default function Landing() { ...@@ -151,7 +156,9 @@ export default function Landing() {
<PageWrapper isDarkMode={isDarkMode}> <PageWrapper isDarkMode={isDarkMode}>
<TitleWrapper> <TitleWrapper>
<TitleText isDarkMode={isDarkMode}>Trade crypto & NFTs with confidence.</TitleText> <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> </TitleWrapper>
<ActionsWrapper> <ActionsWrapper>
<ButtonCTA as={Link} to="/swap"> <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