Skip to content

Releases: jacurtis/Packt-Laravel-Socialite

Start of Video 1.5

07 Dec 17:36
Compare
Choose a tag to compare

This video is where we add Facebook Login. Before we start, I made our jobs a little easier by adding some CSS and FontAwesome to our application just to make the social network buttons a little nicer. This is optional and only adds styling (no logic) to our app.

The CSS will now let you create social network buttons by adding a .btn-social class to your buttons followed by the social network you are making it for (such as .btn-facebook, .btn-twitter, .btn-github and so forth).

Example:

<a class="btn btn-social btn-facebook>
    <i class="fa fa-facebook></i>
    Login with Facebook
</a>