Commit 91c05808 authored by Vignesh Mohankumar's avatar Vignesh Mohankumar Committed by GitHub

feat: add initial footer to /about (#5624)

parent c518501e
...@@ -11,13 +11,11 @@ import { CARDS, STEPS } from './constants' ...@@ -11,13 +11,11 @@ import { CARDS, STEPS } from './constants'
import Step from './Step' import Step from './Step'
import { SubTitle, Title } from './Title' import { SubTitle, Title } from './Title'
const Page = styled.span<{ isDarkMode: boolean; titleHeight: number }>` const Page = styled.div<{ isDarkMode: boolean; titleHeight: number }>`
width: 100%;
align-self: center;
display: flex; display: flex;
flex-direction: row; flex-direction: column;
justify-content: center;
align-items: center; align-items: center;
width: 100%;
padding-top: calc(100vh - ${({ titleHeight }) => titleHeight + 200}px); padding-top: calc(100vh - ${({ titleHeight }) => titleHeight + 200}px);
` `
...@@ -123,6 +121,29 @@ const PoweredBySection = styled(Panels)` ...@@ -123,6 +121,29 @@ const PoweredBySection = styled(Panels)`
} }
` `
const SocialRow = styled.div`
display: flex;
gap: 24px;
& > * {
flex: 1;
}
`
const Footer = styled.div`
display: flex;
flex-direction: column;
width: 100%;
gap: 48px;
`
const Copyright = styled.span`
font-weight: 600;
font-size: 16px;
line-height: 20px;
color: ${({ theme }) => theme.textTertiary};
`
export default function About() { export default function About() {
const isDarkMode = useIsDarkMode() const isDarkMode = useIsDarkMode()
...@@ -185,6 +206,15 @@ export default function About() { ...@@ -185,6 +206,15 @@ export default function About() {
</StepList> </StepList>
</Panels> </Panels>
</div> </div>
<Footer>
<SocialRow>
<button>button</button>
<button>button</button>
<button>button</button>
<button>button</button>
</SocialRow>
<Copyright>© {new Date().getFullYear()} Uniswap Labs</Copyright>
</Footer>
</Content> </Content>
</Page> </Page>
</Trace> </Trace>
......
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