<?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 ">
			<div class="toast p-2 position-fixed top-0 start-50 translate-middle-x bg-white mt-4" id="elex_mv_change_tab_toast">
			<div class="toast-header border-0 ">
				<strong class="me-auto">
					<svg xmlns="http://www.w3.org/2000/svg" width="22.415" height="22.026" viewBox="0 0 22.415 22.026" class="me-2">
						<g id="Icon_feather-check-circle" data-name="Icon feather-check-circle" transform="translate(-1.998 -1.979)">
							<path id="Path_646" data-name="Path 646" d="M23,12.076V13a10,10,0,1,1-5.93-9.139" fill="none" stroke="#28a745" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
							<path id="Path_647" data-name="Path 647" d="M26.5,6l-10,10.009-3-3" transform="translate(-3.5 -1.003)" fill="none" stroke="#28a745" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
						</g>
						</svg>
					<span id="toast_message_mv" >Changes are saved</span></strong>
				<button type="button" class="btn-close" data-bs-dismiss="toast"></button>
			</div> 
			</div>

	<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-settings',
							'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 settings tab
 *
		 * @since 2.0.0
		 * @param $active_tab
		 */
	do_action( 'elex_mv_settings_tab_' . $active_tab );
	?>
		  
</div>
</div>
</div>

