From 7c33335b655390c187835e6d6c2baf384ddf9cbe Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Sat, 30 Nov 2019 00:43:29 +0400 Subject: [PATCH] Update meta script --- components/roadmap-summary/index.js | 4 +- package.json | 3 +- static/sitemap.xml | 36 ----------------- storage/roadmaps.json | 40 +------------------ .../4-fullstack/landscape/1-Junior.md | 0 .../4-fullstack/landscape/2-Intermediate.md | 0 .../4-fullstack/landscape/3-Senior.md | 0 storage/roadmaps/5-qa/landscape/1-Junior.md | 0 .../roadmaps/5-qa/landscape/2-Intermediate.md | 0 storage/roadmaps/5-qa/landscape/3-Senior.md | 0 10 files changed, 5 insertions(+), 78 deletions(-) delete mode 100644 storage/roadmaps/4-fullstack/landscape/1-Junior.md delete mode 100644 storage/roadmaps/4-fullstack/landscape/2-Intermediate.md delete mode 100644 storage/roadmaps/4-fullstack/landscape/3-Senior.md delete mode 100644 storage/roadmaps/5-qa/landscape/1-Junior.md delete mode 100644 storage/roadmaps/5-qa/landscape/2-Intermediate.md delete mode 100644 storage/roadmaps/5-qa/landscape/3-Senior.md diff --git a/components/roadmap-summary/index.js b/components/roadmap-summary/index.js index 4329084b7..c7228e61b 100644 --- a/components/roadmap-summary/index.js +++ b/components/roadmap-summary/index.js @@ -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 }) => {
{ roadmap.title } { roadmap.description } - @@ -60,7 +58,7 @@ const RoadmapSummary = ({ roadmap }) => { } { !roadmap.upcoming && ( -
+

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?

diff --git a/package.json b/package.json index 7ca085a45..37315e942 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/static/sitemap.xml b/static/sitemap.xml index 046a8c828..8b4a9dde6 100644 --- a/static/sitemap.xml +++ b/static/sitemap.xml @@ -126,48 +126,12 @@ 2019-11-27T20:14:37.663Z 1.0 - - https://roadmap.sh/fullstack/junior - monthly - 2019-11-25T16:18:18.000Z - 1.0 - - - https://roadmap.sh/fullstack/intermediate - monthly - 2019-11-25T16:18:18.000Z - 1.0 - - - https://roadmap.sh/fullstack/senior - monthly - 2019-11-25T16:18:18.000Z - 1.0 - https://roadmap.sh/qa monthly 2019-11-27T20:14:50.558Z 1.0 - - https://roadmap.sh/qa/junior - monthly - 2019-11-25T16:18:18.000Z - 1.0 - - - https://roadmap.sh/qa/intermediate - monthly - 2019-11-25T16:18:18.000Z - 1.0 - - - https://roadmap.sh/qa/senior - monthly - 2019-11-25T16:18:18.000Z - 1.0 - https://roadmap.sh/guides/design-patterns-for-humans monthly diff --git a/storage/roadmaps.json b/storage/roadmaps.json index bdf4b84df..d9458450c 100644 --- a/storage/roadmaps.json +++ b/storage/roadmaps.json @@ -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": {} } ] \ No newline at end of file diff --git a/storage/roadmaps/4-fullstack/landscape/1-Junior.md b/storage/roadmaps/4-fullstack/landscape/1-Junior.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/storage/roadmaps/4-fullstack/landscape/2-Intermediate.md b/storage/roadmaps/4-fullstack/landscape/2-Intermediate.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/storage/roadmaps/4-fullstack/landscape/3-Senior.md b/storage/roadmaps/4-fullstack/landscape/3-Senior.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/storage/roadmaps/5-qa/landscape/1-Junior.md b/storage/roadmaps/5-qa/landscape/1-Junior.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/storage/roadmaps/5-qa/landscape/2-Intermediate.md b/storage/roadmaps/5-qa/landscape/2-Intermediate.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/storage/roadmaps/5-qa/landscape/3-Senior.md b/storage/roadmaps/5-qa/landscape/3-Senior.md deleted file mode 100644 index e69de29bb..000000000