Commit 5dba3ba
authored
feat(site): animate the landing page mascot (#53)
## Related Issue
No linked issue. This change follows a direct maintainer request for the
landing page.
## Problem
The landing page used a static mascot. The supplied animation was 6.98
MB, included audio, contained dark fade frames, and showed an opaque
rectangular background against the page.
## What changed
- Replaced the static hero mascot with an 811 KB H.264 animation with
fast-start metadata and no audio.
- Trimmed the faded frames, built a forward-and-reverse loop, masked the
video edges into the page background, and removed the eyebrow artwork
from every frame.
- Kept the mascot itself as an accessible play/pause target, without a
visible control overlay, and added live reduced-motion preference
handling.
## Verification
- `pnpm --filter @pythoughts/site build`
- Browser checks for autoplay, mascot play/pause behavior, live
reduced-motion changes, responsive layout, and edge blending
- FFmpeg contact-sheet inspection across the installed loop
- Pixel-mask verification across all 239 frames: zero residual eyebrow
pixels in both tracked regions
- `pnpm lint` (passes with existing warnings)
- Pre-push gate passed: attribution scan, sherif, lint, Nix hash
freshness, changed-package typecheck, and changed tests
- Full `pnpm test`: 650 passed, 11 skipped, and 1 unrelated
environment-sensitive failure in `test/cli/export.test.ts` because the
non-interactive harness reported no shell
## Checklist
- [x] I have read the
[CONTRIBUTING](https://github.com/Pythoughts-labs/pythinker-code/blob/main/CONTRIBUTING.md)
document.
- [x] I have linked a related issue, or explained the problem above.
- [ ] I have added tests that prove my feature works. (No automated site
UI test harness; browser and media checks cover this change.)
- [x] Ran `gen-changesets` skill, or this PR needs no changeset.
(Private marketing site only; no released package changes.)
- [x] Ran `gen-docs` skill, or this PR needs no doc update. (The landing
page is the changed user-facing surface.)1 parent 97afb85 commit 5dba3ba
2 files changed
Lines changed: 79 additions & 2 deletions
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
| |||
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| 75 | + | |
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
| |||
168 | 171 | | |
169 | 172 | | |
170 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
171 | 192 | | |
172 | 193 | | |
173 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
174 | 198 | | |
175 | | - | |
| 199 | + | |
176 | 200 | | |
177 | 201 | | |
178 | 202 | | |
| |||
190 | 214 | | |
191 | 215 | | |
192 | 216 | | |
| 217 | + | |
193 | 218 | | |
194 | 219 | | |
195 | 220 | | |
| |||
225 | 250 | | |
226 | 251 | | |
227 | 252 | | |
228 | | - | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
229 | 275 | | |
230 | 276 | | |
231 | 277 | | |
| |||
722 | 768 | | |
723 | 769 | | |
724 | 770 | | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
725 | 802 | | |
726 | 803 | | |
727 | 804 | | |
| |||
0 commit comments