|
|
@ -14,6 +14,7 @@ import { getAllVideos, VideoType } from '../lib/video'; |
|
|
|
import siteConfig from '../content/site.json'; |
|
|
|
import siteConfig from '../content/site.json'; |
|
|
|
import Helmet from '../components/helmet'; |
|
|
|
import Helmet from '../components/helmet'; |
|
|
|
import { event } from '../lib/gtag'; |
|
|
|
import { event } from '../lib/gtag'; |
|
|
|
|
|
|
|
import { PageWrapper } from '../components/page-wrapper'; |
|
|
|
|
|
|
|
|
|
|
|
type HomeProps = { |
|
|
|
type HomeProps = { |
|
|
|
roadmaps: RoadmapType[]; |
|
|
|
roadmaps: RoadmapType[]; |
|
|
@ -25,13 +26,13 @@ export default function Home(props: HomeProps) { |
|
|
|
const { roadmaps, guides, videos } = props; |
|
|
|
const { roadmaps, guides, videos } = props; |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<Box bg='white' minH='100vh'> |
|
|
|
<PageWrapper> |
|
|
|
<GlobalHeader /> |
|
|
|
<GlobalHeader variant={'transparent'} /> |
|
|
|
<Helmet title='Developer Roadmaps' /> |
|
|
|
<Helmet title='Developer Roadmaps' /> |
|
|
|
<Box> |
|
|
|
<Box> |
|
|
|
<Container maxW='container.md'> |
|
|
|
<Container maxW='container.md' pb='90px'> |
|
|
|
<Box py={['23px', '23px', '35px']}> |
|
|
|
<Box py={['23px', '23px', '35px']} color='gray.200' > |
|
|
|
<Heading fontSize={['22px', '22px', '28px']} mb={['8px', '8px', '15px']}>Hey there! 👋</Heading> |
|
|
|
<Heading color='gray.50' fontSize={['22px', '22px', '28px']} mb={['8px', '8px', '15px']}>Hey there! 👋</Heading> |
|
|
|
<Text fontSize={['14px', '14px', '16px']} mb='10px'> |
|
|
|
<Text fontSize={['14px', '14px', '16px']} mb='10px'> |
|
|
|
<Text fontWeight={500} as='span'>roadmap.sh</Text> is a community effort to create roadmaps, guides and |
|
|
|
<Text fontWeight={500} as='span'>roadmap.sh</Text> is a community effort to create roadmaps, guides and |
|
|
|
other educational content |
|
|
|
other educational content |
|
|
@ -49,7 +50,11 @@ export default function Home(props: HomeProps) { |
|
|
|
fontWeight={600}>YouTube |
|
|
|
fontWeight={600}>YouTube |
|
|
|
channel</Link> which we hope you are going to love.</Text> |
|
|
|
channel</Link> which we hope you are going to love.</Text> |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
|
<SimpleGrid columns={[1, 2, 3]} spacing={['10px', '10px', '15px']}> |
|
|
|
<SimpleGrid |
|
|
|
|
|
|
|
columns={[1, 2, 3]} |
|
|
|
|
|
|
|
spacing={['10px', '10px', '15px']} |
|
|
|
|
|
|
|
_hover={{ '& .home-roadmap-item': { opacity: '0.5'} }} |
|
|
|
|
|
|
|
> |
|
|
|
{roadmaps.map((roadmap: RoadmapType, counter: number) => ( |
|
|
|
{roadmaps.map((roadmap: RoadmapType, counter: number) => ( |
|
|
|
<HomeRoadmapItem |
|
|
|
<HomeRoadmapItem |
|
|
|
isUpcoming={roadmap.isUpcoming} |
|
|
|
isUpcoming={roadmap.isUpcoming} |
|
|
@ -65,9 +70,9 @@ export default function Home(props: HomeProps) { |
|
|
|
</Container> |
|
|
|
</Container> |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
|
|
|
|
|
|
|
|
|
<Box> |
|
|
|
<Box bg='white'> |
|
|
|
<Container maxW='container.md'> |
|
|
|
<Container maxW='container.md'> |
|
|
|
<Box pt='60px' mb={['10px', '15px', '20px']}> |
|
|
|
<Box pt='60px' mb={['10px', '15px', '20px']}> |
|
|
|
<Heading color='green.500' fontSize={['20px', '20px', '25px']} mb='5px'>Video Explanations</Heading> |
|
|
|
<Heading color='green.500' fontSize={['20px', '20px', '25px']} mb='5px'>Video Explanations</Heading> |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
|
|
|
|
|
|
|
|
@ -98,7 +103,7 @@ export default function Home(props: HomeProps) { |
|
|
|
</Container> |
|
|
|
</Container> |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
|
|
|
|
|
|
|
|
|
<Box mb='80px'> |
|
|
|
<Box pb='80px' bg='white'> |
|
|
|
<Container maxW='container.md' position='relative'> |
|
|
|
<Container maxW='container.md' position='relative'> |
|
|
|
<Box pt='40px' mb='20px'> |
|
|
|
<Box pt='40px' mb='20px'> |
|
|
|
<Heading color='green.500' fontSize='25px' mb='5px'>Visual Guides</Heading> |
|
|
|
<Heading color='green.500' fontSize='25px' mb='5px'>Visual Guides</Heading> |
|
|
@ -122,7 +127,7 @@ export default function Home(props: HomeProps) { |
|
|
|
<OpensourceBanner /> |
|
|
|
<OpensourceBanner /> |
|
|
|
<UpdatesBanner /> |
|
|
|
<UpdatesBanner /> |
|
|
|
<Footer /> |
|
|
|
<Footer /> |
|
|
|
</Box> |
|
|
|
</PageWrapper> |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|