<?php if ( ! defined( 'ABSPATH' ) ) {
exit;} ?>
<div class=" elex-multi-vendor-for-woocommerce-wrap elex-multi-vendor-for-woocommerce-wrap-admin">

<div class="elex-multi-vendor-for-woocommerce-main ">
<img class="w-100 mb-2" src="<?php echo esc_url( ELEX_MULTI_VENDOR_MAIN_URL_PATH . 'images/top-banner.png' ); ?>" alt="">

<div class=" container-fluid py-3 mt-3 ">
	<h5 class="mb-3 "><b><?php esc_html_e( 'Help & Support', 'elex-multi-vendor-for-woocommerce' ); ?></b></h5>
	<ul class="nav elex-multi-vendor-for-woocommerce-shipping-link gap-3 bg-info bg-opacity-10 ">                
	<?php foreach ( $menus as $menu_item ) { ?>
			<li class="nav-item">
				<a
					class="nav-link shadow-none fw-bolder <?php echo esc_attr( ( $active_tab === $menu_item['slug'] ) ? 'active' : '' ); ?>"
				href="
				<?php
				echo esc_url(
					add_query_arg(
						array(
							'page' => 'elex-multi-vendor-for-woocommerce-help',
							'tab'  => $menu_item['slug'],
						),
						admin_url( 'admin.php' )
					)
				);
				?>
					"
				>
					<span><?php echo esc_attr( $menu_item['title'] ); ?></span>
				</a>
			</li>
		<?php } ?>

	</ul>
	<?php 
	/**
	* Fire an action hook for help & support tab
	*
	* @since 2.0.0
	* @param $active_tab
	*/
	do_action( 'elex_mv_help_and_support_tab_' . $active_tab );
	?>
		  
</div>
</div>
</div>
