<!-- Button trigger modal -->
<?php if ($sn_popup): ?>
    <button type="button"
            data-mensagem="<?= $mensagem ?>"
            class="text-center btn btn-block  whats-btn modal_whatsapp_veiculo"
            data-url="<?= $link ?>"
            data-id="<?= $id ?>"
    >
        <?= $texto; ?>

    </button>

<?php else: ?>


    <a
            href="<?= $link ?>"
            rel="nofollow"
            class="text-center btn btn-block  whats-btn modal_whatsapp_veiculo"
            target="_blank"

    >
        <?= $texto; ?>

    </a>
<?php endif; ?>
