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 lines
7.1 KiB

{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Homepage/index.js\";\nimport React from \"react\";\nimport \"./index.scss\";\nimport BoxNextToEachOther from \"../BoxNextToEachOther\";\nimport Button from \"../Button\";\nimport UserProfileInfo from \"../UserProfileInfo\";\nimport ReligiousTimes from \"../ReligiousTimes\";\nimport DistributedData from \"../DistributedData\";\nimport FormInput from \"../FormInput\";\nimport Login from \"../Login\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst Homepage = _ref => {\n let {\n title,\n subTitle\n } = _ref;\n return /*#__PURE__*/_jsxDEV(\"section\", {\n className: \"relative h-screen p-1 flex flex-col items-center justify-center\",\n children: /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex flex-col items-center justify-center\",\n children: [/*#__PURE__*/_jsxDEV(\"img\", {\n src: \"images/flower.svg\",\n className: \"flex md:absolute md:left-1/2 md:top-0 md:transform md:-translate-x-1/2 md:-translate-y-1/2\",\n alt: \"flower\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"h1\", {\n className: \"text-primary text-3xl md:text-6xl font-bold mt-7\",\n children: title\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 23,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-primary text-lg md:text-3xl mt-4 md:mt-10\",\n children: subTitle\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 26,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"hr\", {\n className: \"my-7\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 29,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(BoxNextToEachOther, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 31,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(Button, {\n text: \"\\u0631\\u0641\\u062A\\u0646 \\u0628\\u0647 \\u0645\\u0631\\u062D\\u0644\\u0647 \\u0628\\u0639\\u062F\",\n className: \"w-full py-4 bg-secondaryLight text-lg text-secondaryText rounded mt-10\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 32,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex flex-col items-center justify-center gap-y-7 md:absolute md:left-5 md:top-10\",\n children: [/*#__PURE__*/_jsxDEV(UserProfileInfo, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 39,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(ReligiousTimes, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 40,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(DistributedData, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 41,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 38,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 5\n }, this);\n};\n\n_c = Homepage;\nexport default Homepage;\nHomepage.defaultProps = {\n title: \"سامانه رزرو زائرین محترم\",\n subTitle: \"موکب اصفهانی های مقیم مرکز\"\n};\n\nvar _c;\n\n$RefreshReg$(_c, \"Homepage\");","map":{"version":3,"names":["React","BoxNextToEachOther","Button","UserProfileInfo","ReligiousTimes","DistributedData","FormInput","Login","Homepage","title","subTitle","defaultProps"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/Homepage/index.js"],"sourcesContent":["import React from \"react\";\nimport \"./index.scss\";\n\nimport BoxNextToEachOther from \"../BoxNextToEachOther\";\nimport Button from \"../Button\";\nimport UserProfileInfo from \"../UserProfileInfo\";\nimport ReligiousTimes from \"../ReligiousTimes\";\nimport DistributedData from \"../DistributedData\";\nimport FormInput from \"../FormInput\";\nimport Login from \"../Login\";\n\nconst Homepage = ({ title, subTitle }) => {\n return (\n <section className=\"relative h-screen p-1 flex flex-col items-center justify-center\">\n <div className=\"flex flex-col items-center justify-center\">\n {/* ? absolute items */}\n <img\n src=\"images/flower.svg\"\n className=\"flex md:absolute md:left-1/2 md:top-0 md:transform md:-translate-x-1/2 md:-translate-y-1/2\"\n alt=\"flower\"\n />\n {/* title / subtitle */}\n <h1 className=\"text-primary text-3xl md:text-6xl font-bold mt-7\">\n {title}\n </h1>\n <p className=\"text-primary text-lg md:text-3xl mt-4 md:mt-10\">\n {subTitle}\n </p>\n <hr className=\"my-7\" />\n {/* BoxNextToEachOther */}\n <BoxNextToEachOther />\n <Button\n text=\"رفتن به مرحله بعد\"\n className=\"w-full py-4 bg-secondaryLight text-lg text-secondaryText rounded mt-10\"\n />\n {/* form input اینجارو از کامنت در بیارید */}\n {/* <FormInput /> */}\n <div className=\"flex flex-col items-center justify-center gap-y-7 md:absolute md:left-5 md:top-10\">\n <UserProfileInfo />\n <ReligiousTimes />\n <DistributedData />\n </div>\n </div>\n {/* <Login /> */}\n </section>\n );\n};\n\nexport default Homepage;\n\nHomepage.defaultProps = {\n title: \"سامانه رزرو زائرین محترم\",\n subTitle: \"موکب اصفهانی های مقیم مرکز\",\n};\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAO,cAAP;AAEA,OAAOC,kBAAP,MAA+B,uBAA/B;AACA,OAAOC,MAAP,MAAmB,WAAnB;AACA,OAAOC,eAAP,MAA4B,oBAA5B;AACA,OAAOC,cAAP,MAA2B,mBAA3B;AACA,OAAOC,eAAP,MAA4B,oBAA5B;AACA,OAAOC,SAAP,MAAsB,cAAtB;AACA,OAAOC,KAAP,MAAkB,UAAlB;;;AAEA,MAAMC,QAAQ,GAAG,QAAyB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