<?php
/*
* Display Topbar Text
*/
?>

<div class="top-header py-2">
  <div class="container-fluid">
    <div class="header-content text-lg-end text-center">
      <span><?php if( get_theme_mod( 'weight_loss_center_top_btn_link' ) != '' || get_theme_mod( 'weight_loss_center_top_btn' ) != '') { ?>
        <a class="top-btn mr-2" href="<?php echo esc_url( get_theme_mod( 'weight_loss_center_top_btn_link','' ) ); ?>" class="register-btn"><?php echo esc_html( get_theme_mod( 'weight_loss_center_top_btn','' ) ); ?></a>
    <?php } ?>
    </span>
    <?php if( get_theme_mod( 'weight_loss_center_topbar_text' ) != '') { ?>
      <span class="top-header-text"><?php echo esc_html( get_theme_mod('weight_loss_center_topbar_text','')); ?></span>
    <?php } ?>
    </div>
  </div>
</div>