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

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

<div class="showcase-panel">

	<?php transit_showcase_text_elements( '<h1 class="showcase-panel__title">%s</h1>', 'title' ); ?>
	<?php transit_showcase_text_elements( '<h2 class="showcase-panel__subtitle">%s</h2>', 'subtitle' ); ?>
	<?php transit_showcase_text_elements( '<p class="showcase-panel__description">%s</p>', 'description' ); ?>
	<?php transit_showcase_btn(); ?>

</div><!-- .showcase-panel -->
