<?php
/**
 * Ovulation visual data results.
 *
 * @link       https://belovdigital.agency
 * @since      1.0.0
 *
 * @package    ultimate-ovulation-ovulation-calculator
 * @subpackage ultimate-ovulation-ovulation-calculator/public/partials
 *
 * @global array $atts (input data)
 */

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

?>

<div class="ulpc-result__ovulation-visual-date">
	<?php echo esc_html( $current_date ); ?>
</div>

<div class="ulpc-result__ovulation-visual-description">
	<?php echo esc_html( $ovulation_visual_data['description'] ); ?>
</div>

<div class="ulpc-result__ovulation-visual-image">
	<span class="ulpc-result__ovulation-visual-day <?php echo $is_custom_font ? 'ulpc-custom-font' : ''; ?>  ulpc-result__ovulation-visual-day--<?php echo esc_attr( $current_phase ); ?>"><?php echo esc_html__( 'Day', 'ultimate-pregnancy-ovulation-calculator' ); ?> <?php echo esc_html( $cycle_day ); ?></span>
	<img src="<?php echo esc_url( $ovulation_visual_data['image'] ); ?>" alt="<?php echo esc_attr( $ovulation_visual_data['name'] ); ?>">
</div>

<div class="ulpc-result__ovulation-visual-title">
	<?php echo esc_html( $ovulation_visual_data['name'] ); ?>
</div>
