From 2bd988e686531c7a3613d12089e6e4f1d5a89681 Mon Sep 17 00:00:00 2001 From: Carina Robinson Date: Tue, 14 May 2024 10:52:21 +0700 Subject: [PATCH 1/2] remove careers.substrate links --- config/menus.js | 6 +----- config/siteMetadata.js | 3 +-- config/webConsts.js | 2 -- content/locales/en/menus.json | 1 - example.env.development | 1 - example.env.production | 1 - 6 files changed, 2 insertions(+), 12 deletions(-) diff --git a/config/menus.js b/config/menus.js index a7faa1384..9bde95b39 100644 --- a/config/menus.js +++ b/config/menus.js @@ -1,4 +1,4 @@ -const { WEBSITE_URL, CAREERS_URL } = require('./webConsts.js'); +const { WEBSITE_URL } = require('./webConsts.js'); /* the main menu, ids of items must match the submenu's key of this js object */ @@ -124,10 +124,6 @@ const opportunities = [ url: WEBSITE_URL + '/ecosystem/opportunities/grants', id: 'ecosystem.opportunities.grants', }, - { - url: CAREERS_URL, - id: 'ecosystem.opportunities.careers', - }, ]; const resources = [ diff --git a/config/siteMetadata.js b/config/siteMetadata.js index 4a09c6e2b..9e090d5b3 100644 --- a/config/siteMetadata.js +++ b/config/siteMetadata.js @@ -1,5 +1,5 @@ const menus = require('./menus.js'); -const { WEBSITE_URL, DOCS_URL, CAREERS_URL } = require('./webConsts.js'); +const { WEBSITE_URL, DOCS_URL } = require('./webConsts.js'); module.exports = { menus, @@ -10,7 +10,6 @@ module.exports = { siteUrl: DOCS_URL, websiteUrl: WEBSITE_URL, docsUrl: DOCS_URL, - careersUrl: CAREERS_URL, author: 'Parity WebDev/W3F WebOps', pressEmail: 'press@parity.io', email: 'info@parity.io', diff --git a/config/webConsts.js b/config/webConsts.js index 2db4ea306..014af96c5 100644 --- a/config/webConsts.js +++ b/config/webConsts.js @@ -1,9 +1,7 @@ const WEBSITE_URL = process.env.GATSBY_WEBSITE_URL; const DOCS_URL = process.env.GATSBY_DOCS_URL; -const CAREERS_URL = process.env.GATSBY_CAREERS_URL; module.exports = { WEBSITE_URL, DOCS_URL, - CAREERS_URL, }; diff --git a/content/locales/en/menus.json b/content/locales/en/menus.json index 5f6748551..2e668276f 100644 --- a/content/locales/en/menus.json +++ b/content/locales/en/menus.json @@ -30,7 +30,6 @@ "ecosystem.opportunities.hackathons": "Hackathons", "ecosystem.opportunities.grants": "Grants", - "ecosystem.opportunities.careers": "Careers", "ecosystem.resources.seminar": "Substrate Seminar", "ecosystem.resources.past-seminars": "Past Seminars", diff --git a/example.env.development b/example.env.development index 66cac48e7..ee31fa503 100644 --- a/example.env.development +++ b/example.env.development @@ -1,3 +1,2 @@ # GATSBY_WEBSITE_URL=http://localhost:8100 # GATSBY_DOCS_URL=http://localhost:8200 -# GATSBY_CAREERS_URL=https://careers.substrate.io diff --git a/example.env.production b/example.env.production index 66cac48e7..ee31fa503 100644 --- a/example.env.production +++ b/example.env.production @@ -1,3 +1,2 @@ # GATSBY_WEBSITE_URL=http://localhost:8100 # GATSBY_DOCS_URL=http://localhost:8200 -# GATSBY_CAREERS_URL=https://careers.substrate.io From 6dbe7d2d51062daa8f6f459ed0e3d0870f7dde79 Mon Sep 17 00:00:00 2001 From: Carina Robinson Date: Tue, 14 May 2024 20:44:25 +0700 Subject: [PATCH 2/2] remove from readme --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 971c4ac88..d55cbc7b1 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_CAREERS_URL=https://careers.substrate.io ``` **Start development server**