Update meta script
This commit is contained in:
@ -3,7 +3,6 @@ import { faArrowLeft, faClock, faEnvelope, faHandshake } from '@fortawesome/free
|
|||||||
import { Description, Header, Summary, SummaryContainer, Title, VersionList } from './style';
|
import { Description, Header, Summary, SummaryContainer, Title, VersionList } from './style';
|
||||||
import SharePage from 'components/share-page';
|
import SharePage from 'components/share-page';
|
||||||
import { BadgeLink, BadgesList, DarkBadge, PrimaryBadge, SecondaryBadge } from 'components/badges';
|
import { BadgeLink, BadgesList, DarkBadge, PrimaryBadge, SecondaryBadge } from 'components/badges';
|
||||||
import GuideBody from 'components/guide-body';
|
|
||||||
import siteConfig from "storage/site";
|
import siteConfig from "storage/site";
|
||||||
import MdRenderer from '../md-renderer';
|
import MdRenderer from '../md-renderer';
|
||||||
|
|
||||||
@ -15,7 +14,6 @@ const RoadmapSummary = ({ roadmap }) => {
|
|||||||
<Header>
|
<Header>
|
||||||
<Title>{ roadmap.title }</Title>
|
<Title>{ roadmap.title }</Title>
|
||||||
<Description>{ roadmap.description }</Description>
|
<Description>{ roadmap.description }</Description>
|
||||||
|
|
||||||
<BadgesList className="mt-4">
|
<BadgesList className="mt-4">
|
||||||
<BadgeLink href="/roadmaps">
|
<BadgeLink href="/roadmaps">
|
||||||
<DarkBadge>
|
<DarkBadge>
|
||||||
@ -60,7 +58,7 @@ const RoadmapSummary = ({ roadmap }) => {
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
!roadmap.upcoming && (
|
!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>
|
<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 } />
|
<SharePage title={ roadmap.description } url={ roadmap.url } />
|
||||||
</div>
|
</div>
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
"test": "jest",
|
"test": "jest",
|
||||||
"test:watch": "jest --watch",
|
"test:watch": "jest --watch",
|
||||||
"meta:sitemap": "node scripts/sitemap.js",
|
"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": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-svg-core": "^1.2.22",
|
"@fortawesome/fontawesome-svg-core": "^1.2.22",
|
||||||
|
@ -126,48 +126,12 @@
|
|||||||
<lastmod>2019-11-27T20:14:37.663Z</lastmod>
|
<lastmod>2019-11-27T20:14:37.663Z</lastmod>
|
||||||
<priority>1.0</priority>
|
<priority>1.0</priority>
|
||||||
</url>
|
</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>
|
<url>
|
||||||
<loc>https://roadmap.sh/qa</loc>
|
<loc>https://roadmap.sh/qa</loc>
|
||||||
<changefreq>monthly</changefreq>
|
<changefreq>monthly</changefreq>
|
||||||
<lastmod>2019-11-27T20:14:50.558Z</lastmod>
|
<lastmod>2019-11-27T20:14:50.558Z</lastmod>
|
||||||
<priority>1.0</priority>
|
<priority>1.0</priority>
|
||||||
</url>
|
</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>
|
<url>
|
||||||
<loc>https://roadmap.sh/guides/design-patterns-for-humans</loc>
|
<loc>https://roadmap.sh/guides/design-patterns-for-humans</loc>
|
||||||
<changefreq>monthly</changefreq>
|
<changefreq>monthly</changefreq>
|
||||||
|
@ -139,25 +139,7 @@
|
|||||||
"upcoming": true,
|
"upcoming": true,
|
||||||
"url": "/fullstack",
|
"url": "/fullstack",
|
||||||
"path": "/roadmaps/4-fullstack/summary.md",
|
"path": "/roadmaps/4-fullstack/summary.md",
|
||||||
"sidebar": {
|
"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"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "QA Engineer",
|
"title": "QA Engineer",
|
||||||
@ -166,24 +148,6 @@
|
|||||||
"upcoming": true,
|
"upcoming": true,
|
||||||
"url": "/qa",
|
"url": "/qa",
|
||||||
"path": "/roadmaps/5-qa/summary.md",
|
"path": "/roadmaps/5-qa/summary.md",
|
||||||
"sidebar": {
|
"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"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
Reference in New Issue
Block a user