Fixed favicon on register and login page

This commit is contained in:
Julian Prieber 2022-06-09 17:16:31 +02:00
parent ccdee464ca
commit 09aea659c8
1 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,12 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}"> <meta name="csrf-token" content="{{ csrf_token() }}">
@if(file_exists(base_path("littlelink/images/avatar.png" )))
<link rel="icon" type="image/png" href="{{ asset('littlelink/images/avatar.png') }}">
@else
<link rel="icon" type="image/svg+xml" href="{{ asset('littlelink/images/logo.svg') }}">
@endif
<title>{{ config('app.name') }}</title> <title>{{ config('app.name') }}</title>
<!-- Fonts --> <!-- Fonts -->