Skip to content

remove careers.substrate links #2152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**
Expand Down
6 changes: 1 addition & 5 deletions config/menus.js
Original file line number Diff line number Diff line change
@@ -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 */
Expand Down Expand Up @@ -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 = [
Expand Down
3 changes: 1 addition & 2 deletions config/siteMetadata.js
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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',
Expand Down
2 changes: 0 additions & 2 deletions config/webConsts.js
Original file line number Diff line number Diff line change
@@ -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,
};
1 change: 0 additions & 1 deletion content/locales/en/menus.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion example.env.development
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
# GATSBY_WEBSITE_URL=http://localhost:8100
# GATSBY_DOCS_URL=http://localhost:8200
# GATSBY_CAREERS_URL=https://careers.substrate.io
1 change: 0 additions & 1 deletion example.env.production
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
# GATSBY_WEBSITE_URL=http://localhost:8100
# GATSBY_DOCS_URL=http://localhost:8200
# GATSBY_CAREERS_URL=https://careers.substrate.io
Loading