<?php
/**
 * Admin changelog page template.
 *
 * @package DreamFast_CF
 *
 * @var string $changelog
 */

namespace DreamFast\CommerceFloat;

defined( 'ABSPATH' ) || exit;
?>
<div class="wrap df-sf-admin">
	<h1><?php esc_html_e( 'Changelog', 'dreamfast-commerce-float' ); ?></h1>
	<p class="description">
		<?php esc_html_e( 'Review recent changes, fixes, and release notes.', 'dreamfast-commerce-float' ); ?>
	</p>

	<div class="df-sf-changelog-card">
		<?php if ( '' !== trim( $changelog ) ) : ?>
			<pre><?php echo esc_html( $changelog ); ?></pre>
		<?php else : ?>
			<p><?php esc_html_e( 'No changelog is available yet.', 'dreamfast-commerce-float' ); ?></p>
		<?php endif; ?>
	</div>
</div>
