<?php
/**
 * Copyright © 2016 Magento. All rights reserved.
 * See COPYING.txt for license details.
 */
// @codingStandardsIgnoreFile

/** @var $block \Magento\Catalog\Block\Catalog\Product\View\Addto\Compare */
?>

<div>
    <a href="#" data-post='<?php /* @escapeNotVerified */ echo $block->getPostDataParams(); ?>'
       data-role="add-to-links"
       class="action tocompare">
        <i class="fal fa-align-left fa-fw" data-fa-transform="rotate-270" title="<?php echo $block->escapeHtml(__('Add to Compare')); ?>"></i>
        <span><?php /* @escapeNotVerified */ echo __('Add to Compare') ?></span>
    </a>
</div>
