From 8aa1886a435d1a794430b8d0408c263121874a3c Mon Sep 17 00:00:00 2001 From: Sarah Rainsberger Date: Fri, 27 Oct 2023 13:15:47 +0000 Subject: [PATCH 1/3] built-ins and add-ons --- src/i18n/en/nav.ts | 56 +++++++++++++++++++++------------------------- 1 file changed, 26 insertions(+), 30 deletions(-) diff --git a/src/i18n/en/nav.ts b/src/i18n/en/nav.ts index e704b7174abc6..6956ce78988a9 100644 --- a/src/i18n/en/nav.ts +++ b/src/i18n/en/nav.ts @@ -46,56 +46,52 @@ export default [ }, { text: 'Pages', slug: 'core-concepts/astro-pages', key: 'core-concepts/astro-pages' }, { text: 'Layouts', slug: 'core-concepts/layouts', key: 'core-concepts/layouts' }, - - { text: 'Recipes', header: true, type: 'learn', key: 'examples' }, - { text: 'Migrate to Astro', slug: 'guides/migrate-to-astro', key: 'guides/migrate-to-astro' }, - { text: 'Connect a CMS', slug: 'guides/cms', key: 'guides/cms' }, - { text: 'Add backend services', slug: 'guides/backend', key: 'guides/backend' }, - { text: 'Add integrations', slug: 'guides/integrations-guide', key: 'guides/integrations-guide' }, - { text: 'Deploy your site', slug: 'guides/deploy', key: 'guides/deploy' }, - { text: 'More recipes', slug: 'recipes', key: 'guides/recipes' }, - - { text: 'Guides', header: true, type: 'learn', key: 'features' }, { text: 'Astro Template Syntax', slug: 'core-concepts/astro-syntax', key: 'core-concepts/astro-syntax', }, - { - text: 'UI Frameworks', - slug: 'core-concepts/framework-components', - key: 'core-concepts/framework-components', - }, - { text: 'Routing', slug: 'core-concepts/routing', key: 'core-concepts/routing' }, - { text: 'Markdown & MDX', slug: 'guides/markdown-content', key: 'guides/markdown-content' }, + + { text: 'Built-ins', header: true, type: 'learn', key: 'examples' }, { text: 'Content Collections', slug: 'guides/content-collections', key: 'guides/content-collections', }, { - text: 'Scripts & Event Handling', - slug: 'guides/client-side-scripts', - key: 'guides/client-side-scripts', + text: 'View Transitions', + slug: 'guides/view-transitions', + key: 'guides/view-transitions', + }, + + { text: 'Add-ons', header: true, type: 'learn', key: 'examples' }, + { text: 'Add integrations', slug: 'guides/integrations-guide', key: 'guides/integrations-guide' }, + { + text: 'UI Frameworks', + slug: 'core-concepts/framework-components', + key: 'core-concepts/framework-components', }, + { text: 'Server-side Rendering', slug: 'guides/server-side-rendering', key: 'guides/server-side-rendering' }, + + { text: 'Recipes', header: true, type: 'learn', key: 'examples' }, + { text: 'Migrate to Astro', slug: 'guides/migrate-to-astro', key: 'guides/migrate-to-astro' }, + { text: 'Connect a CMS', slug: 'guides/cms', key: 'guides/cms' }, + { text: 'Add backend services', slug: 'guides/backend', key: 'guides/backend' }, + { text: 'Deploy your site', slug: 'guides/deploy', key: 'guides/deploy' }, + { text: 'More recipes', slug: 'recipes', key: 'guides/recipes' }, + + { text: 'Guides', header: true, type: 'learn', key: 'features' }, + { text: 'Routing', slug: 'core-concepts/routing', key: 'core-concepts/routing' }, + { text: 'Markdown', slug: 'guides/markdown-content', key: 'guides/markdown-content' }, + { text: 'Scripts & Event Handling', slug: 'guides/client-side-scripts', key: 'guides/client-side-scripts'}, { text: 'CSS & Styling', slug: 'guides/styling', key: 'guides/styling' }, { text: 'Images', slug: 'guides/images', key: 'guides/images' }, { text: 'Fonts', slug: 'guides/fonts', key: 'guides/fonts' }, { text: 'Imports', slug: 'guides/imports', key: 'guides/imports' }, - { - text: 'Server-side Rendering (SSR)', - slug: 'guides/server-side-rendering', - key: 'guides/server-side-rendering', - }, { text: 'Endpoints', slug: 'core-concepts/endpoints', key: 'core-concepts/endpoints' }, { text: 'Data Fetching', slug: 'guides/data-fetching', key: 'guides/data-fetching' }, { text: 'Middleware', slug: 'guides/middleware', key: 'guides/middleware' }, { text: 'Testing', slug: 'guides/testing', key: 'guides/testing' }, - { - text: 'View Transitions', - slug: 'guides/view-transitions', - key: 'guides/view-transitions', - }, { text: 'Troubleshooting', slug: 'guides/troubleshooting', key: 'guides/troubleshooting' }, { text: 'Configuration', header: true, type: 'learn', key: 'configuration' }, From 08d50d8191bd32009fbcde5b095f7ca981622b28 Mon Sep 17 00:00:00 2001 From: Sarah Rainsberger Date: Fri, 27 Oct 2023 14:01:41 +0000 Subject: [PATCH 2/3] update new header keys --- src/i18n/en/nav.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/i18n/en/nav.ts b/src/i18n/en/nav.ts index 6956ce78988a9..a1f471f0ba685 100644 --- a/src/i18n/en/nav.ts +++ b/src/i18n/en/nav.ts @@ -52,7 +52,7 @@ export default [ key: 'core-concepts/astro-syntax', }, - { text: 'Built-ins', header: true, type: 'learn', key: 'examples' }, + { text: 'Built-ins', header: true, type: 'learn', key: 'builtins' }, { text: 'Content Collections', slug: 'guides/content-collections', @@ -64,7 +64,7 @@ export default [ key: 'guides/view-transitions', }, - { text: 'Add-ons', header: true, type: 'learn', key: 'examples' }, + { text: 'Add-ons', header: true, type: 'learn', key: 'addons' }, { text: 'Add integrations', slug: 'guides/integrations-guide', key: 'guides/integrations-guide' }, { text: 'UI Frameworks', From e18f385e26ba5195c77a3cff73bed35d14b5f84c Mon Sep 17 00:00:00 2001 From: Sarah Rainsberger Date: Fri, 27 Oct 2023 17:32:41 +0000 Subject: [PATCH 3/3] emphasize adapters in nav --- src/i18n/en/nav.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i18n/en/nav.ts b/src/i18n/en/nav.ts index a1f471f0ba685..695f53b7650e7 100644 --- a/src/i18n/en/nav.ts +++ b/src/i18n/en/nav.ts @@ -71,7 +71,7 @@ export default [ slug: 'core-concepts/framework-components', key: 'core-concepts/framework-components', }, - { text: 'Server-side Rendering', slug: 'guides/server-side-rendering', key: 'guides/server-side-rendering' }, + { text: 'SSR Adapters', slug: 'guides/server-side-rendering', key: 'guides/server-side-rendering' }, { text: 'Recipes', header: true, type: 'learn', key: 'examples' }, { text: 'Migrate to Astro', slug: 'guides/migrate-to-astro', key: 'guides/migrate-to-astro' },