<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
function sifency_addons_render_sync_state_upsell( $feature_name ) {
	$upgrade_url = 'https://sifency.com/sifency-addons'; ?>
<div class="sifency-premium-upsell-wrapper">
	<div class="sifency-premium-upsell-card">
		<div class="sifency-upsell-icon">
			<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="48" height="48" aria-hidden="true"
				focusable="false">
				<path
					d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z" />
			</svg>
		</div>
		<h2><?php /* translators: %s: feature name */ printf( esc_html__( '%s Templates are a Premium Feature', 'sifency-addons' ), esc_html( $feature_name ) ); ?>
		</h2>
		<p><?php esc_html_e( 'Upgrade to unlock this template type and gain access to all powerful features for building a professional website.', 'sifency-addons' ); ?>
		</p>
		<a href="<?php echo esc_url( $upgrade_url ); ?>" class="sifency-upgrade-button sifency-admin-btn"
			target="_blank">
			<?php esc_html_e( 'Upgrade to Pro', 'sifency-addons' ); ?>
		</a>
	</div>
</div>
	<?php
}