From c1348a8524a22cbc710375304dadf53427634dd1 Mon Sep 17 00:00:00 2001 From: bernardhanna Date: Thu, 20 Mar 2025 16:19:00 +0000 Subject: [PATCH] Updated home.blade.php and HomeController with latest changes --- app/Http/Controllers/HomeController.php | 4 ++-- resources/views/static/home.blade.php | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index 609ce231d..6c6157cb0 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -4,7 +4,7 @@ * @Author: Bernard Hanna * @Date: 2025-03-20 10:42:36 * @Last Modified by: Bernard Hanna - * @Last Modified time: 2025-03-20 15:03:48 + * @Last Modified time: 2025-03-20 16:15:24 */ @@ -20,7 +20,7 @@ public function index(Request $request): View $activities = collect([ [ 'title' => 'October 11-26', - 'description' => 'Learning to code helps us make sense of the rapidly changing world around us. Join millions of fellow organisers and participants to inspire the development of coding and computational thinking skills in order to explore new ideas and innovate for the future.', + 'description' => __('home.when_text'), 'url' => '/guide', 'style_color' => 'background-image: linear-gradient(36.92deg, #1C4DA1 20.32%, #0040AE 28.24%);', 'btn_lang' => 'home.get_involved', diff --git a/resources/views/static/home.blade.php b/resources/views/static/home.blade.php index 0b3065581..1e880cce9 100644 --- a/resources/views/static/home.blade.php +++ b/resources/views/static/home.blade.php @@ -3,7 +3,7 @@ * @Author: Bernard Hanna * @Date: 2025-03-20 10:42:36 * @Last Modified by: Bernard Hanna - * @Last Modified time: 2025-03-20 15:40:25 + * @Last Modified time: 2025-03-20 16:06:02 */ ?> @extends('layout.new_base') @@ -121,17 +121,17 @@ class="absolute top-0 -translate-y-1/2 bg-yellow py-3 md:py-4 px-8 md:px-10 roun src="{{ asset('images/homepage/slide1.png') }}" style="clip-path: ellipse(71% 73% at 40% 20%);" /> - @else - -