<?php
/**
 * @author 1902 Software
 * @copyright Copyright © 2023 1902 Software (https://1902software.com/magento/)
 * @package WriteTextAI_WriteTextAI
 */
?>

<div class="wtai-pro-badge" data-bind="scope: 'wtaiProBadge'">
    <span class="wtai-premium" data-bind="visible: showBadge()" style="display: none;">
        <?= $block->escapeHtml(__('PRO')) ?>
    </span>
</div>

<script type="text/x-magento-init">
{
    "*": {
        "Magento_Ui/js/core/app": {
            "components": {
                "wtaiProBadge": {
                    "component": "WriteTextAI_WriteTextAI/js/pro-badge"
                }
            }
        }
    }
}
</script> 