<?php
/**
 * The template for displaying the main nav bar on main page or archive page
 *
 * Override this template by copying it to yourtheme/portfolios/navbar/main-navbar.php
 *
 * @author 		A3 Rev
 * @version     2.1.0
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}
?>
<div style="clear:both"></div>

<div class="a3-portfolio-navigation-mobile">
	<i class="a3-portfolio-navigation-mobile-icon a3-portfolio-icon-list"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M48 128c-17.7 0-32 14.3-32 32s14.3 32 32 32H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H48zm0 192c-17.7 0-32 14.3-32 32s14.3 32 32 32H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H48z"/></svg></i>
	<span><?php echo a3_portfolio_ei_ict_t__( 'Mobile Navigation', __( 'Navigation', 'a3-portfolio' ) ); ?></span>
</div>

<div style="clear:both"></div>

<div class="a3-portfolio-menus-container">

	<div style="clear:both"></div>

	<ul class="filter">

		<li>
			<a data-filter=".a3-portfolio-item" href="#" class="active"><?php echo a3_portfolio_ei_ict_t__( 'All Filter', __( 'All', 'a3-portfolio' ) ); ?></a>
		</li>

	<?php
		if ( is_array( $menus ) && count( $menus ) > 0 ) :

			foreach ( $menus as $menu_slug => $menu_name ):
	?>
		<li class="_<?php echo $menu_slug; ?>">
			<a data-filter=".<?php echo $menu_slug; ?>" href="#"><?php echo $menu_name; ?></a>
		</li>
	<?php
			endforeach;

		endif;
	?>

		<li style="display: none" class="_uncategorized">
			<a data-filter=".uncategorized" href="#"><?php echo __( 'Uncategorized', 'a3-portfolio' ); ?></a>
		</li>

	</ul>

	<div style="clear:both"></div>

</div>

<div style="clear:both"></div>