Skip to content

Commit a773d8e

Browse files
authored
Merge pull request #2585 from codeeu/dev
Updated home.blade.php and HomeController with translations
2 parents a20f174 + d0fc11f commit a773d8e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

app/Http/Controllers/HomeController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* @Author: Bernard Hanna
55
* @Date: 2025-03-20 10:42:36
66
* @Last Modified by: Bernard Hanna
7-
* @Last Modified time: 2025-03-20 15:03:48
7+
* @Last Modified time: 2025-03-20 16:15:24
88
*/
99

1010

@@ -20,7 +20,7 @@ public function index(Request $request): View
2020
$activities = collect([
2121
[
2222
'title' => 'October 11-26',
23-
'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.',
23+
'description' => __('home.when_text'),
2424
'url' => '/guide',
2525
'style_color' => 'background-image: linear-gradient(36.92deg, #1C4DA1 20.32%, #0040AE 28.24%);',
2626
'btn_lang' => 'home.get_involved',

resources/views/static/home.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @Author: Bernard Hanna
44
* @Date: 2025-03-20 10:42:36
55
* @Last Modified by: Bernard Hanna
6-
* @Last Modified time: 2025-03-20 15:40:25
6+
* @Last Modified time: 2025-03-20 16:06:02
77
*/
88
?>
99
@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
121121
src="{{ asset('images/homepage/slide1.png') }}"
122122
style="clip-path: ellipse(71% 73% at 40% 20%);" />
123123

124-
<img class="absolute top-0 right-0 h-full max-w-[calc(70vw)] object-cover hidden md:block"
124+
<img class="absolute top-0 right-0 h-full min-w-[55%] max-w-[calc(70vw)] object-cover hidden md:block"
125125
loading="lazy"
126126
src="{{ asset('images/homepage/slide1.png') }}"
127127
style="clip-path: ellipse(70% 140% at 70% 25%);" />
128128
@else
129-
<img class="absolute top-0 -left-1/4 w-[150vw] !max-w-none md:hidden"
129+
<img class="absolute top-0 -left-1/4 min-w-[55%] w-[150vw] !max-w-none md:hidden"
130130
loading="lazy"
131131
src="{{ asset('images/search/search_bg_lg_' . ($index % 2 === 0 ? 1 : 2) . '.jpeg') }}"
132132
style="clip-path: ellipse(71% 73% at 40% 20%);" />
133133

134-
<img class="absolute top-0 right-0 h-full max-w-[calc(70vw)] object-cover hidden md:block"
134+
<img class="absolute top-0 right-0 h-full min-w-[55%] max-w-[calc(70vw)] object-cover hidden md:block"
135135
loading="lazy"
136136
src="{{ asset('images/search/search_bg_lg_' . ($index % 2 === 0 ? 1 : 2) . '.jpeg') }}"
137137
style="clip-path: ellipse(70% 140% at 70% 25%);" />

0 commit comments

Comments
 (0)