Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
RhysLees committed Sep 21, 2023
1 parent 4a5019f commit 49c1c5b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions resources/views/components/logo.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@if(config('laravel-auth.logo.path') && !filter_var(config('laravel-auth.logo.path'), FILTER_VALIDATE_URL))
<img src="{{ asset(config('laravel-auth.logo.path')) }}" alt="{{__('auth::translations.logo')}}" {{ $attributes->merge(['class' => 'mx-auto', 'style' => 'width: '. config('laravel-auth.logo.width', '25%') .';']) }}>
@else
<img src="{{ config('laravel-auth.logo.path') }}" alt="{{__('auth::translations.logo')}}" {{ $attributes->merge(['class' => 'mx-auto', 'style' => 'width: '. config('laravel-auth.logo.width', '25%') .';']) }}>
@if(config('laravel-auth.logo.path'))
@if(!filter_var(config('laravel-auth.logo.path'), FILTER_VALIDATE_URL))
<img src="{{ asset(config('laravel-auth.logo.path')) }}" alt="{{__('auth::translations.logo')}}" {{ $attributes->merge(['class' => 'mx-auto', 'style' => 'width: '. config('laravel-auth.logo.width', '25%') .';']) }}>
@else
<img src="{{ config('laravel-auth.logo.path') }}" alt="{{__('auth::translations.logo')}}" {{ $attributes->merge(['class' => 'mx-auto', 'style' => 'width: '. config('laravel-auth.logo.width', '25%') .';']) }}>
@endif
@endif

0 comments on commit 49c1c5b

Please sign in to comment.