An AI skill that turns books into animated, narrated, interactive web experiences
JavaScript ai-agentsai-educationanimationclaudeclaude-codeclaude-skillsedtecheducationinteractive-textbookscormtext-to-video
feat(site): new bookshelf photo with The Three Little Pigs on the picture-book shelf
yzr0183444d01f1
diff --git a/site/assets/bookshelf.png b/site/assets/bookshelf.pngindex f8d7cc6..5ebcc5b 100644Binary files a/site/assets/bookshelf.png and b/site/assets/bookshelf.png differdiff --git a/site/assets/three-little-pigs-cover.webp b/site/assets/three-little-pigs-cover.webpdeleted file mode 100644index be65cb0..0000000Binary files a/site/assets/three-little-pigs-cover.webp and /dev/null differdiff --git a/site/index.html b/site/index.htmlindex 4a3a9e3..d8c87ea 100644--- a/site/index.html+++ b/site/index.html@@ -16,7 +16,7 @@<p>Animated books · A growing collection</p></header><figure class="photo-shelf" aria-label="Three shelves: STEM, picture books for children, and curious books">- <img class="shelf-photo" src="assets/bookshelf.png" width="1086" height="1448" alt="A wooden bookshelf. Math and physics books on the top shelf, illustrated children's stories on the middle shelf, and philosophy and history books on the bottom shelf. The lower two shelves are marked Coming Soon, and a GitHub emblem is on the drawer." fetchpriority="high">+ <img class="shelf-photo" src="assets/bookshelf.png" width="1086" height="1448" alt="A wooden bookshelf. Algebra, mathematics and physics books on the top shelf marked STEM; picture books on the middle shelf, starting with The Three Little Pigs; philosophy and history books on the bottom shelf; a GitHub emblem on the drawer." fetchpriority="high"><div id="shelf-books"><section class="shelf-tier" aria-labelledby="stem-title"><h2 class="visually-hidden" id="stem-title">STEM · Mathematics</h2>@@ -33,7 +33,6 @@<section class="shelf-tier" aria-labelledby="picture-title"><h2 class="visually-hidden" id="picture-title">Picture books for children · One experiment, more coming soon</h2><a class="book-hotspot pigs-book" data-book="three-little-pigs" href="three-little-pigs/" aria-label="Open The Three Little Pigs, an animated picture book experiment and how it was made">- <img class="book-cover" src="assets/three-little-pigs-cover.webp" alt="" width="600" height="604"><span class="book-caption"><strong>The Three Little Pigs <span aria-hidden="true">↗</span></strong><small>An experiment · how it was made</small></span></a></section>diff --git a/site/lib/bookshelf.css b/site/lib/bookshelf.cssindex 7fb9b30..8e68d80 100644--- a/site/lib/bookshelf.css+++ b/site/lib/bookshelf.css@@ -24,9 +24,8 @@ a { color: inherit; }.algebra-book { left: 10.1%; width: 26.1%; }.math-book { left: 39.9%; width: 24.5%; }.physics-book { left: 66.8%; width: 25.3%; }-/* The middle shelf: our picture book's cover laid over the first painted book. */-.pigs-book { left: 8.3%; width: 25.6%; top: 34.8%; height: 19.3%; overflow: hidden; }-.book-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 2px; box-shadow: 0 2px 6px #0004; }+/* The middle shelf: the photographed cover of our picture book. */+.pigs-book { left: 8.1%; width: 25.8%; top: 34.5%; height: 19.6%; }.pigs-book .book-caption { background: linear-gradient(110deg, #7a4a1ef5, #5a3414f0); }.book-hotspot:hover { box-shadow: 0 0 0 2px #f7d998b3, 0 0 28px #edc97833; }#shelf a:focus-visible { outline: 3px solid #f4d786; outline-offset: 5px; }