Skip to content

Commit 4657fa9

Browse files
authored
Merge pull request #2294 from codeeu/dev
Update hackathon page: Modify index and YouTube blade templates
2 parents 5228da5 + 13e7765 commit 4657fa9

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

resources/views/hackathons/index.blade.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,22 @@
2727
</p>
2828

2929
</section>
30+
31+
<section class="codeweek-content-wrapper">
32+
<!-- Include the YouTube partial and pass the video ID -->
33+
@include('static.youtube', ['video_id' => 'fx0zJCpUTa8'])
34+
</section>
3035

31-
<div class="codeweek-content-wrapper">
36+
<div class="pt-0 codeweek-content-wrapper">
3237

3338
<h1 class="align-center">EU Code Week Hackathon 2024</h1>
3439

3540
<p>
3641
EU Code Week Hackathons have an overarching theme to foster a sense of connection and belonging among participants across different countries. The central theme for EU Code Week 2024 Hackathons is <strong>Hello, Future! Technical Solutions for a changing world.</strong><br/><br/>
3742
From October 2024 and March 2025, the EU Code Week 2024 Hackathon invites young innovators, ages 15-19, to join exciting local hackathons. Team up with peers to brainstorm, collaborate and create digital solutions to tackle some of the global challenges!
3843
<br/><br/>
44+
To guide organisers in planning and delivering successful hackathons, <a target="_blank" href="/docs/EU_Code_Week_Hackathons_2024 Toolkit_Final.pdf">here is the EU Code Week Hackathons Toolkit.</a> In this Toolkit, you will find step-by-step instructions and tips for creating engaging and impactful events. <br/><br/>
45+
All hackathons will take place online via <a target="_blank" href="https://eventornado.com/event/eu-codeweek-hackathon2024#home">Eventornado.</a> There will be one common online environment for all hackathons.<br/><br/>
3946
More details on local hackathons, registrations and hackathon platform are coming soon!<br/><br/></p>
4047
<!--<div class="align-center">
4148
<section class="hackathons-content-grid">

resources/views/static/youtube.blade.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<!-- YouTube Video Embed with Conditional Locale -->
21
<div class="codeweek-youtube-container">
32
@if(App::getLocale() == 'en')
43
<iframe
@@ -36,7 +35,9 @@
3635
</div>
3736
</div>
3837
</div>
38+
3939
<script>
40+
// Keep the same JavaScript code as provided
4041
document.addEventListener("DOMContentLoaded", function() {
4142
// Check if cookies are already consented for third-party content
4243
if (!getCookie('third_party_content_accepted')) {

0 commit comments

Comments
 (0)