Skip to content

feat(header): compact single-row nav with Capabilities dropdown + Request a Quote CTA - #11

Merged
diecasting merged 1 commit into
mainfrom
feat-header-navigation-refresh
Oct 14, 2026
Merged

diecasting merged 1 commit into
mainfrom
feat-header-navigation-refresh

Conversation

@diecasting

Copy link
Copy Markdown
Owner

Summary

Refreshes the site header into a compact, single-row desktop navigation and promotes Request a Quote to a prominent brand CTA.

  • Capabilities ▼ dropdown: the 5 process pages (Aluminum Die Casting, Magnesium Die Casting, Semi-Solid Rheocasting, CNC Machining, Die Casting Tooling) are grouped under one "Capabilities" parent with a real, keyboard/touch-accessible dropdown (tabindex=0 + focus-within reveal — not hover-only). No new/again-invented URLs; all destinations already exist.
  • Request a Quote CTA: rendered as a brand button (.hy-nav-cta) linking to the existing /contact/ destination, on both desktop and mobile.
  • Localized: all 7 language menu files updated consistently (de/es/fr/it/ja/ko use their own Capabilities label and /xx/ URL prefixes; CTA → /xx/contact/).
  • Single header row, no second utility bar (the subnavigation block is not configured).

Scope / safety

Verification (local build)

  • EN homepage: Capabilities nests the 5 process pages; Request A Quote → /contact/ (×2 desktop+mobile); single <header>, subnavigation=0.
  • DE homepage: /de/contact/ CTA (×2) + /de/... children; "Leistungen" label.

…uest a Quote CTA

- Group the 5 process pages (Aluminum/Magnesium Die Casting, Semi-Solid
  Rheocasting, CNC Machining, Tooling) under a single 'Capabilities' dropdown
  (real URLs, no invented pages) instead of 5 separate top-level items.
- Promote 'Request A Quote' to a prominent brand CTA button (.hy-nav-cta) that
  links to the existing /contact/ destination (desktop + mobile).
- Localized the 7-language menu files consistently (de/es/fr/it/ja/ko use their
  own Capabilities label and /xx/ URL prefixes; CTA -> /xx/contact/).
- Dropdowns are keyboard/touch accessible (tabindex=0 parent + focus-within
  reveal), not hover-only; single header row, no second utility bar.
- Adds the .hy-nav-cta CSS rules only; does NOT reintroduce the service-section
  shim that was removed by PR #9. No analytics/forms/DNS/showEdit changes.
@diecasting
diecasting merged commit da5b383 into main Oct 14, 2026
@diecasting
diecasting deleted the feat-header-navigation-refresh branch October 14, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant