Skip to content

Commit f24799a

Browse files
dgatti0213claude
andcommitted
nav: add "Guides" (Application Guide) to top bar and Resources menu
Add a "Guides" link pointing at /application-guide/ in two places: - the top utility bar, between Blog and Docs (both the Nuxt AppUtilityBar.vue and the 11ty top-utility-bar.njk mirror) - the Resources mega-menu's Reference column, above Docs (desktop with a book-open icon + mobile), in src/_data/chrome.json Bump the Reference column row-span and the Resources dropdown grid repeat() so the layout guardrail test (chrome.test.mjs) stays green. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CVTs4TWBz2sVJ3k55ZHUg8
1 parent 0070828 commit f24799a

3 files changed

Lines changed: 13 additions & 2 deletions

File tree

nuxt/components/AppUtilityBar.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ onMounted(() => {
4646
<nav class="hidden md:flex items-center gap-5 shrink-0" aria-label="Quick links">
4747
<a href="/about/" class="text-indigo-100 hover:text-white no-underline hover:no-underline">About us</a>
4848
<a href="/blog/" class="text-indigo-100 hover:text-white no-underline hover:no-underline">Blog</a>
49+
<a href="/application-guide/" class="text-indigo-100 hover:text-white no-underline hover:no-underline">Guides</a>
4950
<a href="/docs/" class="text-indigo-100 hover:text-white no-underline hover:no-underline">Docs</a>
5051
<a href="/support/" class="text-indigo-100 hover:text-white no-underline hover:no-underline">Support</a>
5152
<a href="/docs/device-agent/install/overview/" class="text-indigo-100 hover:text-white no-underline hover:no-underline">Install on edge</a>

src/_data/chrome.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,13 @@
294294
{
295295
"title": "Reference",
296296
"titleGrid": "md:col-start-2 md:row-start-1 xl:col-start-3",
297-
"listClasses": "row-span-4 md:col-start-2 md:row-start-2 xl:col-start-3",
297+
"listClasses": "row-span-5 md:col-start-2 md:row-start-2 xl:col-start-3",
298298
"links": [
299+
{
300+
"label": "Guides",
301+
"href": "/application-guide/",
302+
"icon": "book-open"
303+
},
299304
{
300305
"label": "Docs",
301306
"href": "/docs/",
@@ -332,7 +337,7 @@
332337
]
333338
}
334339
],
335-
"megaClasses": "narrow mega md:grid md:grid-flow-col md:grid-rows-[repeat(5,auto)] md:pr-1 md:auto-rows-auto items-center",
340+
"megaClasses": "narrow mega md:grid md:grid-flow-col md:grid-rows-[repeat(6,auto)] md:pr-1 md:auto-rows-auto items-center",
336341
"highlight": "resources"
337342
},
338343
{
@@ -663,6 +668,10 @@
663668
{
664669
"title": "Reference",
665670
"links": [
671+
{
672+
"label": "Guides",
673+
"href": "/application-guide/"
674+
},
666675
{
667676
"label": "Docs",
668677
"href": "/docs/"

src/_includes/components/top-utility-bar.njk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<nav class="hidden md:flex items-center gap-5 shrink-0" aria-label="Quick links">
2929
<a href="/about/" class="text-indigo-100 hover:text-white no-underline hover:no-underline">About us</a>
3030
<a href="/blog/" class="text-indigo-100 hover:text-white no-underline hover:no-underline">Blog</a>
31+
<a href="/application-guide/" class="text-indigo-100 hover:text-white no-underline hover:no-underline">Guides</a>
3132
<a href="/docs/" class="text-indigo-100 hover:text-white no-underline hover:no-underline">Docs</a>
3233
<a href="/support/" class="text-indigo-100 hover:text-white no-underline hover:no-underline">Support</a>
3334
<a href="/platform/device-agent/" class="text-indigo-100 hover:text-white no-underline hover:no-underline">Install on edge</a>

0 commit comments

Comments
 (0)