balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

ReduxTemplatesPremiumBox.js (1191B)


      1 const {__} = wp.i18n
      2 
      3 export default function ReduxTemplatesPremiumBox(props) {
      4 
      5 	const {toProActivateStep} = props;
      6 
      7 	const onNextStep = () => {
      8 		toProActivateStep();
      9 	}
     10 
     11 	return (
     12         <div className="redux-templates-modal-body">
     13             <div className="section-box premium-box">
     14                 <h3>{__('Upgrade to Redux Pro', redux_templates.i18n)}</h3>
     15 
     16                 <p>{__('Thanks for giving our library a try! Upgrade to Redux Pro to unlock even more designs and to continue using our library.', redux_templates.i18n)}</p>
     17 
     18                 <p>
     19                     <a href={redux_templates.u + 'import_wizard'} className="redux-templates-upgrade-button" title="{__('Redux Pro', redux_templates.i18n)}"
     20                        target='_blank'>{__('Upgrade Now Just $49', redux_templates.i18n)}</a>
     21 	                <small><em>Limited time only</em></small>
     22                 </p>
     23 	            <p className="subscription_key_button">
     24 		            <button type="button" className="components-button" aria-label="I have a subscription key" onClick={() => onNextStep()}>I have a subscription key
     25 		            </button>
     26 	            </p>
     27             </div>
     28         </div>
     29     );
     30 }