diff --git a/src/components/header/components/navbar/NavbarLink.tsx b/src/components/header/components/navbar/NavbarLink.tsx index a631fee..fc093fc 100644 --- a/src/components/header/components/navbar/NavbarLink.tsx +++ b/src/components/header/components/navbar/NavbarLink.tsx @@ -7,7 +7,7 @@ const NavbarLink = ({ to, children, onClick }: NavbarLinkProps) => { to={to} className={(navData: NavData) => navData.isActive - ? "block px-2 mx-3 py-2 text-base font-medium text-yellow-600 border-b-2 border-yellow-600" + ? "block px-2 mx-3 py-2 text-base font-medium text-secondTheme border-b-2 border-secondTheme" : "block px-2 mx-3 py-2 rounded-md text-base font-medium text-white" } onClick={onClick} diff --git a/src/components/loaderSpin/index.tsx b/src/components/loaderSpin/index.tsx index ec3260f..32dd1f5 100644 --- a/src/components/loaderSpin/index.tsx +++ b/src/components/loaderSpin/index.tsx @@ -5,7 +5,7 @@ const LoaderSpin = ({ children }: { children: React.ReactNode }) => {
{ + const [isOpen, setIsOpen] = useState(false); + const toggleModal = () => { + setIsOpen(true); + }; return (
+

{title}

@@ -41,7 +48,12 @@ const ProductBox = ({ {price} تومان
- +
); diff --git a/src/components/pulsatingCircle/index.tsx b/src/components/pulsatingCircle/index.tsx index 8acdf03..cabdac8 100644 --- a/src/components/pulsatingCircle/index.tsx +++ b/src/components/pulsatingCircle/index.tsx @@ -3,10 +3,10 @@ import { FC } from "react"; const PulsatingCircle: FC = () => { return (
-
+
1
-
+
); };