Skip to content

Commit

Permalink
feat: Work with us via notion CMS (#260)
Browse files Browse the repository at this point in the history
Co-authored-by: MantisClone <david.hunt-mateo@mantisdata.solutions>
  • Loading branch information
didierkrux and MantisClone authored Oct 26, 2023
1 parent cd63d64 commit 09d48eb
Show file tree
Hide file tree
Showing 37 changed files with 365 additions and 572 deletions.
210 changes: 0 additions & 210 deletions assets/content/pages/work-with-us/carouselContent.json

This file was deleted.

86 changes: 86 additions & 0 deletions components/_common/section.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
import React from 'react'
import { Box, Flex, Text, Image, VStack, Link } from '@chakra-ui/react'
import { FiArrowUpRight } from 'react-icons/fi'
import { ProjectType } from 'entities/project'

const Section = ({
project,
reverse,
}: {
project: ProjectType
reverse?: boolean
}): React.ReactElement => (
<Flex
flexDirection={{
base: 'column',
sm: 'column',
xl: reverse ? 'row-reverse' : 'row',
}}
columnGap={16}>
<Box width={{ base: '100%' }} zIndex='1'>
<Image
alt={project.name}
fit={'cover'}
align={'center'}
w={'100%'}
h={'100%'}
maxH='600px'
borderRadius={'22px'}
src={project.image}
/>
</Box>

<Box
height={'35rem'}
width={'35rem'}
pos='absolute'
zIndex='0'
left={{ base: '10%', lg: '15%' }}
top={{ base: '6%', lg: '5%' }}
opacity='0.035'
borderRadius={'50%'}
bgGradient='linear-gradient(121.75deg, rgba(255, 16, 19, 0.6) 58%, rgba(140,29,207,0.6) 0%)'
filter='blur(4rem)'
/>
<Box
height={'30rem'}
width={'30rem'}
pos='absolute'
zIndex='0'
right={{ base: '15%', lg: '20%' }}
top={{ base: '20%', lg: '20%' }}
opacity='0.035'
borderRadius={'50%'}
bgGradient='linear-gradient(121.75deg, rgba(255, 16, 19, 0.6) 58%, rgba(140,29,207,0.6) 0%)'
filter='blur(4rem)'
/>

<VStack
width={{ base: '100%' }}
rowGap={{ base: '8px', md: '57px' }}
mt={{ base: '32px', md: '32px' }}
textAlign='start'
justifyContent='center'
alignItems='start'
zIndex='1'>
<Text fontSize={{ base: '18px', md: '30px' }} fontWeight={700}>
{project.name.toUpperCase()}
</Text>
<Text fontSize={{ base: '12px', md: '28px' }}>{project.description}</Text>
{project.link && (
<Link href={project.link} isExternal>
<Flex
align={'center'}
color={'white.100'}
fontSize='20px'
lineHeight={'24px'}
fontWeight='700'>
Learn More <FiArrowUpRight />
</Flex>
</Link>
)}
</VStack>
</Flex>
)

export default Section
90 changes: 0 additions & 90 deletions components/about-us/section.tsx

This file was deleted.

Loading

1 comment on commit 09d48eb

@vercel
Copy link

@vercel vercel bot commented on 09d48eb Oct 26, 2023

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.