diff --git a/src/components/button/index.tsx b/src/components/button/index.tsx index d9b5dc9..98b401b 100644 --- a/src/components/button/index.tsx +++ b/src/components/button/index.tsx @@ -3,9 +3,9 @@ import { ButtonProps } from "../../types/props"; function Button({ children, extra, active,...attrs }: ButtonProps) { return ( + {auth ? ( + + ) : ( + + )}
diff --git a/src/components/input/index.tsx b/src/components/input/index.tsx index 1d9ee6d..760396b 100644 --- a/src/components/input/index.tsx +++ b/src/components/input/index.tsx @@ -24,7 +24,7 @@ const Input = ({ type={type} name={name} id={id} - className="outline-none border-none sm:text-sm rounded-lg block w-full p-2.5 md:p-3 bg-gray-700 border-gray-600 placeholder-gray-400 text-white" + className={`outline-none border-none sm:text-sm rounded-lg block w-full p-2.5 md:p-3 bg-gray-700 border-gray-600 placeholder-gray-400 text-white ${extra}`} placeholder={placeholder} {...attrs} /> diff --git a/src/pages/about/section/Info.tsx b/src/pages/about/section/Info.tsx index 198c278..22cdf92 100644 --- a/src/pages/about/section/Info.tsx +++ b/src/pages/about/section/Info.tsx @@ -2,7 +2,7 @@ const Info = () => { return (

درباره ما

-

+

با تولید سادگی نامفهوم از صنعت چاپ، و با استفاده از طراحان گرافیک است، چاپگرها و متون بلکه روزنامه و مجله در ستون و سطرآنچنان که لازم است، و برای شرایط فعلی تکنولوژی مورد نیاز، و کاربردهای متنوع با هدف بهبود diff --git a/src/pages/profile/section/components/ConfigItem.tsx b/src/pages/profile/section/components/ConfigItem.tsx index e0a49fb..c832abe 100644 --- a/src/pages/profile/section/components/ConfigItem.tsx +++ b/src/pages/profile/section/components/ConfigItem.tsx @@ -25,7 +25,7 @@ const ConfigItem = ({ dateBuy, configName, isDisabled }: ConfigItemProps) => {

{isDisabled && (
-
+
کانفیگ {configName} غیر فعال است .{" "} - @@ -60,7 +60,7 @@ const ConfigItem = ({ dateBuy, configName, isDisabled }: ConfigItemProps) => { data-dropdown-toggle="dropdown" type="button" onClick={handleToggle} - extra="!m-0 !px-2 !py-1.5 shadow-md shadow-white" + extra="!m-0 !px-2 !py-1.5 shadow-md" > حجم @@ -71,7 +71,7 @@ const ConfigItem = ({ dateBuy, configName, isDisabled }: ConfigItemProps) => {