<?php
/**
 * Template part for displaying Date Format
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package Nevo
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

if ( function_exists( 'yith_woocompare_constructor' ) ) {
	?>
	<div class="header-compare yith-woocompare-open item-compare builder-item-focus" data-section="wishlist_compare">
		<a class="compare added" rel="nofollow" href="#" aria-label="Add Compare">
			<?php echo nevo_get_svg_icon( 'ui', 'bi-arrow-repeat', '', 25 ); ?>
			<span class="info-tooltip">
				<?php esc_html_e( 'Compare', 'nevo' ); ?>
			</span>
		</a>
		<?php
		if ( is_customize_preview() ) {
			echo '<span class="customize-partial-edit">'. esc_html__( 'Compare', 'nevo' ) .'</span>';
		}
		?>
	</div>
	<?php
}