<?php
    if (!isset($data)) {
        $data = false;
        $type = false;
    }
    if ($data) {
        $target = $data['target'] ? $data['target'] : '_self';
    }
?>

<?php if($data): ?>
    <a href="<?php echo e($data['url']); ?>" target="<?php echo e($target); ?>" class="button <?php if($type): ?> button--<?php echo e($type); ?> <?php endif; ?>"><?php echo e($data['title']); ?></a>
<?php endif; ?><?php /**PATH /home/aphea/new/public/app/themes/aphea/resources/views/elements/button.blade.php ENDPATH**/ ?>