From 4df63eccbb38157bb2b99a6ed878dc59dd72d613 Mon Sep 17 00:00:00 2001 From: sumitshinde-84 Date: Fri, 13 Nov 2026 14:15:51 +0530 Subject: [PATCH 01/35] Rework header and footer navigation Header: each page appears once. Pricing, Industrial AI and the security, support and status duplicates are out of the dropdowns. Use-case pages move from Platform > Capabilities into Solutions > By Use Case, so Platform is products and components and Solutions is team, industry and use case. Adds Aviation & Aerospace, Free templates and Build with us, clearer labels, and one-line descriptions under Edge, Hub and Fleet. Footer: its own list instead of a copy of the mega nav. Adds comparison pages, Node-RED and protocol pages, free templates, and a trust and support column; newsletter link and Talk to Us in a top strip. Tests: the header lists each page once, and the footer stays below two-thirds overlap with the header. --- nuxt/assets/css/style.css | 25 ++ nuxt/components/AppFooter.vue | 75 ++--- nuxt/components/AppHeader.vue | 15 +- nuxt/data/chrome.json | 612 ++++++++++++++-------------------- nuxt/lib/chrome.test.mjs | 40 ++- 5 files changed, 355 insertions(+), 412 deletions(-) diff --git a/nuxt/assets/css/style.css b/nuxt/assets/css/style.css index 9c1fd25f1c..15df6350c2 100644 --- a/nuxt/assets/css/style.css +++ b/nuxt/assets/css/style.css @@ -3071,6 +3071,31 @@ lite-youtube::before { .ff-website header .ff-nav-dropdown > ul.mega ul.sub-menu li.nav-indent > a { padding-left: 1rem !important; } +/* See hasDescriptions() in AppHeader.vue: stack this column's links on their own + rather than on the dropdown's shared row grid. */ +.ff-website header .ff-nav-dropdown > ul.mega ul.sub-menu.ff-sub-free { + display: flex !important; + flex-direction: column; + align-self: start; +} +.ff-website header .ff-nav-dropdown > ul.mega ul.sub-menu a > svg { + flex-shrink: 0; +} +/* Optional one-line description under a mega-menu link (chrome.json `description`), + used for product names that do not explain themselves. */ +.ff-website header .ff-nav-text { + display: flex; + flex-direction: column; + align-items: flex-start; + text-align: left; + gap: 0.125rem; +} +.ff-website header .ff-nav-desc { + font-size: 0.75rem; + line-height: 1rem; + color: var(--color-gray-500); + font-weight: 400; +} /* Mobile accordion: eyebrows indent to the link icon column, moderate row height, and tap feedback via a text-hugging underline (the desktop animated line needs a text span the link markup does not have) */ diff --git a/nuxt/components/AppFooter.vue b/nuxt/components/AppFooter.vue index be45a8629b..573ac0e4f1 100644 --- a/nuxt/components/AppFooter.vue +++ b/nuxt/components/AppFooter.vue @@ -1,6 +1,10 @@ +}