|
|
|
@ -10,20 +10,21 @@ export function ContentPageHeader(props: GuideHeaderProps) { |
|
|
|
|
const { title, subtitle } = props; |
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
|
<Box pt='70px' pb='55px' borderBottomWidth={1} mb='30px' textAlign='center'> |
|
|
|
|
<Container maxW='container.md' position='relative' textAlign='center'> |
|
|
|
|
<Flex alignItems='center' justifyContent='center' fontSize='14px'> |
|
|
|
|
<Box pt={['35px', '35px', '70px']} pb={['35px', '35px', '55px']} borderBottomWidth={1} mb='30px'> |
|
|
|
|
<Container maxW='container.md' position='relative' textAlign={['left', 'left', 'center']}> |
|
|
|
|
<Flex alignItems='center' justifyContent={['flex-start', 'flex-start', 'center']} fontSize={['12px', '12px', '14px']}> |
|
|
|
|
<Link href='#' d='flex' alignItems='center' fontWeight={600} color='gray.500'> |
|
|
|
|
<Image mr='7px' w='22px' src='https://github.com/kamranahmedse.png' /> |
|
|
|
|
Kamran Ahmed |
|
|
|
|
</Link> |
|
|
|
|
<Text mx='7px' color='gray.500' as='span'>·</Text> |
|
|
|
|
<Text color='gray.500' as='span'>Monday, May 4, 2021</Text> |
|
|
|
|
<Text mx='7px' color='gray.500' as='span'>·</Text> |
|
|
|
|
<Link color='blue.500' fontWeight={500} href='#'>Improve this Guide</Link> |
|
|
|
|
<Text d={['none', 'none', 'inline']} mx='7px' color='gray.500' as='span'>·</Text> |
|
|
|
|
<Link d={['none', 'none', 'inline']} color='blue.500' fontWeight={500} href='#'>Improve this Guide</Link> |
|
|
|
|
</Flex> |
|
|
|
|
<Heading as='h1' color='black' fontSize='45px' fontWeight={700} my='10px'>{title}</Heading> |
|
|
|
|
<Text fontSize='16px' color='gray.700'>{subtitle}</Text> |
|
|
|
|
<Heading as='h1' color='black' fontSize={['30px', '30px', '45px']} lineHeight={['40px', '40px', '53px']} |
|
|
|
|
fontWeight={700} my={['5px', '5px', '10px']}>{title}</Heading> |
|
|
|
|
<Text fontSize={['14px', '14px', '16px']} color='gray.700'>{subtitle}</Text> |
|
|
|
|
</Container> |
|
|
|
|
</Box> |
|
|
|
|
); |
|
|
|
|