Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

1 рядок
6.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\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport React, { Component } from \"react\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Button from \"components/CustomButtons/Button.js\";\nimport Icon from \"@material-ui/core/Icon\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport Grid from '@material-ui/core/Grid';\nimport Card from \"components/Card/Card.js\";\nimport SnackbarContent from \"components/Snackbar/SnackbarContent.js\";\nimport imagesStyles from \"assets/jss/nextjs-material-kit/imagesStyles.js\";\nimport { cardTitle } from \"assets/jss/nextjs-material-kit.js\";\n\nconst styles = _objectSpread({}, imagesStyles, {\n cardTitle\n});\n\nconst useStyles = makeStyles(styles);\n\nconst DataFeature = 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 }, __jsx(\"div\", {\n align: \"center\",\n className: classes.section,\n id: \"notifications\"\n }, __jsx(SnackbarContent, {\n message: __jsx(\"h4\", null, \"Feature Product\"),\n align: \"center\",\n color: \"danger\"\n })), __jsx(GridContainer, {\n justify: \"center\",\n style: {\n padding: \"50px\",\n marginTop: \"-70px\"\n }\n }, __jsx(Grid, null, __jsx(Card, {\n style: {\n height: \"250px\",\n width: \"400px\",\n padding: \"20px\"\n }\n }, __jsx(\"img\", {\n className: classes.imgCard,\n src: \"https://a.ipricegroup.com/media/0630/2006_sprint12/harga_yamaha_motor.jpg\",\n alt: \"Card-img\",\n style: {\n height: \"200px\",\n width: \"350px\",\n display: \"block\"\n }\n }))), __jsx(Grid, null, __jsx(Card, {\n style: {\n height: \"250px\",\n width: \"400px\",\n padding: \"20px\"\n }\n }, __jsx(\"img\", {\n className: classes.imgCard,\n src: \"https://www.akhtarnews.com/wp-content/uploads/2019/03/harga-sparepart-yamaha.jpg\",\n alt: \"Card-img\",\n style: {\n height: \"200px\",\n width: \"350px\",\n display: \"block\"\n }\n }))), __jsx(Grid, null, __jsx(Card, {\n style: {\n height: \"250px\",\n width: \"400px\",\n padding: \"20px\"\n }\n }, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"img\", {\n className: classes.imgCard,\n src: \"https://2.bp.blogspot.com/-pzpJ-ltEFsA/V6Kh26cBoNI/AAAAAAAAAKY/ZLnJ9v_lDIcKUUNcoVKM8Qw0Izawq08_wCLcB/s1600/yamalube%2B2.jpg\",\n alt: \"Card-img\",\n style: {\n height: \"200px\",\n width: \"300px\",\n display: \"block\"\n }\n })))), __jsx(Grid, null, __jsx(Card, {\n style: {\n height: \"250px\",\n width: \"400px\",\n padding: \"20px\"\n }\n }, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"img\", {\n className: classes.imgCard,\n src: \"https://aomc.mx/mm5/graphics/00000001/X0779100X.jpg\",\n alt: \"Card-img\",\n style: {\n height: \"200px\",\n width: \"200px\",\n display: \"block\"\n }\n })))), __jsx(Grid, null, __jsx(Card, {\n style: {\n height: \"250px\",\n width: \"400px\",\n padding: \"20px\"\n }\n }, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"img\", {\n className: classes.imgCard,\n src: \"https://content.motosport.com/images/items/900/TLD/TLDY0AF/X001.jpg\",\n alt: \"Card-img\",\n style: {\n height: \"200px\",\n width: \"200px\",\n display: \"block\"\n }\n })))), __jsx(Grid, null, __jsx(Card, {\n style: {\n height: \"250px\",\n width: \"400px\",\n padding: \"20px\"\n }\n }, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"img\", {\n className: classes.imgCard,\n src: \"https://static.wixstatic.com/media/bb08a6_fe756d074abc4e4c86ed0fe0134e50a5~mv2.jpg/v1/fill/w_960,h_429,al_c,q_85/bb08a6_fe756d074abc4e4c86ed0fe0134e50a5~mv2.webp\",\n alt: \"Card-img\",\n style: {\n height: \"200px\",\n width: \"350px\",\n display: \"block\"\n }\n }))))));\n};\n\nexport default DataFeature;","map":null,"metadata":{},"sourceType":"module"}