You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
12 KiB
1 line
12 KiB
2 years ago
|
{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Login/index.js\",\n _s = $RefreshSig$();\n\nimport React from \"react\";\nimport Input from \"../AnimatedInput/Input\";\nimport { useForm } from \"react-hook-form\";\nimport Button from \"../Button\";\nimport HorizontalTextDivider from \"../HorizontalTextDivider\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst Login = () => {\n _s();\n\n const {\n register,\n getValues\n } = useForm();\n return /*#__PURE__*/_jsxDEV(\"div\", {\n style: {\n marginTop: \"44px\"\n },\n className: \" w-fit md:w-[744px] lg:w-[1000px] flex flex-col-reverse md:flex-row items-center bg-surface border border-surfaceBorder rounded\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex flex-col flex-1 p-3 md:p-5 gap-y-7\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex items-center \",\n children: [/*#__PURE__*/_jsxDEV(\"img\", {\n src: \"images/demo-logo.svg\",\n alt: \"logo\",\n className: \"rounded\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 20,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex flex-col mr-3 gap-y-2\",\n children: [/*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-xs text-primary\",\n children: \"\\u0631\\u0632\\u0631\\u0648\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 23,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-xs text-primary\",\n children: \"\\u0633\\u0627\\u0645\\u0627\\u0646\\u0647 \\u0631\\u0632\\u0631\\u0648\\u0627\\u0633\\u06CC\\u0648\\u0646 \\u062E\\u062F\\u0627\\u0645 \\u0648 \\u0632\\u0648\\u0627\\u0631 \\u0645\\u0648\\u06A9\\u0628 \\u0645\\u0631\\u06A9\\u0632\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 22,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex items-center\",\n children: [/*#__PURE__*/_jsxDEV(\"img\", {\n src: \"images/user.svg\",\n alt: \"logo\",\n className: \"w-5\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 32,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"h-5 w-0.5 mr-1.5 ml-3 bg-surfaceBorder\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 34,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-xs text-primary\",\n children: \"\\u0648\\u0631\\u0648\\u062F \\u0632\\u0648\\u0627\\u0631 \\u0648 \\u062E\\u0627\\u062F\\u0645\\u06CC\\u0646 \\u0645\\u062D\\u062A\\u0631\\u0645\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 36,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 30,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"hr\", {\n className: \"w-full border border-surfaceBorder\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 39,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(Input, {\n register: register(\"mobileNumber\"),\n label: \"\\u0646\\u0627\\u0645 \\u06A9\\u0627\\u0631\\u0628\\u0631\\u06CC\",\n type: \"text\",\n borderClassname: `border border-gray-200 `,\n inputClassname: `px-3 py-2 text-primary focus:bg-surface`\n }, void 0, false, {\n fi
|