From 49c1c5b792c60da004049bc4e7c723c8538e36d9 Mon Sep 17 00:00:00 2001
From: Rhys Lees <43909932+RhysLees@users.noreply.github.com>
Date: Thu, 21 Sep 2023 10:42:45 +0100
Subject: [PATCH] WIP
---
resources/views/components/logo.blade.php | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/resources/views/components/logo.blade.php b/resources/views/components/logo.blade.php
index 4385223..9b537f5 100644
--- a/resources/views/components/logo.blade.php
+++ b/resources/views/components/logo.blade.php
@@ -1,5 +1,7 @@
-@if(config('laravel-auth.logo.path') && !filter_var(config('laravel-auth.logo.path'), FILTER_VALIDATE_URL))
- merge(['class' => 'mx-auto', 'style' => 'width: '. config('laravel-auth.logo.width', '25%') .';']) }}>
-@else
- 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))
+ merge(['class' => 'mx-auto', 'style' => 'width: '. config('laravel-auth.logo.width', '25%') .';']) }}>
+ @else
+ merge(['class' => 'mx-auto', 'style' => 'width: '. config('laravel-auth.logo.width', '25%') .';']) }}>
+ @endif
@endif