<?php
/**
 * Soft announcement marquee.
 *
 * @package Foliora
 */

$lines = array(
	'Free shipping on orders $50+ • A little something for your next chapter',
	'Free shipping $50+ — because good books deserve good company.',
	'Made for slow chapters & quiet evenings',
);
?>
<div class="announce" data-marquee>
	<div class="announce__track">
		<?php for ( $i = 0; $i < 2; $i++ ) : ?>
			<div class="announce__group" aria-hidden="<?php echo 0 === $i ? 'false' : 'true'; ?>">
				<?php foreach ( $lines as $line ) : ?>
					<span><?php echo esc_html( $line ); ?></span>
				<?php endforeach; ?>
			</div>
		<?php endfor; ?>
	</div>
</div>
