Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

1 строка
3.9 KiB

  1. {"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar __jsx = React.createElement;\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport GridItem from \"components/Grid/GridItem.js\";\nimport NavPills from \"components/NavPills/NavPills.js\";\nimport Card from \"components/Card/Card.js\";\nimport CardBody from \"components/Card/CardBody.js\";\nimport CardHeader from \"components/Card/CardHeader.js\";\nimport Button from \"components/CustomButtons/Button.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/profilePage.js\";\nimport Icon from \"@material-ui/core/Icon\";\nimport { Motorcycle } from \"@material-ui/icons\";\nimport NumberFormat from 'react-number-format';\nvar useStyles = makeStyles(styles);\n\nvar DataProduct = function DataProduct(_ref) {\n var backend = _ref.backend,\n ygp = _ref.ygp,\n yamalube = _ref.yamalube,\n helmet = _ref.helmet,\n apparel = _ref.apparel,\n accessories = _ref.accessories,\n props = _objectWithoutProperties(_ref, [\"backend\", \"ygp\", \"yamalube\", \"helmet\", \"apparel\", \"accessories\"]);\n\n var classes = useStyles();\n\n var rest = _extends({}, props);\n\n var imageClasses = classNames(classes.imgRaised, classes.imgRoundedCircle, classes.imgFluid);\n var navImageClasses = classNames(classes.imgRounded, classes.imgGallery);\n var Productmaxi = ygp.map(function (data) {\n return __jsx(\"div\", {\n style: {\n padding: \"20px\",\n marginTop: \"-40px\"\n }\n }, __jsx(\"h1\", null, \"Tes\"));\n });\n var Productmatic = yamalube.map(function (data) {\n return __jsx(\"div\", {\n style: {\n padding: \"20px\",\n marginTop: \"-40px\"\n }\n }, __jsx(\"h1\", null, \"Tes\"));\n });\n var Productnaked = helmet.map(function (data) {\n return __jsx(\"div\", {\n style: {\n padding: \"20px\",\n marginTop: \"-40px\"\n }\n }, __jsx(\"h1\", null, \"Tes\"));\n });\n var Productcbu = apparel.map(function (data) {\n return __jsx(\"div\", {\n style: {\n padding: \"20px\",\n marginTop: \"-40px\"\n }\n }, __jsx(\"h1\", null, \"Tes\"));\n });\n var Productasds = accessories.map(function (data) {\n return __jsx(\"div\", {\n style: {\n padding: \"20px\",\n marginTop: \"-40px\"\n }\n }, __jsx(\"h1\", null, \"Tes\"));\n });\n return __jsx(Card, {\n className: classes.textCenter\n }, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(CardHeader, {\n color: \"info\"\n }, \"Product\")), __jsx(CardBody, null, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"h2\", null, \"Product & Facilities\")), __jsx(GridContainer, {\n justify: \"center\"\n }, __jsx(GridItem, null, __jsx(NavPills, {\n alignCenter: true,\n color: \"primary\",\n tabs: [{\n tabButton: \"YGP\",\n tabIcon: Motorcycle,\n tabContent: __jsx(GridContainer, {\n justify: \"center\"\n }, Productmaxi)\n }, {\n tabButton: \"Yamalube\",\n tabIcon: Motorcycle,\n tabContent: __jsx(GridContainer, {\n justify: \"center\"\n }, Productmatic)\n }, {\n tabButton: \"Helmet\",\n tabIcon: Motorcycle,\n tabContent: __jsx(GridContainer, {\n justify: \"center\"\n }, Productnaked)\n }, {\n tabButton: \"Apparel\",\n tabIcon: Motorcycle,\n tabContent: __jsx(GridContainer, {\n justify: \"center\"\n }, Productcbu)\n }, {\n tabButton: \"Accessories\",\n tabIcon: Motorcycle,\n tabContent: __jsx(GridContainer, {\n justify: \"center\"\n }, Productasds)\n }]\n })))));\n};\n\nexport default DataProduct;","map":null,"metadata":{},"sourceType":"module"}