From e4abf3ed186dd72bc07506755d4a25c4cd81059c Mon Sep 17 00:00:00 2001 From: Julian Prieber <60265788+JulianPrieber@users.noreply.github.com> Date: Thu, 9 Jun 2022 14:41:26 +0200 Subject: [PATCH] Added option to apply theme to Home Page --- resources/views/home.blade.php | 44 ++++++++++++++++++++++++++++++---- storage/templates/meta.php | 8 ++++++- 2 files changed, 46 insertions(+), 6 deletions(-) diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index 3177adb..1be4cc6 100755 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -22,12 +22,9 @@ - - - @if(file_exists(base_path("littlelink/images/avatar.png" ))) @@ -35,9 +32,20 @@ @endif - {{-- custom font for logo text --}} - +@if(Config::get('meta.home_theme') != '' and Config::get('meta.home_theme') != 'default') + + + + +@if(file_exists(base_path('themes/' . Config::get('meta.home_theme') . '/animations.css'))) + +@else + +@endif + +@else + @if ($color_scheme_override == 'dark') @@ -51,9 +59,35 @@ @else @endif +@endif + + {{-- custom font for logo text --}} + +
+@if(Config::get('meta.home_theme') != '' and Config::get('meta.home_theme') != 'default') + +