<?php
/**
 * Template part for top panel in header.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package Provem
 */

// Don't show top panel if all elements are disabled.
if ( ! Provem_is_top_panel_visible() ) {
	return;
} ?>

<div class="top-panel container">
	<div class="space-between-content">
		<div class="top-panel-content__left">
				<?php do_action( 'Provem-theme/top-panel/elements-left' ); ?>
				<?php Provem_site_description(); ?>
		</div>
		<div class="top-panel-content__right">
				<?php Provem_social_list( 'header' ); ?>
				<?php do_action( 'Provem-theme/top-panel/elements-right' ); ?>
		</div>
	</div>
</div>