From 583729db530fd679d86ccdf34f8904416828483e Mon Sep 17 00:00:00 2001 From: MOH Date: Mon, 9 Mar 2026 07:51:31 +0100 Subject: [PATCH] Refine hero backdrop motion --- components/layout/hero-motion-backdrop.tsx | 108 +++++++++++++-------- 1 file changed, 70 insertions(+), 38 deletions(-) diff --git a/components/layout/hero-motion-backdrop.tsx b/components/layout/hero-motion-backdrop.tsx index 6fec029..2535d47 100644 --- a/components/layout/hero-motion-backdrop.tsx +++ b/components/layout/hero-motion-backdrop.tsx @@ -1,50 +1,67 @@ "use client"; -import { motion } from "framer-motion"; +import { motion, useReducedMotion } from "framer-motion"; type HeroMotionBackdropProps = { compact?: boolean; }; export function HeroMotionBackdrop({ compact = false }: HeroMotionBackdropProps) { + const reducedMotion = useReducedMotion(); + return (