LinkStack/resources/views/components/application-logo.blade.php
JulianPrieber 70e01db070
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.
2022-02-20 16:57:47 +01:00

6 lines
274 B
PHP
Executable File

@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 class="mb-5" src="{{ asset('littlelink/images/avatar@2x.png') }}">
@endif