Add resources link in SSG
This commit is contained in:
@ -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>
|
||||
|
||||
|
@ -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 {
|
||||
|
Reference in New Issue
Block a user