Skip to content

Commit

Permalink
responsive home issues (#632)
Browse files Browse the repository at this point in the history
* fixed issue footer responsive

* fixed issue benefits mobile title
  • Loading branch information
gerouvi committed Apr 3, 2024
1 parent 0988c92 commit d858587
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
23 changes: 19 additions & 4 deletions src/themes/default/components/Footer.tsx
Expand Up @@ -12,7 +12,8 @@ const Footer = () => {
<Flex
className='site-wrapper'
py={{ base: '60px', md: '120px' }}
flexDirection={{ base: 'column', lg: 'row' }}
flexDirection={{ base: 'column', xl: 'row' }}
alignItems='start'
gap={{ base: '60px', lg: 0 }}
>
<Box flex='1 1 33%'>
Expand All @@ -26,15 +27,23 @@ const Footer = () => {
flexDirection={{ base: 'column', sm2: 'row' }}
justifyContent={{ sm2: 'space-between', lg: 'space-around' }}
gap={{ base: '30px', sm2: 0 }}
mt={1}
ml={{ xl: 10 }}
>
<Flex flexDirection='row' gap='90px'>
<Flex flexDirection={{ base: 'column', xl: 'row' }} gap={{ base: '40px', xl: '90px' }}>
<Text fontWeight='bold' fontSize='18px' lineHeight='21px' mb='16px' display='none'>
{t('footer.company')}
</Text>
<Link fontWeight='bold' variant='footer' href='https://www.vocdoni.io' target='_blank'>
Vocdoni
</Link>
<Link fontWeight='bold' variant='footer' href='https://www.vocdoni.io/about' target='_blank'>
<Link
fontWeight='bold'
variant='footer'
href='https://www.vocdoni.io/about'
whiteSpace='nowrap'
target='_blank'
>
About Us
</Link>
<Link fontWeight='bold' variant='footer' href='https://www.vocdoni.io/contact' target='_blank'>
Expand All @@ -43,7 +52,13 @@ const Footer = () => {
<Link fontWeight='bold' variant='footer' href='https://www.vocdoni.io/api' target='_blank'>
SDK
</Link>
<Link fontWeight='bold' variant='footer' href='https://developer.vocdoni.io' target='_blank'>
<Link
fontWeight='bold'
variant='footer'
href='https://developer.vocdoni.io'
whiteSpace='nowrap'
target='_blank'
>
Developer Portal
</Link>
<Link fontWeight='bold' variant='footer' href='https://blog.vocdoni.io' target='_blank'>
Expand Down
2 changes: 1 addition & 1 deletion src/themes/default/components/Home/Benefits.tsx
Expand Up @@ -82,7 +82,7 @@ const Benefits = () => {
benefits2: 'home.benefits.light_bg',
}}
color={{
base: 'home.benefits.lighy_color',
base: 'home.benefits.light_color',
benefits1: 'home.benefits.dark_color',
benefits2: 'home.benefits.light_color',
}}
Expand Down

3 comments on commit d858587

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸŽ‰ Published on https://onvote-stg.netlify.app as production
πŸš€ Deployed on https://660d694b2ee03cf28d971e2f--onvote-stg.netlify.app

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.