"use client";
import { motion } from 'framer-motion';
// Fade in animation for sections and components
export function FadeIn({ children, delay = 0, duration = 0.5, className = "" }) {
return (
{children}
);
}
// Slide in animation from left
export function SlideInLeft({ children, delay = 0, duration = 0.5, className = "" }) {
return (
{children}
);
}
// Slide in animation from right
export function SlideInRight({ children, delay = 0, duration = 0.5, className = "" }) {
return (
{children}
);
}
// Scale animation for cards and buttons
export function ScaleIn({ children, delay = 0, duration = 0.5, className = "" }) {
return (
{children}
);
}
// Stagger children animations
export function StaggerContainer({ children, staggerDelay = 0.1, className = "" }) {
return (
{children}
);
}
// Stagger child item
export function StaggerItem({ children, duration = 0.5, className = "" }) {
return (
{children}
);
}
// Page transition component
export function PageTransition({ children }) {
return (
{children}
);
}
// Hover animation for interactive elements
export function HoverScale({ children, scale = 1.05, className = "" }) {
return (
{children}
);
}