-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Work with us via notion CMS (#260)
Co-authored-by: MantisClone <david.hunt-mateo@mantisdata.solutions>
- Loading branch information
1 parent
cd63d64
commit 09d48eb
Showing
37 changed files
with
365 additions
and
572 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
09d48eb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
bankless-website – ./
bankless-website-banklessdao.vercel.app
bankless-website-three.vercel.app
www.bankless.community
bankless-website-git-main-banklessdao.vercel.app
bankless.community