<?php
        $size = !empty($this->atts['size']) ? "style='font-size:{$this->atts['size']}px;' " : '';
    
?>
<div class="laniakea-social <?php echo 'align-' . $this->atts['align'] ?>">
    <?php foreach ($this->args['socials'] as $social) : ?>
        <a target="_blank" <?php echo $size;?> class="social-<?php echo $social['name'];  ?>" href="<?php echo $social['link']; ?>" alt="<?php echo $social['title'];  ?>" title="<?php echo $social['title'];  ?>">
            <i class="<?php echo $social['icon']; ?>"></i>
        </a>
    <?php endforeach; ?>
</div>