diff --git a/website/astro.config.mjs b/website/astro.config.mjs index 87c9e4e6..34ac6f16 100644 --- a/website/astro.config.mjs +++ b/website/astro.config.mjs @@ -7,6 +7,9 @@ export default defineConfig({ base: "/awesome-copilot/", output: "static", integrations: [sitemap()], + redirects: { + "/samples/": "/learning-hub/cookbook/", + }, build: { assets: "assets", }, diff --git a/website/src/layouts/ArticleLayout.astro b/website/src/layouts/ArticleLayout.astro index 9893402f..26493a6c 100644 --- a/website/src/layouts/ArticleLayout.astro +++ b/website/src/layouts/ArticleLayout.astro @@ -98,6 +98,20 @@ const currentSlug = Astro.url.pathname.replace(/\/$/, '').split('/').pop(); ))} +
diff --git a/website/src/layouts/BaseLayout.astro b/website/src/layouts/BaseLayout.astro index 658e6339..2901a2f8 100644 --- a/website/src/layouts/BaseLayout.astro +++ b/website/src/layouts/BaseLayout.astro @@ -95,10 +95,6 @@ try { href={`${base}tools/`} class:list={[{ active: activeNav === "tools" }]}>Tools - Samples Learning Hub +
@@ -243,6 +246,6 @@ const base = import.meta.env.BASE_URL; diff --git a/website/src/pages/learning-hub/index.astro b/website/src/pages/learning-hub/index.astro index 45458236..fbb20b1d 100644 --- a/website/src/pages/learning-hub/index.astro +++ b/website/src/pages/learning-hub/index.astro @@ -93,6 +93,26 @@ const reference = articles ))} +
+

Hands-on

+

Interactive samples and recipes to learn by doing.

+
+ + + + +
+