Update meta script

pull/1657/head
Kamran Ahmed 5 years ago
parent d55f2b847f
commit 7c33335b65
  1. 4
      components/roadmap-summary/index.js
  2. 3
      package.json
  3. 36
      static/sitemap.xml
  4. 40
      storage/roadmaps.json
  5. 0
      storage/roadmaps/4-fullstack/landscape/1-Junior.md
  6. 0
      storage/roadmaps/4-fullstack/landscape/2-Intermediate.md
  7. 0
      storage/roadmaps/4-fullstack/landscape/3-Senior.md
  8. 0
      storage/roadmaps/5-qa/landscape/1-Junior.md
  9. 0
      storage/roadmaps/5-qa/landscape/2-Intermediate.md
  10. 0
      storage/roadmaps/5-qa/landscape/3-Senior.md

@ -3,7 +3,6 @@ import { faArrowLeft, faClock, faEnvelope, faHandshake } from '@fortawesome/free
import { Description, Header, Summary, SummaryContainer, Title, VersionList } from './style';
import SharePage from 'components/share-page';
import { BadgeLink, BadgesList, DarkBadge, PrimaryBadge, SecondaryBadge } from 'components/badges';
import GuideBody from 'components/guide-body';
import siteConfig from "storage/site";
import MdRenderer from '../md-renderer';
@ -15,7 +14,6 @@ const RoadmapSummary = ({ roadmap }) => {
<Header>
<Title>{ roadmap.title }</Title>
<Description>{ roadmap.description }</Description>
<BadgesList className="mt-4">
<BadgeLink href="/roadmaps">
<DarkBadge>
@ -60,7 +58,7 @@ const RoadmapSummary = ({ roadmap }) => {
}
{
!roadmap.upcoming && (
<div className="container">
<div className="container text-left">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aut beatae blanditiis commodi, consequatur, dicta distinctio esse et id, ipsa labore libero nisi odit placeat possimus saepe sed vel vitae voluptate?</p>
<SharePage title={ roadmap.description } url={ roadmap.url } />
</div>

@ -11,7 +11,8 @@
"test": "jest",
"test:watch": "jest --watch",
"meta:sitemap": "node scripts/sitemap.js",
"meta:roadmaps": "node scripts/roadmaps-meta.js"
"meta:roadmaps": "node scripts/roadmaps-meta.js",
"meta": "yarn meta:roadmaps && yarn meta:sitemap"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.22",

@ -126,48 +126,12 @@
<lastmod>2019-11-27T20:14:37.663Z</lastmod>
<priority>1.0</priority>
</url>
<url>
<loc>https://roadmap.sh/fullstack/junior</loc>
<changefreq>monthly</changefreq>
<lastmod>2019-11-25T16:18:18.000Z</lastmod>
<priority>1.0</priority>
</url>
<url>
<loc>https://roadmap.sh/fullstack/intermediate</loc>
<changefreq>monthly</changefreq>
<lastmod>2019-11-25T16:18:18.000Z</lastmod>
<priority>1.0</priority>
</url>
<url>
<loc>https://roadmap.sh/fullstack/senior</loc>
<changefreq>monthly</changefreq>
<lastmod>2019-11-25T16:18:18.000Z</lastmod>
<priority>1.0</priority>
</url>
<url>
<loc>https://roadmap.sh/qa</loc>
<changefreq>monthly</changefreq>
<lastmod>2019-11-27T20:14:50.558Z</lastmod>
<priority>1.0</priority>
</url>
<url>
<loc>https://roadmap.sh/qa/junior</loc>
<changefreq>monthly</changefreq>
<lastmod>2019-11-25T16:18:18.000Z</lastmod>
<priority>1.0</priority>
</url>
<url>
<loc>https://roadmap.sh/qa/intermediate</loc>
<changefreq>monthly</changefreq>
<lastmod>2019-11-25T16:18:18.000Z</lastmod>
<priority>1.0</priority>
</url>
<url>
<loc>https://roadmap.sh/qa/senior</loc>
<changefreq>monthly</changefreq>
<lastmod>2019-11-25T16:18:18.000Z</lastmod>
<priority>1.0</priority>
</url>
<url>
<loc>https://roadmap.sh/guides/design-patterns-for-humans</loc>
<changefreq>monthly</changefreq>

@ -139,25 +139,7 @@
"upcoming": true,
"url": "/fullstack",
"path": "/roadmaps/4-fullstack/summary.md",
"sidebar": {
"landscape": [
{
"url": "/fullstack/junior",
"title": "Junior",
"path": "/roadmaps/4-fullstack/landscape/1-Junior.md"
},
{
"url": "/fullstack/intermediate",
"title": "Intermediate",
"path": "/roadmaps/4-fullstack/landscape/2-Intermediate.md"
},
{
"url": "/fullstack/senior",
"title": "Senior",
"path": "/roadmaps/4-fullstack/landscape/3-Senior.md"
}
]
}
"sidebar": {}
},
{
"title": "QA Engineer",
@ -166,24 +148,6 @@
"upcoming": true,
"url": "/qa",
"path": "/roadmaps/5-qa/summary.md",
"sidebar": {
"landscape": [
{
"url": "/qa/junior",
"title": "Junior",
"path": "/roadmaps/5-qa/landscape/1-Junior.md"
},
{
"url": "/qa/intermediate",
"title": "Intermediate",
"path": "/roadmaps/5-qa/landscape/2-Intermediate.md"
},
{
"url": "/qa/senior",
"title": "Senior",
"path": "/roadmaps/5-qa/landscape/3-Senior.md"
}
]
}
"sidebar": {}
}
]
Loading…
Cancel
Save