🐛 fix: align dashboard with secured APIs

This commit is contained in:
2026-08-13 03:29:33 +07:00
parent e90dc8382b
commit 3f09e330be
47 changed files with 1280 additions and 397 deletions
+26
View File
@@ -0,0 +1,26 @@
"use client";
import { useGSAP } from "@gsap/react";
import gsap from "gsap";
gsap.registerPlugin(useGSAP);
export const motionEase = {
out: "power3.out",
inOut: "power2.inOut",
expo: "expo.out",
snap: "power4.out",
} as const;
export const motionDuration = {
fast: 0.32,
base: 0.55,
slow: 0.85,
} as const;
export function prefersReducedMotion() {
if (typeof window === "undefined") return false;
return window.matchMedia("(prefers-reduced-motion: reduce)").matches;
}
export { gsap, useGSAP };