diff --git a/postcss.config.js b/postcss.config.js new file mode 100644 index 0000000..33ad091 --- /dev/null +++ b/postcss.config.js @@ -0,0 +1,6 @@ +module.exports = { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +} diff --git a/src/App.scss b/src/App.scss index 7fa024c..2fa723b 100644 --- a/src/App.scss +++ b/src/App.scss @@ -1,3 +1,4 @@ + @import "./constants/size.scss"; @import "./constants/colors.scss"; @import "./views/Home/Landscape/Page1/index.scss"; diff --git a/src/index.css b/src/index.css index 4e9c2d9..50255d6 100644 --- a/src/index.css +++ b/src/index.css @@ -2,6 +2,7 @@ @tailwind components; @tailwind utilities; + .bg-dark { background: hsla(209, 39%, 28%, 1); diff --git a/src/views/Auth/SignUp/index.js b/src/views/Auth/SignUp/index.js index badd0a6..408b0d1 100644 --- a/src/views/Auth/SignUp/index.js +++ b/src/views/Auth/SignUp/index.js @@ -13,7 +13,6 @@ import _ from "lodash"; import logoIcon from "./assets/logo.svg"; import arrowIcon from "../../../assets/icons/dropdown-blue.svg"; - function SignUp({ sendOtp, sendPhoneNumber, @@ -142,11 +141,11 @@ function SignUp({ return (
- -
-

+

+ +

{window.t("سلام به ")} {window.t(" دانوین خوش ")} {window.t("آمدید")}

-

+

+
+

{window.t( " لطفا جهت ورود یا ثبت نام شماره همراه خود را وارد نمایید." )}

-
-
- onChange(name, value)} - value={signUpFields?.cellphone} - align="text-center" - maxLength="11" - direction="ltr" - /> - {error} -
-
- - {!resend && ( -
- {window.t("یک کد چهار رقمی تا")}   -   - {window.t("دیگر برای شماره")} -   - - {signUpFields?.cellphone} - -   {window.t("ارسال خواهد شد.")} -
- )} +
+ + {!resend && ( +
+ {window.t("یک کد چهار رقمی تا")}   +   + {window.t("دیگر برای شماره")} + + {signUpFields?.cellphone} + +   {window.t("ارسال خواهد شد.")} +
+ )} +
-
+
onChange( e.target.name, @@ -233,9 +239,13 @@ function SignUp({ /> onChange( e.target.name, @@ -247,9 +257,13 @@ function SignUp({ /> onChange( e.target.name, @@ -261,9 +275,13 @@ function SignUp({ /> onChange( e.target.name, @@ -289,7 +307,7 @@ function SignUp({ } />
-
+
{window.t(" شماره خود را اشتباه وارد کردید؟")}