Skip to content

Commit 137184b

Browse files
Add sidebar to landing page for mobile navigation
Co-authored-by: Ona <no-reply@ona.com>
1 parent 53711b1 commit 137184b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/pages/index.astro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
import BaseLayout from "../layouts/BaseLayout.astro";
33
import Header from "../components/Header.astro";
4+
import Sidebar from "../components/Sidebar.astro";
45
import Footer from "../components/Footer.astro";
56
import { getCollection } from "astro:content";
67
import { groupByPart, type ChapterMeta } from "../lib/chapters";
@@ -21,6 +22,7 @@ const totalChapters = allChapters.filter((c) => c.chapter).length;
2122

2223
<BaseLayout title="The Agentic Engineering Guide | AI Agent Infrastructure Book">
2324
<Header />
25+
<Sidebar chapters={allChapters} currentSlug="" />
2426

2527
<main class="pt-14">
2628
<!-- Hero -->

0 commit comments

Comments
 (0)