|
|
@ -1,40 +1,77 @@ |
|
|
|
import { Box, Button, Container, Flex, Heading, Link, Text } from '@chakra-ui/react'; |
|
|
|
import { |
|
|
|
|
|
|
|
Box, |
|
|
|
|
|
|
|
Button, |
|
|
|
|
|
|
|
Container, |
|
|
|
|
|
|
|
Flex, |
|
|
|
|
|
|
|
Heading, |
|
|
|
|
|
|
|
Link, |
|
|
|
|
|
|
|
Text, |
|
|
|
|
|
|
|
} from '@chakra-ui/react'; |
|
|
|
import siteConfig from '../content/site.json'; |
|
|
|
import siteConfig from '../content/site.json'; |
|
|
|
|
|
|
|
|
|
|
|
export function UpdatesBanner() { |
|
|
|
export function UpdatesBanner() { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<Box borderTopWidth={1} |
|
|
|
<Box |
|
|
|
pt={['40px', '40px', '70px']} |
|
|
|
borderTopWidth={1} |
|
|
|
pb={['40px', '45px', '80px']} |
|
|
|
pt={['40px', '40px', '70px']} |
|
|
|
textAlign='left' |
|
|
|
pb={['40px', '45px', '80px']} |
|
|
|
bg='brand.footer'> |
|
|
|
textAlign="left" |
|
|
|
<Container maxW='container.md'> |
|
|
|
bg="brand.footer" |
|
|
|
<Heading color={'gray.100'} fontSize={['25px', '25px', '35px']} mb={['5px', '5px', '15px']}>Stay |
|
|
|
> |
|
|
|
Informed</Heading> |
|
|
|
<Container maxW="container.md"> |
|
|
|
<Text color='gray.400' lineHeight='26px' fontSize={['15px', '15px', '16px']} mb='20px'>Subscribe yourself to get |
|
|
|
<Heading |
|
|
|
updates, new |
|
|
|
color={'gray.100'} |
|
|
|
guides, videos and roadmaps in your inbox.</Text> |
|
|
|
fontSize={['25px', '25px', '35px']} |
|
|
|
|
|
|
|
mb={['5px', '5px', '15px']} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
Stay Informed |
|
|
|
|
|
|
|
</Heading> |
|
|
|
|
|
|
|
<Text |
|
|
|
|
|
|
|
color="gray.400" |
|
|
|
|
|
|
|
lineHeight="26px" |
|
|
|
|
|
|
|
fontSize={['15px', '15px', '16px']} |
|
|
|
|
|
|
|
mb="20px" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
Subscribe yourself to get updates, new guides, videos and roadmaps in |
|
|
|
|
|
|
|
your inbox. |
|
|
|
|
|
|
|
</Text> |
|
|
|
|
|
|
|
|
|
|
|
<Flex flexDirection={['column', 'column', 'row']}> |
|
|
|
<Flex flexDirection={['column', 'column', 'row']}> |
|
|
|
<Box mr={['0', '0', '20px']} mb={['15px', '15px', 0]}> |
|
|
|
<Box mr={['0', '0', '20px']} mb={['15px', '15px', 0]}> |
|
|
|
<Button as={Link} href='/signup' width={['full', 'auto']} fontSize={['14px', '14px', '16px']} |
|
|
|
<Button |
|
|
|
variant='outline' borderWidth={2} |
|
|
|
as={Link} |
|
|
|
colorScheme='green' _hover={{ color: 'green.200', textDecoration: 'none' }}> |
|
|
|
href="/signup" |
|
|
|
|
|
|
|
width={['full', 'auto']} |
|
|
|
|
|
|
|
fontSize={['14px', '14px', '16px']} |
|
|
|
|
|
|
|
variant="outline" |
|
|
|
|
|
|
|
borderWidth={2} |
|
|
|
|
|
|
|
colorScheme="green" |
|
|
|
|
|
|
|
_hover={{ color: 'green.200', textDecoration: 'none' }} |
|
|
|
|
|
|
|
> |
|
|
|
Subscribe to Updates |
|
|
|
Subscribe to Updates |
|
|
|
</Button> |
|
|
|
</Button> |
|
|
|
<Text color='gray.500' fontSize='13px' mt='5px'>Free subscription for updates</Text> |
|
|
|
<Text color="gray.500" fontSize="13px" mt="5px"> |
|
|
|
|
|
|
|
Free subscription for updates |
|
|
|
|
|
|
|
</Text> |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
|
<Box> |
|
|
|
<Box> |
|
|
|
<Button as={Link} |
|
|
|
<Button |
|
|
|
href={siteConfig.url.sponsor} |
|
|
|
as={Link} |
|
|
|
target='_blank' |
|
|
|
href={siteConfig.url.sponsor} |
|
|
|
width={['full', 'auto']} |
|
|
|
target="_blank" |
|
|
|
fontSize={['14px', '14px', '16px']} |
|
|
|
width={['full', 'auto']} |
|
|
|
_hover={{ textDecoration: 'none', bg: 'yellow.500' }} |
|
|
|
fontSize={['14px', '14px', '16px']} |
|
|
|
colorScheme='yellow'>Updates & Paid Content</Button> |
|
|
|
_hover={{ textDecoration: 'none', bg: 'yellow.500' }} |
|
|
|
<Text color='gray.500' fontSize='13px' mt='5px'>Support the project by paying as little as <Text as='span' |
|
|
|
colorScheme="yellow" |
|
|
|
fontWeight={600}>5$ |
|
|
|
> |
|
|
|
per month</Text></Text> |
|
|
|
Updates & Paid Content |
|
|
|
|
|
|
|
</Button> |
|
|
|
|
|
|
|
<Text color="gray.500" fontSize="13px" mt="5px"> |
|
|
|
|
|
|
|
Support the project by paying as little as{' '} |
|
|
|
|
|
|
|
<Text as="span" fontWeight={600}> |
|
|
|
|
|
|
|
5$ per month |
|
|
|
|
|
|
|
</Text> |
|
|
|
|
|
|
|
</Text> |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
|
</Flex> |
|
|
|
</Flex> |
|
|
|
</Container> |
|
|
|
</Container> |
|
|
|