Add resources link in SSG

This commit is contained in:
Kamran Ahmed
2020-03-03 00:18:32 +04:00
parent 9dfbceda7c
commit 56e2108be2
2 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<div class='alert alert-primary' style={{ marginBottom: '-10px'}}>
<div className='alert alert-primary' style={{ marginBottom: '-10px'}}>
This page is incomplete and is being worked upon. Please check back later or <a href='/signup'>subscribe</a> / <a href='https://twitter.com/kamranahmedse'>follow me on twitter</a> to get notified. Also, feel free to contribute by suggesting the resources in <a href='https://github.com/kamranahmedse/developer-roadmap'>the issues</a>.
</div>

View File

@ -73,6 +73,10 @@ const getRoadmapRoutes = () => {
page: '/[roadmap]',
query: roadmap.url.replace(/\/+/, ''),
},
[`${roadmap.url}/resources`]: {
page: '/[roadmap]/resources',
query: roadmap.url.replace(/\/+/, ''),
},
// Routes for all the pages inside this directory
...pages.reduce((pageRoutes, page) => {
return {