JSFiddle - React, Tailwind, and code Playground

HTML

<a href="#" onclick="linkedin(event, 'yo.com', 'meu nome');return false;">          
  <div class="img-circle compartilhar_icones terceiro">
        <i class="fa fa-linkedin icone_linkedin" aria-hidden="true">LINKDIN</i>
   </div>
</a>

JavaScript

linkedin = function (event, s, a){
    event.preventDefault();
    window.open('https://www.linkedin.com/cws/share?url=' +s+ '?name=' +a, 'newwindow', 'width=680, height=450');
};