Skip to content

Commit 0b187c2

Browse files
committed
Updated slide1.png, HomeController, and home view
1 parent 6196c46 commit 0b187c2

4 files changed

Lines changed: 329 additions & 248 deletions

File tree

app/Http/Controllers/HomeController.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
<?php
22

3+
/**
4+
* @Author: Bernard Hanna
5+
* @Date: 2025-03-20 10:42:36
6+
* @Last Modified by: Bernard Hanna
7+
* @Last Modified time: 2025-03-20 15:03:48
8+
*/
9+
10+
311
namespace App\Http\Controllers;
412

513
use Illuminate\Http\Request;
@@ -10,6 +18,13 @@ class HomeController extends Controller
1018
public function index(Request $request): View
1119
{
1220
$activities = collect([
21+
[
22+
'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.',
24+
'url' => '/guide',
25+
'style_color' => 'background-image: linear-gradient(36.92deg, #1C4DA1 20.32%, #0040AE 28.24%);',
26+
'btn_lang' => 'home.get_involved',
27+
],
1328
[
1429
'title' => 'Girls in Digital',
1530
'description' => 'Explore and embrace digital opportunities—empowering a new generation of girls in digital!',

public/images/homepage/slide1.png

1.29 MB
Loading

resources/assets/sass/pages/homepage.scss

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,6 @@
177177
display: flex;
178178
flex-direction: column;
179179
}
180-
#countdown {
181-
display: flex;
182-
position: absolute;
183-
right: 0;
184-
margin-right: 22%;
185-
margin-top: 8%;
186-
}
187180

188181
#countdown div{
189182
padding: 10px 5px;

0 commit comments

Comments
 (0)