feat(seo): fix titles, canonicals, share tags and soft 404s
CI/CD / test-and-build (pull_request) Canceled after 0s
CI/CD / deploy (pull_request) Canceled after 0s

- Titles carried the brand twice (page title plus layout template) and Pudu
  items read "Pudu PUDU". Pages now go through pageMetadata() and displayName().
- /configure, /privacy-policy and /terms-of-service reused the homepage title.
- Eight pages had no canonical and inherited the homepage og:url.
- Unknown /robots, /accessories and /industries slugs returned 200; they are
  now a real 404 (dynamicParams = false) with a not-found page.
- Events, Smart Buildings and Government have no page content yet and rendered
  not-found: moved to UPCOMING_INDUSTRIES until it is written.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Najjar\NajjarV02
2026-10-13 16:57:18 +04:00
co-authored by Claude Opus 5.5
parent 6f6536db7c
commit 8382501598
19 changed files with 261 additions and 73 deletions
+6
View File
@@ -119,6 +119,12 @@ export const INDUSTRIES: Industry[] = [
image: '/industries/cards/warehouses-logistics.webp',
imageAlt: 'Industrial robot for UAE warehouses and logistics operations',
},
];
// Sectors with no detail page content yet (no entry in INDUSTRY_PAGES). They are
// kept out of INDUSTRIES so no card, sitemap entry or route points at an empty
// page. Move an entry back up once its content is written.
export const UPCOMING_INDUSTRIES: Industry[] = [
{
id: 'events',
slug: 'events',