diff --git a/.claude/settings.local.json b/.claude/settings.local.json index 895f472..3f4f28f 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -40,7 +40,11 @@ "Bash(npx skills:*)", "Bash(identify:*)", "Bash(pnpm pdf -- output/html/collecting-asteroids-1.html)", - "Bash(pnpm pdf output/html/collecting-asteroids-1.html)" + "Bash(pnpm pdf output/html/collecting-asteroids-1.html)", + "Bash(pnpm pdf:*)", + "Bash(mv freighter-trade1.png freighter1.png)", + "Bash(mv freighter-mining1.png freighter11.png)", + "Bash(mv freighter-science1.png freighter12.png)" ] } } diff --git a/CLAUDE.md b/CLAUDE.md index b575e42..268a255 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -134,9 +134,10 @@ The base template defines the visual design for all space-themed worksheets. The When generating HTML worksheets: +- **OUTPUT MUST BE STATIC HTML.** Generated HTML files in `output/html/` must contain only static markup — no embedded ` + + + + Проложи Маршрут + + + + +${pagesHtml} + + +`; + +const outPath = join(ROOT, 'output', 'html', 'space-route-1.html'); +writeFileSync(outPath, fullHtml, 'utf-8'); +console.log(`Written to ${outPath}`); diff --git a/tasks/collecting-asteroids-2.json b/tasks/collecting-asteroids-2.json new file mode 100644 index 0000000..c395565 --- /dev/null +++ b/tasks/collecting-asteroids-2.json @@ -0,0 +1,131 @@ +{ + "id": "collecting-asteroids-2", + "title": "Собери Астероиды", + "description": "9-page asteroid-matching worksheet v2: reshuffled assets, doubled difficulty", + "labels": { + "title": "Собери Астероиды", + "subtitle": "Загрузи трюмы кораблей!", + "footerBubble": "Итого загружено:" + }, + "theme": { + "style": "space-asteroids", + "template": "space-base", + "asteroids": "assets/icons/pack3-asteroids/" + }, + "layout": { + "type": "asteroid-matching", + "shipsPerPage": 3, + "asteroidTypesPerPage": 2, + "asteroidTypeRatio": "70:30" + }, + "pages": [ + { + "ships": [ + { "capacity": 10, "fillCount": 2 }, + { "capacity": 10, "fillCount": 2 }, + { "capacity": 14, "fillCount": 3 } + ], + "heroImage": "assets/hero-images/splitters/splitter5.png", + "footerImage": "assets/footers/cabin7.jpeg", + "heroDirection": "row", + "cargoBays": ["cargo-bay4", "cargo-bay5", "cargo-bay6"], + "asteroidTypes": ["asteroid7", "asteroid14"] + }, + { + "ships": [ + { "capacity": 14, "fillCount": 3 }, + { "capacity": 14, "fillCount": 3 }, + { "capacity": 20, "fillCount": 4 } + ], + "heroImage": "assets/hero-images/splitters/splitter2.png", + "footerImage": "assets/footers/cabin4.jpeg", + "heroDirection": "row-reverse", + "cargoBays": ["cargo-bay7", "cargo-bay8", "cargo-bay9"], + "asteroidTypes": ["asteroid4", "asteroid11"] + }, + { + "ships": [ + { "capacity": 10, "fillCount": 2 }, + { "capacity": 10, "fillCount": 3 }, + { "capacity": 12, "fillCount": 3 } + ], + "heroImage": "assets/hero-images/splitters/splitter8.png", + "footerImage": "assets/footers/cabin1.jpeg", + "heroDirection": "row", + "cargoBays": ["cargo-bay1", "cargo-bay2", "cargo-bay3"], + "asteroidTypes": ["asteroid10", "asteroid3"] + }, + { + "ships": [ + { "capacity": 16, "fillCount": 2 }, + { "capacity": 16, "fillCount": 3 }, + { "capacity": 12, "fillCount": 2 } + ], + "heroImage": "assets/hero-images/splitters/splitter3.png", + "footerImage": "assets/footers/cabin9.jpeg", + "heroDirection": "row-reverse", + "cargoBays": ["cargo-bay4", "cargo-bay5", "cargo-bay6"], + "asteroidTypes": ["asteroid16", "asteroid5"] + }, + { + "ships": [ + { "capacity": 8, "fillCount": 1 }, + { "capacity": 8, "fillCount": 2 }, + { "capacity": 8, "fillCount": 3 } + ], + "heroImage": "assets/hero-images/splitters/splitter9.png", + "footerImage": "assets/footers/cabin2.jpeg", + "heroDirection": "row", + "cargoBays": ["cargo-bay7", "cargo-bay8", "cargo-bay9"], + "asteroidTypes": ["asteroid2", "asteroid13"] + }, + { + "ships": [ + { "capacity": 20, "fillCount": 4 }, + { "capacity": 20, "fillCount": 3 }, + { "capacity": 16, "fillCount": 3 } + ], + "heroImage": "assets/hero-images/splitters/splitter1.png", + "footerImage": "assets/footers/cabin6.jpeg", + "heroDirection": "row-reverse", + "cargoBays": ["cargo-bay1", "cargo-bay2", "cargo-bay3"], + "asteroidTypes": ["asteroid8", "asteroid12"] + }, + { + "ships": [ + { "capacity": 12, "fillCount": 2 }, + { "capacity": 18, "fillCount": 3 }, + { "capacity": 24, "fillCount": 4 } + ], + "heroImage": "assets/hero-images/splitters/splitter6.png", + "footerImage": "assets/footers/cabin3.jpeg", + "heroDirection": "row", + "cargoBays": ["cargo-bay4", "cargo-bay5", "cargo-bay6"], + "asteroidTypes": ["asteroid15", "asteroid6"] + }, + { + "ships": [ + { "capacity": 28, "fillCount": 3 }, + { "capacity": 20, "fillCount": 2 }, + { "capacity": 32, "fillCount": 4 } + ], + "heroImage": "assets/hero-images/splitters/splitter4.png", + "footerImage": "assets/footers/cabin8.jpeg", + "heroDirection": "row-reverse", + "cargoBays": ["cargo-bay7", "cargo-bay8", "cargo-bay9"], + "asteroidTypes": ["asteroid9", "asteroid1"] + }, + { + "ships": [ + { "capacity": 10, "fillCount": 2 }, + { "capacity": 20, "fillCount": 4 }, + { "capacity": 30, "fillCount": 5 } + ], + "heroImage": "assets/hero-images/splitters/splitter7.png", + "footerImage": "assets/footers/cabin5.jpeg", + "heroDirection": "row", + "cargoBays": ["cargo-bay1", "cargo-bay2", "cargo-bay3"], + "asteroidTypes": ["asteroid11", "asteroid4"] + } + ] +}