diff --git a/src/components/ui/ButtonShift.tsx b/src/components/ui/ButtonShift.tsx index 01fe1a0..e69de29 100644 --- a/src/components/ui/ButtonShift.tsx +++ b/src/components/ui/ButtonShift.tsx @@ -1,54 +0,0 @@ -"use client"; - -import { motion } from "motion/react"; -import { useButtonClick } from "@/hooks/useButtonClick"; -import { cls } from "@/lib/utils"; - -interface ButtonShiftProps { - text: string; - variant?: "primary" | "secondary"; - href?: string; - onClick?: () => void; - animate?: boolean; - animationDelay?: number; - className?: string; -} - -const ButtonShift = ({ text, variant = "primary", href = "#", onClick, animate = true, animationDelay = 0, className = "" }: ButtonShiftProps) => { - const handleClick = useButtonClick(href, onClick); - - const button = ( - - - {[...text].map((char, index) => ( - - {char} - - ))} - - - ); - - if (!animate) return button; - - return ( - - {button} - - ); -}; - -export default ButtonShift; diff --git a/src/components/ui/Separator.tsx b/src/components/ui/Separator.tsx index 27d5b7d..e69de29 100644 --- a/src/components/ui/Separator.tsx +++ b/src/components/ui/Separator.tsx @@ -1,11 +0,0 @@ -import { cls } from "@/lib/utils"; - -interface SeparatorProps { - className?: string; -} - -const Separator = ({ className = "" }: SeparatorProps) => ( -
-); - -export default Separator; diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 11084b3..4e2fb53 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -15,7 +15,7 @@ export default function HomePage() {