Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

1 riga
4.8 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 { makeStyles } from \"@material-ui/core/styles\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport Grid from '@material-ui/core/Grid';\nimport Paper from '@material-ui/core/Paper';\nimport Card from \"components/Card/Card.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/profilePage.js\";\nimport SnackbarContent from \"components/Snackbar/SnackbarContent.js\";\nimport Button from \"components/CustomButtons/Button.js\";\nimport Icon from \"@material-ui/core/Icon\";\nimport Carousel from \"react-slick\";\nimport CardBody from \"components/Card/CardBody.js\";\nimport Selling from \"assets/img/service/selling.png\";\nimport Service from \"assets/img/service/service.jpg\";\nimport Sparepart from \"assets/img/service/sparepart.jpg\";\nconst useStyles = makeStyles(styles);\n\nconst DataService = function (_ref) {\n let {\n backend,\n service\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"backend\", \"service\"]);\n\n const classes = useStyles();\n const settings = {\n dots: true,\n infinite: true,\n speed: 500,\n slidesToShow: 1,\n slidesToScroll: 1,\n autoplay: true,\n time: 5\n };\n return __jsx(\"div\", {\n className: classes.section,\n id: \"notifications\",\n style: {\n marginTop: \"30px\"\n }\n }, __jsx(\"div\", {\n style: {\n padding: \"20px\"\n },\n align: \"center\"\n }, __jsx(\"div\", {\n align: \"center\",\n className: classes.section,\n id: \"notifications\"\n }, __jsx(SnackbarContent, {\n align: \"center\",\n color: \"info\",\n message: \"Thamrin Brothers - Yamaha 3S\"\n }))), __jsx(\"div\", null, __jsx(Grid, {\n container: true,\n style: {\n padding: \"40px\",\n marginTop: \"-50px\"\n },\n justify: \"center\"\n }, __jsx(Grid, {\n align: \"center\",\n style: {\n padding: \"30px\",\n marginTop: \"-50px\"\n }\n }, __jsx(Card, {\n style: {\n width: \"20rem\"\n }\n }, __jsx(\"img\", {\n style: {\n width: \"320px\",\n display: \"block\"\n },\n className: \"image\",\n className: classes.imgCardTop,\n src: Selling\n }), __jsx(CardBody, null, __jsx(\"h4\", null, __jsx(\"strong\", null, \"Yamaha Selling Product\")), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(Button, {\n color: \"info\",\n round: true,\n href: \"/yamaha/product/product\",\n target: \"_blank\"\n }, __jsx(Icon, {\n className: classes.icons\n }, \"room\"), \"View More Selling\"))))), __jsx(Grid, {\n align: \"center\",\n style: {\n padding: \"30px\",\n marginTop: \"-50px\"\n }\n }, __jsx(Card, {\n style: {\n width: \"20rem\"\n }\n }, __jsx(\"img\", {\n style: {\n width: \"320px\",\n display: \"block\"\n },\n className: \"image\",\n className: classes.imgCardTop,\n src: Service\n }), __jsx(CardBody, null, __jsx(\"h4\", null, __jsx(\"strong\", null, \"Yamaha Service Product\")), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(Button, {\n color: \"info\",\n round: true,\n href: \"https://booking.thamrin.co.id/\",\n target: \"_blank\"\n }, __jsx(Icon, {\n className: classes.icons\n }, \"room\"), \"View More Service\"))))), __jsx(Grid, {\n align: \"center\",\n style: {\n padding: \"30px\",\n marginTop: \"-50px\"\n }\n }, __jsx(Card, {\n style: {\n width: \"20rem\"\n }\n }, __jsx(\"img\", {\n style: {\n width: \"320px\",\n display: \"block\"\n },\n className: \"image\",\n className: classes.imgCardTop,\n src: Sparepart\n }), __jsx(CardBody, null, __jsx(\"h4\", null, __jsx(\"strong\", null, \"Yamaha Sparepart Product\")), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(Button, {\n color: \"info\",\n round: true,\n href: \"sparepart/sparepart\",\n target: \"_blank\"\n }, __jsx(Icon, {\n className: classes.icons\n }, \"room\"), \"View More Sparepart\"))))))));\n};\n\nexport default DataService;","map":null,"metadata":{},"sourceType":"module"}