Skip to content

Added countdown slide to homepage #2581

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions app/Http/Controllers/HomeController.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
<?php

/**
* @Author: Bernard Hanna
* @Date: 2025-03-20 10:42:36
* @Last Modified by: Bernard Hanna
* @Last Modified time: 2025-03-20 15:03:48
*/


namespace App\Http\Controllers;

use Illuminate\Http\Request;
Expand All @@ -10,6 +18,13 @@ class HomeController extends Controller
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.',
'url' => '/guide',
'style_color' => 'background-image: linear-gradient(36.92deg, #1C4DA1 20.32%, #0040AE 28.24%);',
'btn_lang' => 'home.get_involved',
],
[
'title' => 'Girls in Digital',
'description' => 'Explore and embrace digital opportunities—empowering a new generation of girls in digital!',
Expand Down
Binary file added public/images/homepage/slide1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 0 additions & 7 deletions resources/assets/sass/pages/homepage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,6 @@
display: flex;
flex-direction: column;
}
#countdown {
display: flex;
position: absolute;
right: 0;
margin-right: 22%;
margin-top: 8%;
}

#countdown div{
padding: 10px 5px;
Expand Down
Loading
Loading