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 rivi
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 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 return __jsx(\"div\", {\n className: classes.section,\n id: \"notifications\",\n style: {\n marginTop: \"-30px\"\n }\n }, __jsx(\"div\", {\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 }))), __jsx(\"div\", null, __jsx(GridContainer, {\n style: {\n padding: \"40px\"\n },\n justify: \"center\"\n }, __jsx(Grid, {\n align: \"center\",\n style: {\n padding: \"25px\",\n marginTop: \"-30px\"\n }\n }, __jsx(Card, {\n style: {\n width: \"20rem\"\n }\n }, __jsx(\"div\", {\n align: \"center\",\n className: \"container\"\n }, __jsx(\"img\", {\n style: {\n height: \"180px\",\n width: \"300px\",\n display: \"block\"\n },\n className: \"image\",\n className: classes.imgCardTop,\n src: Selling\n }), __jsx(\"div\", {\n className: \"middle\"\n }, __jsx(\"div\", {\n className: \"text\"\n }, \"Selling\")))), __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 }, \"open_in_new\"), \"View More Selling\"))), __jsx(Grid, {\n align: \"center\",\n style: {\n padding: \"25px\",\n marginTop: \"-30px\"\n }\n }, __jsx(Card, {\n style: {\n width: \"20rem\"\n }\n }, __jsx(\"div\", {\n align: \"center\",\n className: \"container\"\n }, __jsx(\"img\", {\n style: {\n height: \"180px\",\n width: \"300px\",\n display: \"block\"\n },\n className: \"image\",\n className: classes.imgCardTop,\n src: Service\n }), __jsx(\"div\", {\n className: \"middle\"\n }, __jsx(\"div\", {\n className: \"text\"\n }, \"Service\")))), __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 }, \"open_in_new\"), \"View More Service\"))), __jsx(Grid, {\n align: \"center\",\n style: {\n padding: \"25px\",\n marginTop: \"-30px\"\n }\n }, __jsx(Card, {\n style: {\n width: \"20rem\"\n }\n }, __jsx(\"div\", {\n align: \"center\",\n className: \"container\"\n }, __jsx(\"img\", {\n style: {\n height: \"180px\",\n width: \"300px\",\n display: \"block\"\n },\n className: \"image\",\n className: classes.imgCardTop,\n src: Sparepart\n }), __jsx(\"div\", {\n className: \"middle\"\n }, __jsx(\"div\", {\n className: \"text\"\n }, \"Sparepart\")))), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(Button, {\n color: \"info\",\n round: true,\n href: \"https://yamaha.thamrin.co.id/\",\n target: \"_blank\"\n }, __jsx(Icon, {\n className: classes.icons\n }, \"open_in_new\"), \"View More Sparepart\"))))));\n};\n\nexport default DataService;","map":null,"metadata":{},"sourceType":"module"}