Fix responsiveness issues
This commit is contained in:
@ -87,7 +87,7 @@ function MobileMenuLinks() {
|
|||||||
|
|
||||||
export function GlobalHeader() {
|
export function GlobalHeader() {
|
||||||
return (
|
return (
|
||||||
<Box bg='gray.900' p='20px 0'>
|
<Box bg='gray.900' p='58px 0 20px'>
|
||||||
<Container maxW='container.md'>
|
<Container maxW='container.md'>
|
||||||
<Flex justifyContent='space-between' alignItems='center'>
|
<Flex justifyContent='space-between' alignItems='center'>
|
||||||
<Box>
|
<Box>
|
||||||
|
@ -16,13 +16,13 @@ export function PageHeader(props: PageHeaderProps) {
|
|||||||
<Heading
|
<Heading
|
||||||
as='h1'
|
as='h1'
|
||||||
color='black'
|
color='black'
|
||||||
fontSize={['33px', '33px', '40px']}
|
fontSize={['28px', '33px', '40px']}
|
||||||
fontWeight={700}
|
fontWeight={700}
|
||||||
mb={['2px', '2px', '5px']}
|
mb={['2px', '2px', '5px']}
|
||||||
>
|
>
|
||||||
{title}
|
{title}
|
||||||
</Heading>
|
</Heading>
|
||||||
<Text fontSize={['14px', '14px', '15px']}>{subtitle}</Text>
|
<Text fontSize={['13px', '14px', '15px']}>{subtitle}</Text>
|
||||||
</Container>
|
</Container>
|
||||||
|
|
||||||
{children && (
|
{children && (
|
||||||
|
@ -8,10 +8,17 @@ export function StickyBanner() {
|
|||||||
href={siteConfig.url.youtube}
|
href={siteConfig.url.youtube}
|
||||||
bg={'yellow.300'}
|
bg={'yellow.300'}
|
||||||
color='gray.900'
|
color='gray.900'
|
||||||
|
// bg={'teal.900'}
|
||||||
|
// color='gray.300'
|
||||||
alignItems='center'
|
alignItems='center'
|
||||||
|
position='fixed'
|
||||||
|
left={0}
|
||||||
|
right={0}
|
||||||
|
zIndex={999}
|
||||||
justifyContent='center'
|
justifyContent='center'
|
||||||
py='7px'
|
py='8px'
|
||||||
_hover={{ textDecoration: 'none', bg: 'yellow.400', }}
|
_hover={{ textDecoration: 'none', bg: 'yellow.400' }}
|
||||||
|
// _hover={{ textDecoration: 'none', bg: 'teal.800', color: 'gray.100' }}
|
||||||
target='_blank'
|
target='_blank'
|
||||||
>
|
>
|
||||||
<YouTubeLogo style={{ height: '20px', display: 'inline-block', marginRight: '7px' }} />
|
<YouTubeLogo style={{ height: '20px', display: 'inline-block', marginRight: '7px' }} />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { Box, Button, Container, Link, Stack } from '@chakra-ui/react';
|
import { Box, Button, Text, Container, Link, Stack } from '@chakra-ui/react';
|
||||||
import { ArrowBackIcon, AtSignIcon, DownloadIcon } from '@chakra-ui/icons';
|
import { ArrowBackIcon, AtSignIcon, DownloadIcon } from '@chakra-ui/icons';
|
||||||
import { GlobalHeader } from '../../components/global-header';
|
import { GlobalHeader } from '../../components/global-header';
|
||||||
import { OpensourceBanner } from '../../components/opensource-banner';
|
import { OpensourceBanner } from '../../components/opensource-banner';
|
||||||
@ -64,10 +64,9 @@ export default function Roadmap(props: RoadmapProps) {
|
|||||||
subtitle={roadmap.description}
|
subtitle={roadmap.description}
|
||||||
>
|
>
|
||||||
<Stack mt='20px' isInline>
|
<Stack mt='20px' isInline>
|
||||||
<Button d={['none', 'flex']} as={Link} href={'/roadmaps'} size='xs' py='14px' px='10px'
|
<Button d={['flex', 'flex']} as={Link} href={'/roadmaps'} size='xs' py='14px' px='10px'
|
||||||
leftIcon={<ArrowBackIcon />}
|
|
||||||
colorScheme='teal' variant='solid' _hover={{ textDecoration: 'none' }}>
|
colorScheme='teal' variant='solid' _hover={{ textDecoration: 'none' }}>
|
||||||
All Roadmaps
|
← <Text as='span' d={['none', 'inline']} ml='5px'>All Roadmaps</Text>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
{roadmap.pdfUrl && (
|
{roadmap.pdfUrl && (
|
||||||
@ -81,7 +80,7 @@ export default function Roadmap(props: RoadmapProps) {
|
|||||||
colorScheme='yellow'
|
colorScheme='yellow'
|
||||||
variant='solid'
|
variant='solid'
|
||||||
_hover={{ textDecoration: 'none' }}>
|
_hover={{ textDecoration: 'none' }}>
|
||||||
Download PDF
|
Download
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
<Button as={Link} href={'/signup'} size='xs' py='14px' px='10px' leftIcon={<AtSignIcon />}
|
<Button as={Link} href={'/signup'} size='xs' py='14px' px='10px' leftIcon={<AtSignIcon />}
|
||||||
|
Reference in New Issue
Block a user