<?php
/**
 * Provide a admin area view for the plugin
 *
 * This file is used to markup the admin-facing aspects of the plugin.
 * This file should primarily consist of HTML with a little bit of PHP
 *
 * @link       https://personalizewp.com
 * @since      1.0.0
 *
 * @package    PersonalizeWP
 * @subpackage PersonalizeWP/Admin/Partials
 */

defined( 'ABSPATH' ) || exit; // Exit if accessed directly.

?>

<main class="dashboard with-sidebar" data-direction="rtl">

	<section>
		<h2 class="dashboard-title"><?php esc_html_e( 'Features', 'personalizewp' ); ?></h2>
		<p class="dashboard-description">
			<?php // esc_html_e( 'The plugin includes all of our display conditions for showing and hiding your content blocks.', 'personalizewp' ); ?>
			<?php // esc_html_e( 'The Pro version of PersonalizeWP offers additional functionality to track your visitors, segment them into groups, add lead scoring, and control access to blocks.', 'personalizewp' ); ?>
		</p>

		<div class="pwp-tiles grid">
		<?php
		foreach ( $tiles as $tile ) :
			include plugin_dir_path( __FILE__ ) . '_other/tile.php';
		endforeach;
		?>
		</div>

		<?php
		/**
		 * Fires before the closing tag for the dashboard main section.
		 *
		 * @since 3.2.0
		 */
		do_action( 'personalizewp_dashboard_content' );
		?>
	</section>

	<?php
	/**
	 * Fires before the closing tag for the dashboard footer.
	 *
	 * @since 3.0.0
	 */
	do_action( 'personalizewp_dashboard_footer' );
	?>
</main>
