<?php
if(!defined('ABSPATH')) exit;
?>

<ul class="sns-list-share">
    <li>
        <a href="https://twitter.com/intent/tweet?url=<?php echo urlencode( get_the_permalink() ); ?>&text=<?php echo urlencode( get_the_title() ); ?>"
            target="_blank" rel="noopener noreferrer">
            <i class="fab fa-x-twitter"></i>
        </a>
    </li>
    <li>
        <a href="https://www.instagram.com/" target="_blank" rel="noopener noreferrer">
            <i class="fab fa-instagram"></i>
        </a>
    </li>
    <li>
        <a href="https://www.facebook.com/sharer/sharer.php?u=<?php echo urlencode( get_the_permalink() ); ?>"
            target="_blank" rel="noopener noreferrer">
            <i class="fab fa-facebook"></i>
        </a>
    </li>
    <li>
        <a href="https://www.pinterest.com/pin/create/button/?url=<?php echo urlencode( get_the_permalink() ); ?>&media=<?php echo urlencode( get_the_post_thumbnail_url() ); ?>&description=<?php echo urlencode( get_the_title() ); ?>"
            target="_blank" rel="noopener noreferrer">
            <i class="fab fa-pinterest"></i>
        </a>
    </li>
</ul>