Files
faveo/resources/views/themes/default1/client/layout/social-login.blade.php
noor 92d0f9cd48 client-update
changes

changes1

page-changes

lock

color

changes-2

footer

page

toggle-remove

display-dropdown

changes

card-changes

card

changes-button

chnages-article

pages

page-404-fix

breadcrumbs-fix

remove drop-down

Apply fixes from StyleCI

buttons

fixes

existing-fix

changes-3

Apply fixes from StyleCI

changes-4
2023-06-09 15:48:59 +05:30

37 lines
1.9 KiB
PHP

<?php
$social = new \App\Model\helpdesk\Settings\SocialMedia();
?>
@if($social->checkActive('twitter') || $social->checkActive('facebook') || $social->checkActive('google') || $social->checkActive('linkedin') || $social->checkActive('bitbucket') || $social->checkActive('github'))
<br>
@endif
@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="fab fa-twitter fa-fw"></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; --bs-btn-font-size:none">
<span class="fab fa-facebook-f fa-fw"></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="fab fa-google-plus-g fa-fw"></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="fab fa-linkedin-in fa-fw"></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="fab 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="fab fa-github-alt fa-fw"></span> Sign in with Github
</a>
@endif