<?php if(vinkmag_option('header_show_topbar', 'no') == 'yes'): ?>
<!-- top bar start -->
<section class="top-bar top-bg">
    <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 nav start-->
<header class="navbar-standerd nav-bar-dark megamenu-dark">
    <?php get_template_part( 'template-parts/navigations/nav', 'primary-style4' ); ?>
</header>
<!-- header nav end-->