<?php if(vinkmag_option('header_show_topbar', 'no') == 'yes'): ?>
		<!-- top bar start -->
		<section class="top-bar">
			<div class="container">
				<div class="row">
					<div class="col-lg-7 align-self-center md-center-item">
					
						<?php get_template_part( 'template-parts/navigations/nav', 'top' ); ?>
					</div>
					<!-- end col-->

					<div class="col-lg-5 text-right align-self-center">
						<ul class="top-social">
							<li>
                                <?php 
                                $social_links = vinkmag_option('general_social_links', 
                                        [
                                            [
                                                'icon_class' => 'fa fa-facebook', 
                                                'url' => esc_url('http://facebook.com/xpeedstudio/'),
                                            ]
                                        ]);
                                foreach($social_links as $sl):
                                ?>
                                <a href="<?php echo esc_url($sl['url']); ?>">
                                    <i class="<?php echo esc_attr($sl['icon_class']); ?>"></i>
                                </a>
                                <?php endforeach; ?>
							</li>
							<li class="ts-date">
								<i class="fa fa-clock-o"></i>
                                <?php echo date_i18n(get_option('date_format')); ?>
							</li>
						</ul>
					</div>
					<!--end col -->
				</div>
				<!-- end row -->
			</div>
		</section>
		<!-- end top bar-->
<?php endif; ?>

<!-- header middle -->
<section class="header-middle border-top v4 header-white">
    <div class="container">
        <div class="row">
            <div class="col-lg-12 align-self-center">
                <div class="header-logo text-center">
                    <a href="<?php echo home_url('/'); ?>">
                        <img src="<?php 
                        echo esc_url(
                            vinkmag_src(
                                'general_main_logo',
                                VINKMAG_IMG . '/logo/logo_main.png'
                            )
                        );
                    ?>" alt="<?php bloginfo('name'); ?>">
                    </a>
                </div>
            </div>
            <!-- col end -->
        </div>
        <!-- row  end -->
    </div>
    <!-- container end -->
</section>


<!-- header nav start-->
<header class="navbar-standerd nav-item nav-bg-white">
    <?php get_template_part( 'template-parts/navigations/nav', 'primary-style5' ); ?>
</header>
<!-- header nav end-->


