feat: add new skills to skills-lock.json and update use-pixel-heat component
All checks were successful
Deploy / deploy (push) Successful in 7m30s
All checks were successful
Deploy / deploy (push) Successful in 7m30s
- Added new skills: find-skills, frontend-ui-engineering, and vercel-react-best-practices to skills-lock.json. - Updated use-pixel-heat.ts to import both animate and AnimationPlaybackControls from motion for improved animation handling.
This commit is contained in:
@@ -16,11 +16,10 @@
|
||||
*/
|
||||
|
||||
import { useEffect, type RefObject } from "react";
|
||||
// WAAPI tabanlı mini animate yeterli (yalnızca duration/ease kullanılıyor);
|
||||
// tam motor client bundle'ına girmez. Tip mini'den export edilmiyor —
|
||||
// type-only import build'de silinir, maliyeti yok.
|
||||
import { animate } from "motion/mini";
|
||||
import type { AnimationPlaybackControls } from "motion";
|
||||
// Bilinçli olarak TAM motor: mini'nin WAAPI animate'i SVG fill/fillOpacity
|
||||
// geçişlerini farklı örnekliyor ve ısınma/soğuma hissi bozuluyor (denendi,
|
||||
// geri alındı). motion/mini'ye çevirme.
|
||||
import { animate, type AnimationPlaybackControls } from "motion";
|
||||
|
||||
const FINE_POINTER_QUERY = "(hover: hover) and (pointer: fine)";
|
||||
const HOT_COLOR = "#f97316"; // orange-500
|
||||
|
||||
Reference in New Issue
Block a user