PluginProbe
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO / 1.3.51
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO v1.3.51
1.4.17 1.4.16 1.4.15 1.4.14 1.4.13 1.4.12 1.4.11 1.4.10 1.4.9 1.4.8 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4.0 1.3.54 1.3.53 1.3.52 1.3.51 1.3.50 1.3.49 1.3.48 All 180 releases
disco / backend / views / components / Main / components / ProIcon.jsx

ProIcon.jsx in Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO 1.3.51, at backend/views/components/Main/components/ProIcon.jsx

23 lines 637 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import { __ } from '@wordpress/i18n';
2
3 export default function ProIcon() {
4 const handleClick = (e) => {
5 e.stopPropagation();
6 window.open(
7 'https://discoplugin.com/?utm_source=display_tab&utm_medium=text_button&utm_campaign=free-pro&utm_id=1',
8 '_blank'
9 );
10 };
11
12 return (
13 <div
14 onClick={handleClick}
15 className="disco-bg-[linear-gradient(0deg,#FFCF56_-0.01%,#F8B203_37.95%,#FFCE32_58.84%,#FFDB00_86.4%,#FFE259_97.52%,#FFD000_100%)] disco-px-1 disco-py-0 disco-rounded disco-cursor-pointer"
16 >
17 <div className="disco-text-[#24292E] disco-text-sm disco-font-semibold">
18 {__('Pro', 'disco')}
19 </div>
20 </div>
21 );
22 }
23