Files
faveo/resources/views/themes/default1/client/layout/social-login.blade.php
Manish Verma 2d8e640e9b Updates
2016-12-13 18:18:25 +05:30

38 lines
1.8 KiB
PHP

<?php
$social = new \App\Model\helpdesk\Settings\SocialMedia();
?>
<br>
@if($social->checkActive('twitter') || $social->checkActive('facebook') || $social->checkActive('google') || $social->checkActive('linkedin') || $social->checkActive('bitbucket') || $social->checkActive('github'))
<center>{{Lang::get('lang.or')}}</center>
@endif
<br>
@if($social->checkActive('twitter'))
<a class="btn btn-block btn-social btn-twitter" href="{{ route('social.login', ['twitter']) }}" style="background-color: #55ACEE;color: white;">
<span class="fa fa-twitter"></span> Sign in with Twitter
</a>
@endif
@if($social->checkActive('facebook'))
<a class="btn btn-block btn-social btn-facebook" href="{{ route('social.login', ['facebook']) }}" style="background-color: #3B5998;color: white;">
<span class="fa fa-facebook"></span> Sign in with Facebook
</a>
@endif
@if($social->checkActive('google'))
<a class="btn btn-block btn-social btn-google-plus" href="{{ route('social.login', ['google']) }}" style="background-color: #DD4B39;color: white;">
<span class="fa fa-google"></span> Sign in with Google
</a>
@endif
@if($social->checkActive('linkedin'))
<a class="btn btn-block btn-social btn-linkedin" href="{{ route('social.login', ['linkedin']) }}" style="background-color: #007BB6;color: white;">
<span class="fa fa-linkedin"></span> Sign in with Linkedin
</a>
@endif
@if($social->checkActive('bitbucket'))
<a class="btn btn-block btn-social btn-bitbucket" href="{{ route('social.login', ['bitbucket']) }}" style="background-color: blue;color: white;">
<span class="fa fa-bitbucket"></span> Sign in with Bitbucket
</a>
@endif
@if($social->checkActive('github'))
<a class="btn btn-block btn-social btn-github" href="{{ route('social.login', ['github']) }}" style="background-color: black;color: white;">
<span class="fa fa-github"></span> Sign in with Github
</a>
@endif