computer-scienceangular-roadmapbackend-roadmapblockchain-roadmapdba-roadmapdeveloper-roadmapdevops-roadmapfrontend-roadmapgo-roadmaphactoberfestjava-roadmapjavascript-roadmapnodejs-roadmappython-roadmapqa-roadmapreact-roadmaproadmapstudy-planvue-roadmapweb3-roadmap
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.9 KiB
61 lines
1.9 KiB
3 years ago
|
import { Box, Container, SimpleGrid } from '@chakra-ui/react';
|
||
3 years ago
|
import { GlobalHeader } from '../components/global-header';
|
||
|
import { OpensourceBanner } from '../components/opensource-banner';
|
||
|
import { UpdatesBanner } from '../components/updates-banner';
|
||
|
import { Footer } from '../components/footer';
|
||
|
import { PageHeader } from '../components/page-header';
|
||
|
import { RoadmapGridItem } from '../components/roadmap/roadmap-grid-item';
|
||
|
import { getAllRoadmaps, RoadmapType } from '../lib/roadmap';
|
||
|
import Helmet from '../components/helmet';
|
||
3 years ago
|
|
||
|
type RoadmapsProps = {
|
||
|
roadmaps: RoadmapType[];
|
||
|
};
|
||
|
|
||
|
export default function Roadmaps(props: RoadmapsProps) {
|
||
|
const { roadmaps } = props;
|
||
3 years ago
|
|
||
3 years ago
|
return (
|
||
3 years ago
|
<Box bg='white' minH='100vh'>
|
||
3 years ago
|
<GlobalHeader />
|
||
3 years ago
|
<Helmet
|
||
|
title={'Developer Roadmaps'}
|
||
|
description={'Step by step guides and paths to learn different tools or technologies'}
|
||
|
/>
|
||
3 years ago
|
<Box mb='60px'>
|
||
|
<PageHeader
|
||
|
title={'Developer Roadmaps'}
|
||
|
subtitle={'Step by step guides and paths to learn different tools or technologies'}
|
||
|
/>
|
||
|
<Container maxW='container.md' position='relative'>
|
||
3 years ago
|
<SimpleGrid columns={[1, 1, 2, 2]} mb='30px' spacing={['10px', '10px', '15px']}>
|
||
3 years ago
|
{roadmaps.map((roadmap, counter) => (
|
||
|
<RoadmapGridItem
|
||
|
key={roadmap.id}
|
||
|
href={`/${roadmap.id}`}
|
||
|
colorIndex={counter}
|
||
|
title={roadmap.featuredTitle}
|
||
|
subtitle={roadmap.description}
|
||
|
isCommunity={roadmap.isCommunity}
|
||
|
isUpcoming={roadmap.isUpcoming}
|
||
|
/>
|
||
|
))}
|
||
3 years ago
|
</SimpleGrid>
|
||
|
</Container>
|
||
|
</Box>
|
||
|
|
||
|
<OpensourceBanner />
|
||
|
<UpdatesBanner />
|
||
|
<Footer />
|
||
|
</Box>
|
||
3 years ago
|
);
|
||
|
}
|
||
3 years ago
|
|
||
|
export async function getStaticProps() {
|
||
|
return {
|
||
|
props: {
|
||
|
roadmaps: getAllRoadmaps()
|
||
|
}
|
||
|
};
|
||
|
}
|