diff --git a/astro.sidebar.mjs b/astro.sidebar.mjs index 9ddc3ceb3..a3ef3da06 100644 --- a/astro.sidebar.mjs +++ b/astro.sidebar.mjs @@ -29,11 +29,16 @@ export function generateSidebar() { { label: 'Backend options', link: '/get-started/backends/' }, { label: 'Luma Bridge', link: '/setup/discovery/luma-bridge/' }, { label: 'Create a storefront', link: '/get-started/create-storefront/' }, - { label: 'Plan your storefront project', link: '/setup/' }, { - label: 'Licensing', + label: 'AI tools', collapsed: true, - autogenerate: { directory: '/licensing/' }, + items: [ + { label: 'Install the AI tools', link: '/ai/' }, + { label: 'Boilerplate skills', link: '/ai/boilerplate-skills/' }, + { label: 'Dropins AI tools', link: '/ai/dropins-ai-tools/' }, + { label: 'Wayfinder', link: '/ai/wayfinder/' }, + { label: 'LLM files', link: '/ai/static-text-files/' }, + ], }, { label: 'Boilerplate', @@ -45,15 +50,9 @@ export function generateSidebar() { ], }, { - label: 'AI tools', + label: 'Licensing', collapsed: true, - items: [ - { label: 'Install the integrations', link: '/ai/' }, - { label: 'Boilerplate skills', link: '/ai/boilerplate-skills/' }, - { label: 'Dropins AI tools', link: '/ai/dropins-ai-tools/' }, - { label: 'Wayfinder', link: '/ai/wayfinder/' }, - { label: 'Fallback docs', link: '/ai/static-text-files/' }, - ], + autogenerate: { directory: '/licensing/' }, }, ], }, diff --git a/src/components/HomeHero.astro b/src/components/HomeHero.astro index e5a91ed45..8a9e997c5 100644 --- a/src/components/HomeHero.astro +++ b/src/components/HomeHero.astro @@ -12,19 +12,22 @@ const menuIcons = Object.fromEntries( const directories = [ { label: 'For developers', + link: '/get-started/', aria: 'Developer documentation', categories: [ { title: 'Getting started', + link: '/get-started/', links: [ { title: 'Prerequisites', link: '/get-started/before-you-start/' }, { title: 'Backend options', link: '/get-started/backends/' }, - { title: 'Plan your storefront project', link: '/setup/' }, + { title: 'Install the AI tools', link: '/ai/' }, { title: 'Create a storefront', link: '/get-started/create-storefront/' }, ], }, { title: 'Architecture', + link: '/get-started/architecture/', links: [ { title: 'How a page loads', link: '/get-started/architecture/how-a-page-loads/' }, { @@ -43,15 +46,17 @@ const directories = [ }, { title: 'Blocks', + link: '/blocks/', links: [ { title: 'Blocks and drop-ins', link: '/blocks/blocks-and-dropins/' }, { title: 'Customize blocks', link: '/blocks/customize-blocks/' }, - { title: 'Arrange block layouts', link: '/blocks/arrange-block-layouts/' }, { title: 'Create commerce blocks', link: '/blocks/create-commerce-blocks/' }, + { title: 'Build commerce features', link: '/blocks/build-custom-features/' }, ], }, { title: 'Drop-ins', + link: '/dropins/all/introduction/', links: [ { title: 'Drop-in containers', link: '/dropins/all/containers/' }, { title: 'Container slots', link: '/dropins/all/slots/' }, @@ -61,6 +66,7 @@ const directories = [ }, { title: 'Configuration', + link: '/setup/configuration/', links: [ { title: 'Storefront configuration', @@ -76,6 +82,7 @@ const directories = [ }, { title: 'Production', + link: '/setup/launch/', links: [ { title: 'Launch checklist', link: '/setup/launch/launch-checklist/' }, { title: 'Performance best practices', link: '/get-started/performance/' }, @@ -87,10 +94,12 @@ const directories = [ }, { label: 'For authors', + link: '/merchants/quick-start/', aria: 'Content author documentation', categories: [ { title: 'Getting started', + link: '/merchants/quick-start/', links: [ { title: 'What is a storefront?', link: '/merchants/quick-start/create-content/' }, { title: 'How a page comes together', link: '/merchants/quick-start/content-model/' }, @@ -100,6 +109,7 @@ const directories = [ }, { title: 'Authoring', + link: '/merchants/authoring/', links: [ { title: 'Add a block to a page', link: '/how-tos/add-block-to-page/' }, { title: 'Block table structure', link: '/merchants/blocks/block-tables/' }, @@ -112,6 +122,7 @@ const directories = [ }, { title: 'B2C blocks', + link: '/merchants/blocks/b2c/', links: [ { title: 'Product Details', link: '/merchants/blocks/product-details/' }, { title: 'Product List Page', link: '/merchants/blocks/product-list-page/' }, @@ -121,6 +132,7 @@ const directories = [ }, { title: 'B2B blocks', + link: '/merchants/blocks/b2b/', links: [ { title: 'Company Profile', link: '/merchants/blocks/commerce-company-profile/' }, { @@ -133,6 +145,7 @@ const directories = [ }, { title: 'Customization', + link: '/merchants/content-customizations/', links: [ { title: 'Show enrichment content', link: '/how-tos/show-enrichment-content/' }, { title: 'Create a page experiment', link: '/how-tos/create-page-experiment/' }, @@ -142,6 +155,7 @@ const directories = [ }, { title: 'Publishing', + link: '/merchants/edge-delivery-services/', links: [ { title: 'Scheduling options', link: '/merchants/edge-delivery-services/scheduling/' }, { title: 'Translate content', link: '/how-tos/translate-storefront-content/' }, @@ -213,13 +227,17 @@ const sharedPaths = [ directories.map((dir, i) => (

- {dir.label} + + {dir.label} +