Skip to content

Commit caf56ab

Browse files
authored
Move careers off-site to PeopleForce (#636)
* Move careers off-site to PeopleForce Job listings now live at thingsboard.peopleforce.io/careers. The nav and company-page links point there directly (new tab, external-link policy), and /careers/ plus /careers/* 301 to the same URL at the edge. Deletes the careers landing, job pages, section components, jobs data, OG endpoint and images; drops careers from section labels, the OG allowlist and prefix rules, sitemap source rules and the promo-banner page-id list. * Enumerate the careers redirects and label external submenu links The careers URL set was never a pattern — the site only ever served the landing and one job page — so both redirect as static edge rules and the dynamic-splat slot is freed (47/100 used). SubMenuLink now derives a new-tab aria-label for any external entry, so the Careers and TBMQ items announce their destination like the other off-site anchors do. Also drops stale careers mentions from CLAUDE.md's OG endpoint list and the linkcheck noindex-examples comment.
1 parent ae7cbd5 commit caf56ab

46 files changed

Lines changed: 33 additions & 1249 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ Per-page OG cards (1200×630 PNG) are generated at build time by Satori + Resvg.
225225
- `src/pages/open-graph/_shared/render.ts` — Satori → Resvg pipeline + content-hash cache
226226
- `src/pages/open-graph/_shared/page-data.ts` — collection enumerators
227227
- `src/pages/open-graph/_shared/jsx-runtime.ts` — minimal Satori-shaped JSX shim (no React)
228-
- `src/pages/open-graph/{collection}/[…].png.ts` — static endpoints (docs, blog, case-studies, use-cases, careers, iot-hub, partners, pages)
228+
- `src/pages/open-graph/{collection}/[…].png.ts` — static endpoints (docs, blog, case-studies, use-cases, iot-hub, partners, pages)
229229
- `src/util/ogContext.ts` — eyebrow / label helpers + `MARKETING_ALLOWLIST`
230230
- `src/util/getOgImageUrl.ts` — pathname → OG PNG URL aggregator
231231

config/sitemap/source-resolve.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ const SITEMAP_DATA_RULES: { re: RegExp; file: (m: RegExpMatchArray) => string }[
2323
{ re: /^\/use-cases\/([^/]+)\/$/, file: (m) => `src/data/use-cases/${m[1]}.ts` },
2424
{ re: /^\/case-studies\/([^/]+)\/$/, file: (m) => `src/data/case-studies/${m[1]}.ts` },
2525
{ re: /^\/blog\/(.+)\/$/, file: (m) => `src/content/blog/${m[1]}.mdx` },
26-
// Careers detail pages all live in one aggregated data file.
27-
{ re: /^\/careers\/([^/]+)\/$/, file: () => `src/data/careers/jobs.ts` },
2826
{ re: /^\/clients-feedback\/$/, file: () => `src/data/clients-feedback/index.ts` },
2927
// Release-notes table: per-version notes include (globbed, so scanner-blind).
3028
{

public/_redirects

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,6 +1086,8 @@
10861086
/installations/forever-free-cloud/ /installations/choose-region/ 301
10871087
/iot-use-cases/ /use-cases/ 301
10881088
/support-ukraine/ https://u24.gov.ua/ 301
1089+
/careers/ https://thingsboard.peopleforce.io/careers 301
1090+
/careers/middle-java-developer/ https://thingsboard.peopleforce.io/careers 301
10891091
/device-library/pe/tecmo-controls-t3e-6ct-and-hum-w1/ /iot-hub/devices/temco-controls-t3e-6ct-and-hum-w1/ 301
10901092
/device-library/pe/teltonika-rut-955-and-siemens-logo/ /iot-hub/devices/teltonika-rut955-and-siemens-logo/ 301
10911093
/device-library/ce/temco-controls-tstat-10/ /iot-hub/devices/temco-controls-tstat-10-and-hum-w1/ 301

public/images/careers/angular.svg

Lines changed: 0 additions & 22 deletions
This file was deleted.

public/images/careers/aws.svg

Lines changed: 0 additions & 37 deletions
This file was deleted.

public/images/careers/azure.svg

Lines changed: 0 additions & 20 deletions
This file was deleted.

public/images/careers/back_arrow.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)