diff --git a/app/components/About.tsx b/app/components/About.tsx index 77417e7..5b59183 100644 --- a/app/components/About.tsx +++ b/app/components/About.tsx @@ -1,6 +1,7 @@ "use client"; -import { motion, useReducedMotion, type Variants } from "framer-motion"; +import { motion, type Variants } from "framer-motion"; +import { useReducedMotion } from "@/app/hooks/useReducedMotion"; import profilePhoto from "@/public/edev.jpg"; import { DrawLine } from "./animations/DrawLine"; import { LazyRevealImage } from "./animations/LazyRevealImage"; diff --git a/app/components/Contact.tsx b/app/components/Contact.tsx index ac67d68..f804ff3 100644 --- a/app/components/Contact.tsx +++ b/app/components/Contact.tsx @@ -1,13 +1,13 @@ "use client"; +import { motion, type Variants } from "framer-motion"; import type React from "react"; import { useEffect, useState } from "react"; +import { useReducedMotion } from "@/app/hooks/useReducedMotion"; import { buildWhatsAppUrl, getWhatsAppDisplayNumber } from "@/lib/whatsapp"; -import { motion, type Variants, useReducedMotion } from "framer-motion"; -import { Section } from "./Section"; import { DrawLine } from "./animations/DrawLine"; import MagneticButton from "./cinematic/MagneticButton"; - +import { Section } from "./Section"; export default function Contact() { const shouldReduceMotion = useReducedMotion(); diff --git a/app/components/Experience.tsx b/app/components/Experience.tsx index 5a3c766..950bcfc 100644 --- a/app/components/Experience.tsx +++ b/app/components/Experience.tsx @@ -1,9 +1,10 @@ "use client"; +import { motion, type Variants } from "framer-motion"; +import { useReducedMotion } from "@/app/hooks/useReducedMotion"; import type { PortfolioExperience } from "@/lib/portfolio-data"; -import { motion, type Variants, useReducedMotion } from "framer-motion"; -import { Section } from "./Section"; import { DrawLine } from "./animations/DrawLine"; +import { Section } from "./Section"; export default function Experience({ experiences, diff --git a/app/components/Footer.test.tsx b/app/components/Footer.test.tsx index a85d1f5..392c10d 100644 --- a/app/components/Footer.test.tsx +++ b/app/components/Footer.test.tsx @@ -13,7 +13,7 @@ describe("Footer Component - Contact Information", () => { it("should render email address", () => { render(