samedi 27 mai 2017

How to create link for facebook/twitter button in a Laravel 5 project

This is my code for creating the social link:

`<div class="col-lg-3 social">
      <a href="http://ift.tt/nkGzdY" id="a1"><i class="fa fa-facebook"></i></a>
      <a href="twitter.com/username" id="a2"><i class="fa fa-twitter"></i></a>
      <a href="http://ift.tt/2qukmTu" id="a3"><i class="fa fa-google-plus"></i></a>
</div>`

In normal php or html, we just put links in the href attribute like this above.But in laravel, when i click on the link, it took me to a route. So, if i go to a route then how can i define the facebook url link to that route so that it took me to my facebook account?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2r7EVa3
via IFTTT

Aucun commentaire:

Enregistrer un commentaire