mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2024-12-12 10:16:19 +01:00
70e01db070
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.
6 lines
274 B
PHP
Executable File
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
|