"use client";
import { motion } from "framer-motion";
import type { ReactNode } from "react";
const smoothEase = [0.16, 1, 0.3, 1] as const;
const fadeUp = (delay = 0) => ({
initial: { opacity: 0, y: 28 },
animate: { opacity: 1, y: 0 },
transition: { duration: 0.6, ease: smoothEase, delay },
});
export function PageHeroMotion({ children }: { children: ReactNode }) {
return <>{children}>;
}
export function FadeUp({
children,
delay = 0,
className = "",
}: {
children: ReactNode;
delay?: number;
className?: string;
}) {
return (
{children}
);
}
export function FadeIn({
children,
delay = 0,
className = "",
}: {
children: ReactNode;
delay?: number;
className?: string;
}) {
return (
{children}
);
}
export function SlideIn({
children,
delay = 0,
direction = "left",
className = "",
}: {
children: ReactNode;
delay?: number;
direction?: "left" | "right";
className?: string;
}) {
return (
{children}
);
}