<?php

namespace DropshippingExportFreeVendor;

use DropshippingExportFreeVendor\WPDesk\Library\FlexibleQuantityCore\PluginConfig;
use DropshippingExportFreeVendor\WPDesk\Library\Marketing\Boxes\MarketingBoxes;
/**
 * @var MarketingBoxes $boxes
 * @var bool $is_pl
 * @var string $marketing_slug
 */
$boxes = $params['boxes'] ?? \false;
if (!$boxes) {
    return;
}
if ($marketing_slug === 'woocommerce-dropshipping-export') {
    $get_support_url = $is_pl ? 'https://wpdesk.link/dropshipping-pro-support-pl' : 'https://wpdesk.link/dropshipping-pro-support';
} else {
    $get_support_url = 'https://wordpress.org/support/plugin/dropshipping-export-for-woocommerce/';
}
$share_ideas_url = $is_pl ? 'https://wpdesk.link/dropshipping-pro-idea-pl' : 'https://wpdesk.link/dropshipping-pro-idea';
?>
<div class="wrap">
	<div id="marketing-page-wrapper">
		<?php 
echo $boxes->get_boxes()->get_all();
//phpcs:ignore 
?>

		<div class="marketing-buttons">
			<a class="button button-primary button-support" target="_blank" href="<?php 
echo \esc_url($get_support_url);
?>"><?php 
\esc_html_e('Get support', 'dropshipping-export-free');
?></a>
			<a class="button button-primary button-idea" target="_blank" href="<?php 
echo \esc_url($share_ideas_url);
?>"><?php 
\esc_html_e('Share idea', 'dropshipping-export-free');
?></a>
		</div>
	</div>
</div>
<?php 
