From 26fe2afdc82641a5e977ddf3a825366f480f27fd Mon Sep 17 00:00:00 2001 From: gabiermi Date: Tue, 16 Apr 2024 13:10:20 +0500 Subject: [PATCH] notice fix --- omnisend/build/notices.asset.php | 2 +- omnisend/build/notices.js | 4 ++-- omnisend/build/notices.js.map | 2 +- omnisend/src/notices/components/discount-notice.js | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/omnisend/build/notices.asset.php b/omnisend/build/notices.asset.php index 9b37b52..f81f85c 100644 --- a/omnisend/build/notices.asset.php +++ b/omnisend/build/notices.asset.php @@ -1 +1 @@ - array('react', 'wp-element'), 'version' => '3821d14dadbfd56a6a55'); + array('react', 'wp-element'), 'version' => '852e81e333ddf505a95c'); diff --git a/omnisend/build/notices.js b/omnisend/build/notices.js index 0940465..a5112bb 100644 --- a/omnisend/build/notices.js +++ b/omnisend/build/notices.js @@ -21,11 +21,11 @@ const DiscountNotice = () => { }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("img", { src: "/wp-content/plugins/omnisend/assets/img/omnisend-notice-discount-icon.svg" }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", null, "Get 30% off Omnisend for 6 months with code ", (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("span", { - class: "omnisend-custom-notice-strong-text" + class: "omnisend-notice omnisend-custom-notice-strong-text" }, "ONLYHOSTINGER30")), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("a", { href: "https://your.omnisend.com/LXqyZ0", target: "_blank", - class: "omnisend-custom-notice-discount-button" + class: "omnisend-notice omnisend-custom-notice-discount-button" }, "Get Omnisend discount")); }; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DiscountNotice); diff --git a/omnisend/build/notices.js.map b/omnisend/build/notices.js.map index efe1b34..1182d0a 100644 --- a/omnisend/build/notices.js.map +++ b/omnisend/build/notices.js.map @@ -1 +1 @@ -{"version":3,"file":"notices.js","mappings":";;;;;;;;;;;;;;;;;AAAA,MAAMA,cAAc,GAAGA,CAAA,KACvB;EACI,OACIC,oDAAA;IAAKC,KAAK,EAAC;EAAwC,GAC/CD,oDAAA;IAAKE,GAAG,EAAC;EAA2E,CAAE,CAAC,EAEvFF,oDAAA,cAAK,8CAA4C,EAAAA,oDAAA;IAAMC,KAAK,EAAC;EAAoC,GAAC,iBAAqB,CAAM,CAAC,EAC9HD,oDAAA;IAAGG,IAAI,EAAC,kCAAkC;IAACC,MAAM,EAAC,QAAQ;IAACH,KAAK,EAAC;EAAwC,GAAC,uBAAwB,CACjI,CAAC;AAEd,CAAC;AAED,iEAAeF,cAAc;;;;;;;;;;ACZ7B;;;;;;;;;;ACAA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;;;;;;;;;;;;;ACN4C;AACc;AAE1DM,0DAAM,CACFL,oDAAA,CAACD,mEAAc,MAAE,CAAC,EAClBO,QAAQ,CAACC,cAAc,CAAE,oCAAqC,CAClE,CAAC,C","sources":["webpack://wp-omnisend/./src/notices/components/discount-notice.js","webpack://wp-omnisend/external window \"React\"","webpack://wp-omnisend/external window [\"wp\",\"element\"]","webpack://wp-omnisend/webpack/bootstrap","webpack://wp-omnisend/webpack/runtime/compat get default export","webpack://wp-omnisend/webpack/runtime/define property getters","webpack://wp-omnisend/webpack/runtime/hasOwnProperty shorthand","webpack://wp-omnisend/webpack/runtime/make namespace object","webpack://wp-omnisend/./src/notices/index.js"],"sourcesContent":["const DiscountNotice = () =>\n{\n return (\n
\n \n\n
Get 30% off Omnisend for 6 months with code ONLYHOSTINGER30
\n Get Omnisend discount\n
\n );\n};\n\nexport default DiscountNotice;\n","module.exports = window[\"React\"];","module.exports = window[\"wp\"][\"element\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import { render } from \"@wordpress/element\";\nimport DiscountNotice from './components/discount-notice';\n\nrender(\n ,\n document.getElementById( \"omnisend-hostinger-discount-notice\" ),\n);\n"],"names":["DiscountNotice","createElement","class","src","href","target","render","document","getElementById"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"notices.js","mappings":";;;;;;;;;;;;;;;;;AAAA,MAAMA,cAAc,GAAGA,CAAA,KACvB;EACI,OACIC,oDAAA;IAAKC,KAAK,EAAC;EAAwC,GAC/CD,oDAAA;IAAKE,GAAG,EAAC;EAA2E,CAAE,CAAC,EAEvFF,oDAAA,cAAK,8CAA4C,EAAAA,oDAAA;IAAMC,KAAK,EAAC;EAAoD,GAAC,iBAAqB,CAAM,CAAC,EAC9ID,oDAAA;IAAGG,IAAI,EAAC,kCAAkC;IAACC,MAAM,EAAC,QAAQ;IAACH,KAAK,EAAC;EAAwD,GAAC,uBAAwB,CACjJ,CAAC;AAEd,CAAC;AAED,iEAAeF,cAAc;;;;;;;;;;ACZ7B;;;;;;;;;;ACAA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;;;;;;;;;;;;;ACN4C;AACc;AAE1DM,0DAAM,CACFL,oDAAA,CAACD,mEAAc,MAAE,CAAC,EAClBO,QAAQ,CAACC,cAAc,CAAE,oCAAqC,CAClE,CAAC,C","sources":["webpack://wp-omnisend/./src/notices/components/discount-notice.js","webpack://wp-omnisend/external window \"React\"","webpack://wp-omnisend/external window [\"wp\",\"element\"]","webpack://wp-omnisend/webpack/bootstrap","webpack://wp-omnisend/webpack/runtime/compat get default export","webpack://wp-omnisend/webpack/runtime/define property getters","webpack://wp-omnisend/webpack/runtime/hasOwnProperty shorthand","webpack://wp-omnisend/webpack/runtime/make namespace object","webpack://wp-omnisend/./src/notices/index.js"],"sourcesContent":["const DiscountNotice = () =>\n{\n return (\n
\n \n\n
Get 30% off Omnisend for 6 months with code ONLYHOSTINGER30
\n Get Omnisend discount\n
\n );\n};\n\nexport default DiscountNotice;\n","module.exports = window[\"React\"];","module.exports = window[\"wp\"][\"element\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import { render } from \"@wordpress/element\";\nimport DiscountNotice from './components/discount-notice';\n\nrender(\n ,\n document.getElementById( \"omnisend-hostinger-discount-notice\" ),\n);\n"],"names":["DiscountNotice","createElement","class","src","href","target","render","document","getElementById"],"sourceRoot":""} \ No newline at end of file diff --git a/omnisend/src/notices/components/discount-notice.js b/omnisend/src/notices/components/discount-notice.js index 96b5021..0fff72c 100644 --- a/omnisend/src/notices/components/discount-notice.js +++ b/omnisend/src/notices/components/discount-notice.js @@ -4,8 +4,8 @@ const DiscountNotice = () =>
-
Get 30% off Omnisend for 6 months with code ONLYHOSTINGER30
- Get Omnisend discount +
Get 30% off Omnisend for 6 months with code ONLYHOSTINGER30
+ Get Omnisend discount
); };