From 9c013b056b5a040d5a0ffe99687eb35134addbf6 Mon Sep 17 00:00:00 2001 From: Marcos Paulo Date: Sat, 5 Sep 2026 07:10:01 +0000 Subject: [PATCH] refactor(pages): switch summary to ChapterLayout The task-01 smoke page now exercises the new ChapterLayout, ChapterHero, and SectionGrid against real content. This is the only page migration in scope for task 09; the remaining four chapter pages are task 13's work and will re-use the same components. Output diff: dist/summary/index.html preserves the legacy 'ROUTE MAP' label, the 'Ship the system.' display headline with em treatment, all six route cards, and the 'Each chapter stands alone...' footer text. chapters.css is loaded through ChapterLayout, not via a manual in the page frontmatter. Verification: pnpm run gate green. 42 assertions intact. No new assertions, none deleted. --- src/pages/summary.astro | 108 +++++++++++++++++++--------------------- 1 file changed, 52 insertions(+), 56 deletions(-) diff --git a/src/pages/summary.astro b/src/pages/summary.astro index e15be22..02615c6 100644 --- a/src/pages/summary.astro +++ b/src/pages/summary.astro @@ -1,63 +1,59 @@ --- -import BaseLayout from '../layouts/BaseLayout.astro'; -import chaptersStylesheet from '../../chapters.css?url'; +import ChapterLayout from '../layouts/ChapterLayout.astro'; +import ChapterHero from '../components/blocks/ChapterHero.astro'; +import SectionGrid from '../components/blocks/SectionGrid.astro'; const base = import.meta.env.BASE_URL; const introduction = 'This guide turns AI work into a shape: frame the problem, choose the model and agent, isolate changes, teach repeatable decisions, and verify the result.'; --- - - -
-
- ← AI FOR DUMMIES - 00 / ROUTE MAP - review desk ↗ -
-
-

Start here

-

Ship the
system.

-

{introduction}

-
-
- - - - -
- 05

Practice

Compare prompts and skill-enabled runs.

Open lab → -
-
- 06

Review desk

Browse original files and improved drafts.

Open desk → -
-
- -
- Each chapter stands alone; the order follows a real task becoming a reliable change. -
-
-
+ + ← AI FOR DUMMIES + 00 / ROUTE MAP + review desk ↗ + + + Ship the
system.
+

{introduction}

+
+ + + + + + +
+ 05

Practice

Compare prompts and skill-enabled runs.

Open lab → +
+
+ 06

Review desk

Browse original files and improved drafts.

Open desk → +
+
+ + Full field guide + Operations guide + + Each chapter stands alone; the order follows a real task becoming a reliable change. + +