diff --git a/jobdri/components/common/LoadMotion.tsx b/jobdri/components/common/LoadMotion.tsx deleted file mode 100644 index ed88097..0000000 --- a/jobdri/components/common/LoadMotion.tsx +++ /dev/null @@ -1,56 +0,0 @@ -"use client"; - -import { useEffect, useState } from "react"; -import clsx from "clsx"; - -interface LoadMotionProps { - className?: string; - dotFrameClassName?: string; - dotClassName?: string; - activeDotClassName?: string; - inactiveDotClassName?: string; - activeMotionClassName?: string; - inactiveMotionClassName?: string; -} - -export default function LoadMotion({ - className, - dotFrameClassName, - dotClassName, - activeDotClassName = "bg-icon-neutral-heavy", - inactiveDotClassName = "bg-icon-neutral-assistive", - activeMotionClassName = "-translate-y-0.5", - inactiveMotionClassName = "translate-y-0", -}: LoadMotionProps) { - const [active, setActive] = useState(0); - - useEffect(() => { - const interval = setInterval(() => { - setActive((prev) => (prev + 1) % 3); - }, 400); - return () => clearInterval(interval); - }, []); - return ( -