Files
ui/app/registry/default/example/animated-cursor-demo.tsx
zeekay 498e24210a fix: Correct color alias mappings in registry-colors
- Fix gray/zinc alias confusion (gray→neutral, zinc→zen)
- Consolidate duplicate gray color definition
- Add finance components to ui/ directory
- Clean up documentation structure
- Remove test artifacts and backup files

The color aliases were incorrectly mapped:
  Before: gray→zen, zinc→neutral (wrong)
  After: gray→neutral, zinc→zen (correct)

This ensures Hanzo's branded 'zen' color properly maps to zinc
while gray correctly references the standard neutral palette.

Verified:
- Production build: 544 pages ✓
- All tests passing: 219/219 ✓
- Visual verification: /colors page working ✓
- Code review: Approved ✓

Ready for deployment to ui.hanzo.ai
2025-11-12 13:22:56 -08:00

16 lines
511 B
TypeScript

import { AnimatedCursor } from "@hanzo/ui/animation/animated-cursor"
export default function AnimatedCursorDemo() {
return (
<div className="flex min-h-[400px] items-center justify-center p-8">
<AnimatedCursor className="pointer-events-none" />
<div className="text-center text-muted-foreground">
<p>Move your mouse to see the animated cursor</p>
<p className="text-sm mt-2">
Hover over interactive elements to see effects
</p>
</div>
</div>
)
}