<?php
/**
 * The template for displaying layout-1
 *
 * @package WordPress
 * @subpackage ruby build
 * @since ruby build 1.0
 * @var $header_layout
 * @var $header_float_enable
 * @var $header_border
 * @var $header_content_full_width
 * @var $header_sticky_enable
 * @var $navigation_skin
 * @var $page_menu
 */
?>
<div class="header-above">
	<?php g5plusRubyBuild()->helper()->getTemplate('header/desktop/logo',array('header_layout' => $header_layout)); ?>
</div>
<nav class="primary-menu">
	<?php if (has_nav_menu('primary') || $page_menu): ?>
		<?php
		$arg_menu = array(
			'menu_id' => 'main-menu',
			'container' => '',
			'theme_location' => 'primary',
			'menu_class' => 'gf-menu-vertical clearfix'
		);
        if (!empty($page_menu)) {
            $arg_menu['menu'] = $page_menu;
        }
		wp_nav_menu($arg_menu);
		?>
	<?php else: ?>
		<div class="no-menu"><?php printf(wp_kses_post(__('Please assign a menu to the <b>Primary Menu</b> in Appearance > <a title="Menus" href="%s">Menus</a>', 'g5plus-ruby-build')), admin_url('nav-menus.php')); ?></div>
	<?php endif; ?>
</nav>
<?php g5plusRubyBuild()->helper()->getTemplate('header/header-customize', array('customize_location' => 'nav', 'canvas_position' => 'right')); ?>


