<?php
/**
 * Clean template view.
 *
 * @package VoidPulse
 */

defined( 'ABSPATH' ) || exit;

return static function ( $view ) {
	?>
	<aside class="voidpulse voidpulse--clean" aria-label="<?php esc_attr_e( 'Recent store activity', 'voidpulse-social-proof-for-woocommerce' ); ?>" aria-live="off">
		<?php if ( ! empty( $view['product_image'] ) ) : ?>
			<img class="voidpulse__image" src="<?php echo esc_url( $view['product_image'] ); ?>" alt="" loading="lazy" />
		<?php endif; ?>
		<a class="voidpulse__message" href="<?php echo esc_url( $view['product_url'] ); ?>"><?php echo esc_html( $view['message'] ); ?></a>
	</aside>
	<?php
};
