feat: migrate learning-hub articles into Astro website

- Add Astro Content Collection for learning-hub articles
- Move 5 fundamentals articles into website/src/content/learning-hub/
- Create ArticleLayout.astro for rendering markdown articles
- Create index page listing all articles in recommended reading order
- Create dynamic [slug].astro route for individual articles
- Add Learning Hub to main navigation and homepage cards
- Add article prose and index page CSS styles
- Update internal links to use website URLs
This commit is contained in:
Aaron Powell
2026-02-10 17:30:30 +11:00
parent 7aff2eecd3
commit a124e133cb
12 changed files with 1760 additions and 0 deletions

View File

@@ -99,6 +99,10 @@ try {
href={`${base}samples/`}
class:list={[{ active: activeNav === "samples" }]}>Samples</a
>
<a
href={`${base}learning-hub/`}
class:list={[{ active: activeNav === "learning-hub" }]}>Learning Hub</a
>
</nav>
<div class="header-actions">
<button