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.0 KiB
1 lines
7.0 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-2xl md:text-6xl font-bold\",\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-base md:text-3xl mt-10\",\n children: subTitle\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"hr\", {\n className: \"my-7\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(BoxNextToEachOther, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 27,\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: 28,\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: 35,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(ReligiousTimes, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 36,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(DistributedData, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 37,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 34,\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-2xl md:text-6xl font-bold\">{title}</h1>\n <p className=\"text-primary text-base md:text-3xl mt-10\">{subTitle}</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;EAAA,IAAxB;IAAEC,KAAF;I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