<?php /* NOTE: GENERATED BY GULP !!! */ ?><?php
  $display_social_links = flo_data($data, "flo-lovely2-header__display-social-links");
  $social_links_font = flo_data($data, "flo-lovely2-header__social-links-font");
?>
<?php echo $__env->make('core.style', [
  "breakpoint__general" => "

    ".
    flo_render_typography_styles(
    $b__uniq_for_css." ".$b__for_css."__social-links a",
    $social_links_font
    )
    ."

  "
], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

<div class="<?php echo $b; ?> <?php echo $b__uniq; ?> <?php echo $b; ?>--type-a">
  <?php echo $__env->make('components.flo-header__logo', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

  <?php echo $__env->make('components.flo-header__menu', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

  <?php if($display_social_links): ?>
    <div class="<?php echo $b; ?>__social-links">
      <?php foreach($flo_social_links as $key => $social_profile): ?>
      	<?php if($social_profile['type']['value'] == 'custom'): ?>
      		<?php
      			if(isset($social_profile['custom-icon--hover']) && strlen($social_profile['custom-icon--hover']) ){
      				$data_img_hover = 'data-icon_hover="'.$social_profile['custom-icon--hover'].'"';
      			}else{
      				$data_img_hover = '';
      			}
      		?>
      		<a href="<?php echo $social_profile['link']; ?>" target="_blank" class="flo-icon flo-icon__<?php echo $social_profile['type']['value']; ?>  flo-social-links--link-custom ">
      			<?php if(isset($social_profile['custom-icon']) && strlen($social_profile['custom-icon']) ): ?>
      				<img src="<?php echo $social_profile['custom-icon']; ?>" class="flo-footer__social-custom-icon" <?php echo $data_img_hover; ?> />
      			<?php endif; ?>
      		</a>
      	<?php else: ?>
          	<a href="<?php echo $social_profile['link']; ?>" target="_blank" class="flo-icon flo-icon- flo-social-links__link ">
              <?php echo $social_profile['type']['label']; ?>

            </a>
          <?php endif; ?>

      <?php endforeach; ?>

    </div>
  <?php endif; ?>

</div>
