Fixed login/register logo

Fixed the if-else statement responsible for loading the correct login/register image. The SVG wouldn't work, so I just used the new avatar@2x.png, so I guess that one is staying for now. 

If it works it works, I could load the vector image by changing the logo to the SVG in:
confirm-password.blade.php, forgot-password.blade.php, login.blade.php, register.blade.php, reset-password.blade.php and verify-email.blade.php.

This works good enough, so imma leave it how it is now.
This commit is contained in:
JulianPrieber 2022-02-20 16:57:47 +01:00 committed by GitHub
parent c8696ca5d5
commit 70e01db070
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
@if(file_exists(base_path("littlelink/images/avatar.png" )))
<img class="mb-5" src="{{ asset('littlelink/images/avatar.png') }}" srcset="{{ asset('littlelink/images/avatar@2x.png 2x') }}">
@else
<img src="{{ asset('littlelink/images/logo.svg') }}" alt="Logo"></img>
<img class="mb-5" src="{{ asset('littlelink/images/avatar@2x.png') }}">
@endif