Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 

1 rinda
5.0 KiB

  1. {"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Select from 'react-select';\nimport Button from \"components/CustomButtons/Button.js\";\nimport Icon from \"@material-ui/core/Icon\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js\";\nimport Card from \"components/Card/Card.js\";\nimport CardBody from \"components/Card/CardBody.js\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport SnackbarContent from \"components/Snackbar/SnackbarContent.js\";\nconst useStyles = makeStyles(styles);\n\nconst DataApparel = function (_ref) {\n let {\n selected,\n handleName,\n backend,\n apparel,\n asia,\n basic,\n merchand,\n maxi,\n rainsuit,\n motogp,\n offroad\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"selected\", \"handleName\", \"backend\", \"apparel\", \"asia\", \"basic\", \"merchand\", \"maxi\", \"rainsuit\", \"motogp\", \"offroad\"]);\n\n const classes = useStyles();\n const rest = Object.assign({}, props);\n const imageClasses = classNames(classes.imgRaised, classes.imgRoundedCircle, classes.imgFluid);\n const navImageClasses = classNames(classes.imgRounded, classes.imgGallery);\n const ProductApparelRCon = apparel.map(data => {\n return __jsx(\"div\", {\n style: {\n padding: \"20px\",\n marginTop: \"-40px\"\n }\n }, __jsx(Card, {\n className: classes.textCenter,\n align: \"center\",\n style: {\n width: \"350px\"\n }\n }, __jsx(CardBody, null, __jsx(\"div\", {\n style: {\n padding: \"10px\"\n }\n }, __jsx(\"img\", {\n alt: \"...\",\n style: {\n height: \"150px\",\n display: \"block\"\n },\n src: `${backend}${data.img[\"url\"]}`,\n className: navImageClasses\n }), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"h5\", null, data.name), __jsx(\"h5\", null, \"Rp.\", data.price), __jsx(Button, {\n color: \"info\",\n round: true,\n href: \"/yamaha/product/apparel_details?s=\" + data.id\n }, __jsx(Icon, {\n className: classes.icons\n }, \"open_in_new\"), \"Detail Product\"))))));\n });\n const ProductApparelAsia = asia.map(data => {\n return __jsx(\"div\", {\n style: {\n padding: \"20px\",\n marginTop: \"-40px\"\n }\n }, __jsx(Card, {\n className: classes.textCenter,\n align: \"center\",\n style: {\n width: \"350px\"\n }\n }, __jsx(CardBody, null, __jsx(\"div\", {\n style: {\n padding: \"10px\"\n }\n }, __jsx(\"img\", {\n alt: \"...\",\n style: {\n height: \"150px\",\n display: \"block\"\n },\n src: `${backend}${data.img[\"url\"]}`,\n className: navImageClasses\n }), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"h5\", null, data.name), __jsx(\"h5\", null, \"Rp.\", data.price), __jsx(Button, {\n color: \"info\",\n round: true,\n href: \"/yamaha/product/apparel_details?s=\" + data.id\n }, __jsx(Icon, {\n className: classes.icons\n }, \"open_in_new\"), \"Detail Product\"))))));\n });\n return __jsx(\"div\", null, __jsx(Card, {\n className: classes.textCenter,\n align: \"center\"\n }, __jsx(CardBody, null, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"div\", {\n align: \"center\",\n className: classes.section,\n id: \"notifications\"\n }, __jsx(SnackbarContent, {\n message: __jsx(\"h4\", null, \"APPAREL R CONCEPT\"),\n align: \"center\",\n color: \"danger\"\n })), __jsx(GridContainer, {\n justify: \"center\"\n }, ProductApparelRCon)), __jsx(\"br\", null), __jsx(\"br\", null), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"div\", {\n align: \"center\",\n className: classes.section,\n id: \"notifications\"\n }, __jsx(SnackbarContent, {\n message: __jsx(\"h4\", null, \"APPAREL 46ASIA\"),\n align: \"center\",\n color: \"danger\"\n })), __jsx(GridContainer, {\n justify: \"center\"\n }, ProductApparelAsia)), __jsx(\"br\", null), __jsx(\"br\", null))));\n};\n\nexport default DataApparel;","map":null,"metadata":{},"sourceType":"module"}