From b1bdf90d7672dbf101a1d35a4f277ee3db705117 Mon Sep 17 00:00:00 2001 From: payme Date: Mon, 22 Dec 2025 14:12:05 +0000 Subject: [PATCH] changing new slider position --- app/Http/Controllers/HomeController.php | 18 +++++++++--------- resources/views/static/home.blade.php | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index 1adc8c0cc..c5b047946 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -26,6 +26,15 @@ public function index(Request $request): View 'url2' => null, 'btn2_lang' => null ],*/ + [ + 'title' => 'home.banner7_title', + 'description' => 'home.banner7_description', + 'url' => '/blog/festive-acts-of-digital-kindness', + 'style_color' => 'background: linear-gradient(36.92deg, rgb(51, 194, 233) 20.32%, rgb(0, 179, 227) 28.24%);', + 'btn_lang' => 'home.learn_more', + 'url2' => null, + 'btn2_lang' => null + ], [ 'title' => 'home.banner4_title', 'description' => 'home.banner4_description', @@ -61,15 +70,6 @@ public function index(Request $request): View 'btn_lang' => 'home.meet_our_community', 'url2' => null, 'btn2_lang' => null - ], - [ - 'title' => 'home.banner7_title', - 'description' => 'home.banner7_description', - 'url' => '/blog/festive-acts-of-digital-kindness', - 'style_color' => 'background: linear-gradient(36.92deg, rgb(51, 194, 233) 20.32%, rgb(0, 179, 227) 28.24%);', - 'btn_lang' => 'home.learn_more', - 'url2' => null, - 'btn2_lang' => null ] ]); return view('static.home', compact('activities')); diff --git a/resources/views/static/home.blade.php b/resources/views/static/home.blade.php index c833cdd36..fdf7bc491 100644 --- a/resources/views/static/home.blade.php +++ b/resources/views/static/home.blade.php @@ -133,11 +133,11 @@ class="absolute top-0 -translate-y-1/2 bg-yellow py-3 md:py-4 px-8 md:px-10 roun @php $backgroundImages = [ //asset('/images/csr/csr_about1.jpg'), + asset('/images/homepage/festive_acts_of_digital_kindness.png'), asset('/images/dream-jobs/dream_jobs_bg.png'), asset('/images/digital-girls/banner_bg.png'), asset('images/homepage/slide1.png'), asset('images/search/search_bg_lg_2.jpeg'), - asset('/images/homepage/festive_acts_of_digital_kindness.png'), ]; @endphp