Skip to content

feat(mascot): make Kala follow the pointer, greet on click and mourn errors - #71

Merged
ayuthmang merged 6 commits into
mainfrom
claude/lucid-dirac-947qfd
Nov 19, 2026
Merged

ayuthmang merged 6 commits into
mainfrom
claude/lucid-dirac-947qfd

Conversation

@ayuthmang

Copy link
Copy Markdown
Owner

Summary

Makes Kala interactive and puts him on the error page.

  • Eyes follow the pointer: the pupils are drawn apart from the sprite and snap toward the pointer (left, centre or right; level or up). Used by the header mark and the About card. A tap moves them on touch screens.
  • Click to say hi: the About card Kala is now a button. He hops, grins and cycles through six greetings; the greeting is announced through a polite live region and works from the keyboard.
  • Error page: a new sad pose with a tear replaces the kaomoji in src/app/error.tsx.

Notes

  • The hop and the speech-bubble pop are skipped under prefers-reduced-motion.
  • The header Kala tracks the pointer but does not greet, because clicking him navigates home.
  • src/app/error.tsx keeps its original CRLF line endings so the diff stays small.
  • The branch carries merge commits from earlier squash-merged PRs; the diff against main is only this change.

Test plan

  • pnpm lint, tsc --noEmit and vitest run pass (168 tests, including new ones for gazeOffset and the gaze pose).
  • pnpm build passes.
  • Checked in a browser on the built site: all six eye positions, click and keyboard greetings, the bubble clearing after its timeout, mobile tap, and the error page in light and dark through a temporary throwing route that is not part of this PR.

Generated by Claude Code

Kop is an original pixel-art frog drawn from character grids, so each
pose stays a few readable lines and renders as crisp inline SVG.

- Mascot component with idle, happy, peek and shell poses
- header: Kop sits beside the wordmark and grins on hover or focus
- 404: Kop hides under the coconut shell in place of the kaomoji
- favicon: replace the Next.js boilerplate icon with Kop

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LuN2cAiN6sDwUDs84XsM6c
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LuN2cAiN6sDwUDs84XsM6c
Add a "Meet Kala" card that explains the name: a frog in a coconut
shell (กบในกะลา) thinks its shell is the whole world, and Kala climbed
out. Kala grins while the card is hovered, like he does in the header.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LuN2cAiN6sDwUDs84XsM6c
…errors

- eyes: the pupils are drawn apart from the sprite and snap toward the
  pointer; used by the header mark and the About card
- greeting: the About card Kala is now a button that hops and says hi
- error page: a sad pose with a tear replaces the kaomoji

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LuN2cAiN6sDwUDs84XsM6c
@vercel

vercel Bot commented Nov 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ayuthmang-dev Ready Ready Preview Nov 19, 2026 7:29am UTC

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-19T07:29:35.322638Z
We couldn’t complete this review. Comment @codex review to try again.
47012ab PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@ayuthmang
ayuthmang merged commit 19b62b4 into main Nov 19, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — 47012abd Deployed Nov 19, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants