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.5 KiB

  1. {"ast":null,"code":"import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"backend\", \"service\"];\nvar __jsx = React.createElement;\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 Selling from \"assets/img/service/selling.png\";\nimport Service from \"assets/img/service/service.jpg\";\nimport Sparepart from \"assets/img/service/sparepart.jpg\";\nvar useStyles = makeStyles(styles);\n\nvar DataService = function DataService(_ref) {\n var _jsx, _jsx2, _jsx3;\n\n var backend = _ref.backend,\n service = _ref.service,\n props = _objectWithoutProperties(_ref, _excluded);\n\n var classes = useStyles();\n var 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 marginTop: \"-50px\"\n }\n }, __jsx(Grid, {\n item: true,\n xs: 4,\n className: classes.marginAuto\n }, __jsx(\"div\", {\n style: {\n padding: \"20px\"\n },\n className: \"container\"\n }, __jsx(Card, null, __jsx(Carousel, settings, __jsx(\"img\", (_jsx = {\n style: {\n height: \"180px\",\n width: \"300px\",\n display: \"block\"\n },\n className: \"image\"\n }, _defineProperty(_jsx, \"className\", classes.imgCardTop), _defineProperty(_jsx, \"src\", Selling), _jsx)))), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"h3\", null, __jsx(\"b\", null, \"Yamaha Selling Product\")), __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 item: true,\n xs: 4,\n className: classes.marginAuto\n }, __jsx(\"div\", {\n style: {\n padding: \"20px\"\n },\n className: \"container\"\n }, __jsx(Card, null, __jsx(Carousel, settings, __jsx(\"img\", (_jsx2 = {\n style: {\n width: \"300px\",\n display: \"block\"\n },\n className: \"image\"\n }, _defineProperty(_jsx2, \"className\", classes.imgCardTop), _defineProperty(_jsx2, \"src\", Service), _jsx2)))), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"h3\", null, __jsx(\"b\", null, \"Yamaha Service Product\")), __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 item: true,\n xs: 4,\n className: classes.marginAuto\n }, __jsx(\"div\", {\n style: {\n padding: \"20px\"\n },\n className: \"container\"\n }, __jsx(Card, null, __jsx(Carousel, settings, __jsx(\"img\", (_jsx3 = {\n style: {\n height: \"180px\",\n width: \"300px\",\n display: \"block\"\n },\n className: \"image\"\n }, _defineProperty(_jsx3, \"className\", classes.imgCardTop), _defineProperty(_jsx3, \"src\", Sparepart), _jsx3)))), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"h3\", null, __jsx(\"b\", null, \"Yamaha Sparepart Product\")), __jsx(Button, {\n color: \"info\",\n round: true,\n href: \"sparepart/sparepart\",\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"}