mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-14 03:56:36 +00:00
Wrap up header and home hero
This commit is contained in:
parent
e6981c1741
commit
7e23558b95
3 changed files with 6 additions and 2 deletions
|
|
@ -105,7 +105,7 @@ export const Header: FC = () => {
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
{/* HAMBURGUER MENU */}
|
{/* HAMBURGUER MENU */}
|
||||||
<Box p={4} display={{ base: 'block', lg: 'none' }}>
|
<Box p={4} display={{ base: 'block', md: 'none' }}>
|
||||||
<HamburguerIcon />
|
<HamburguerIcon />
|
||||||
</Box>
|
</Box>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ export const HomeHero: FC = () => {
|
||||||
border='2px solid'
|
border='2px solid'
|
||||||
borderColor='brand.light.primary'
|
borderColor='brand.light.primary'
|
||||||
px={4}
|
px={4}
|
||||||
py={{ base: 8, md: 5 }}
|
py={{ base: 8, m:24, lg: 4 }}
|
||||||
flexGrow={1}
|
flexGrow={1}
|
||||||
>
|
>
|
||||||
<Box mb={4}>
|
<Box mb={4}>
|
||||||
|
|
@ -19,6 +19,9 @@ export const HomeHero: FC = () => {
|
||||||
textStyle='h1'
|
textStyle='h1'
|
||||||
mb={{ base: 2, md: 4 }}
|
mb={{ base: 2, md: 4 }}
|
||||||
textAlign={{ base: 'center', md: 'left' }}
|
textAlign={{ base: 'center', md: 'left' }}
|
||||||
|
fontSize={{ base: '3rem', md: '6rem'}}
|
||||||
|
lineHeight={{ md: '6rem' }}
|
||||||
|
fontWeight='500'
|
||||||
>
|
>
|
||||||
go-ethereum
|
go-ethereum
|
||||||
</Box>
|
</Box>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
export const sizes = {
|
export const sizes = {
|
||||||
container: {
|
container: {
|
||||||
sm: '480px',
|
sm: '480px',
|
||||||
|
md: '768px',
|
||||||
lg: '1096px',
|
lg: '1096px',
|
||||||
xl: '1200px',
|
xl: '1200px',
|
||||||
'2xl': '1536px'
|
'2xl': '1536px'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue