Skip to content

Commit

Permalink
Minor style change
Browse files Browse the repository at this point in the history
  • Loading branch information
elboletaire committed Jul 3, 2024
1 parent f824332 commit 5ac2ab6
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions src/components/Home/FeaturedContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import { Box, Button, Flex, Image, Link, Text } from '@chakra-ui/react'
import { Trans, useTranslation } from 'react-i18next'

import anonymous from '/images/featured/anonymous.png'
import censorship from '/images/featured/censorship_subtitle.png'
import edge from '/images/featured/edge-protocol.png'
import inexpensive from '/images/featured/inexpensive.png'
import open from '/images/featured/open-source.png'
import scalable from '/images/featured/scalable.png'
import inexpensive from '/images/featured/inexpensive.png'
import censorship from '/images/featured/censorship_subtitle.png'
import verifiable from '/images/featured/verifiable.png'
import edge from '/images/featured/edge-protocol.png'

export const FeaturedContent = () => {
const { t } = useTranslation()
Expand Down Expand Up @@ -55,22 +55,14 @@ export const FeaturedContent = () => {
</Flex>
<Box>
<Box
w={'full'}
sx={{
background: 'linear-gradient(101.89deg, #F1FFDF 17.32%, #E1FFFF 68.46%);',
}}
w='full'
bg='linear-gradient(102deg, #F1FFDF 17.32%, #E1FFFF 68.46%)'
position='absolute'
left={0}
zIndex={-1}
h={{ base: '690px', sm: '660px', md: '360px' }}
h={{ base: '690px', sm: '630px', md: '360px' }}
/>
<Flex
direction={{ base: 'column', md: 'row' }}
gap={6}
justify={'center'}
align={'center'}
pt={{ base: 8, md: 0 }}
>
<Flex direction={{ base: 'column', md: 'row' }} gap={6} justify='center' align='center' pt={{ base: 8, md: 0 }}>
<Flex direction={'column'} gap={6}>
<Text fontSize={'3xl'}>
<Trans i18nKey={'featured.a_cutting_edge_voting_protocol'}>A cutting edge voting protocol</Trans>
Expand Down

0 comments on commit 5ac2ab6

Please sign in to comment.