diff --git a/README.md b/README.md index e8bcd06e2..971c4ac88 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,6 @@ Default localhost port configuration: ```env GATSBY_WEBSITE_URL=http://localhost:8100 GATSBY_DOCS_URL=http://localhost:8200 -GATSBY_MARKETPLACE_URL=http://localhost:8300 GATSBY_CAREERS_URL=https://careers.substrate.io ``` diff --git a/config/menus.js b/config/menus.js index 38f84a0a5..a7faa1384 100644 --- a/config/menus.js +++ b/config/menus.js @@ -1,4 +1,4 @@ -const { MARKETPLACE_URL, WEBSITE_URL, CAREERS_URL } = require('./webConsts.js'); +const { WEBSITE_URL, CAREERS_URL } = require('./webConsts.js'); /* the main menu, ids of items must match the submenu's key of this js object */ @@ -58,10 +58,6 @@ const developers = [ url: 'https://paritytech.github.io/substrate/master/sc_service/', id: 'developers.rustdocs', }, - { - url: MARKETPLACE_URL, - id: 'developers.marketplace', - }, { url: WEBSITE_URL + '/developers/smart-contracts/', id: 'developers.smart-contracts', diff --git a/config/siteMetadata.js b/config/siteMetadata.js index 6b2ca8a85..4a09c6e2b 100644 --- a/config/siteMetadata.js +++ b/config/siteMetadata.js @@ -1,5 +1,5 @@ const menus = require('./menus.js'); -const { WEBSITE_URL, DOCS_URL, MARKETPLACE_URL, CAREERS_URL } = require('./webConsts.js'); +const { WEBSITE_URL, DOCS_URL, CAREERS_URL } = require('./webConsts.js'); module.exports = { menus, @@ -10,7 +10,6 @@ module.exports = { siteUrl: DOCS_URL, websiteUrl: WEBSITE_URL, docsUrl: DOCS_URL, - marketplaceUrl: MARKETPLACE_URL, careersUrl: CAREERS_URL, author: 'Parity WebDev/W3F WebOps', pressEmail: 'press@parity.io', diff --git a/config/webConsts.js b/config/webConsts.js index 577ba7830..2db4ea306 100644 --- a/config/webConsts.js +++ b/config/webConsts.js @@ -1,11 +1,9 @@ const WEBSITE_URL = process.env.GATSBY_WEBSITE_URL; const DOCS_URL = process.env.GATSBY_DOCS_URL; -const MARKETPLACE_URL = process.env.GATSBY_MARKETPLACE_URL; const CAREERS_URL = process.env.GATSBY_CAREERS_URL; module.exports = { WEBSITE_URL, DOCS_URL, - MARKETPLACE_URL, CAREERS_URL, }; diff --git a/content/locales/en/menus.json b/content/locales/en/menus.json index c0997a77c..5f6748551 100644 --- a/content/locales/en/menus.json +++ b/content/locales/en/menus.json @@ -14,7 +14,6 @@ "developers.home": "Home", "developers.docs": "Docs", "developers.rustdocs": "Rust Docs", - "developers.marketplace": "Marketplace", "developers.smart-contracts": "Smart Contracts", "developers.substrate-connect": "Substrate Connect", "developers.rococo-network": "Rococo Network", diff --git a/example.env.development b/example.env.development index 92b603266..66cac48e7 100644 --- a/example.env.development +++ b/example.env.development @@ -1,4 +1,3 @@ # GATSBY_WEBSITE_URL=http://localhost:8100 # GATSBY_DOCS_URL=http://localhost:8200 -# GATSBY_MARKETPLACE_URL=http://localhost:8300 # GATSBY_CAREERS_URL=https://careers.substrate.io diff --git a/example.env.production b/example.env.production index 92b603266..66cac48e7 100644 --- a/example.env.production +++ b/example.env.production @@ -1,4 +1,3 @@ # GATSBY_WEBSITE_URL=http://localhost:8100 # GATSBY_DOCS_URL=http://localhost:8200 -# GATSBY_MARKETPLACE_URL=http://localhost:8300 # GATSBY_CAREERS_URL=https://careers.substrate.io