Skip to content
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
2 changes: 1 addition & 1 deletion app/Console/Commands/excel/CoderDojoEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function handle(): void

Excel::import(
new CoderDojoEventsImport(),
'20241024 CodeWeek activities NOVEMBER CoderDojo Belgium.xlsx',
'events-coderdojobelgium.xlsx',
'excel'
);
}
Expand Down
Binary file added public/images/baubbles.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/bubbles1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
79 changes: 79 additions & 0 deletions public/images/xmas.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 27 additions & 4 deletions resources/assets/sass/pages/homepage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#main-banner .what{
display: flex;
margin: 50px 10%;
margin-bottom: 1rem;
}

#main-banner .what .separator{
Expand All @@ -35,6 +36,22 @@
margin: 40px 0 20px 10%;
}

@media (max-width: 993px) {
#main-banner .info .when {
margin: 4rem;
}
}

@media (max-width: 525px) {
#main-banner .info .when {
margin: 0rem;
}

#main-banner .info {
padding: 1rem;
}
}

#main-banner .info .when .arrow{
text-align: center;
margin-top: 70px;
Expand All @@ -61,6 +78,11 @@
text-align: center;
width: 220px;
}
@media (max-width: 993px) {
#main-banner .info .when .date {
width: 100%;
}
}
#main-banner .info .countdown {
margin-bottom: 15px;
}
Expand Down Expand Up @@ -188,7 +210,6 @@
/* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
@media (min-width:641px) {
#main-banner{
background-image: url('/images/bubbles.svg');
background-repeat: no-repeat;
background-position-x: 112%;
}
Expand Down Expand Up @@ -292,17 +313,19 @@
}
#main-banner .info .when{
margin-right: 50px;
width: 350px;
width: auto;
max-width: 500px;
}
#main-banner .info .when .date{
font-size: 38px;
margin-bottom: 30px;
margin-bottom: 1rem;
}
#main-banner .info .when .text {
font-size: 18px;
}
#main-banner .info .countdown {
margin-top: 50px;
margin-top: 3rem;
margin-left: -10px;
}
#main-banner .info .when .arrow{
width: 94px;
Expand Down
Binary file added resources/excel/events-coderdojobelgium.xlsx
Binary file not shown.
3 changes: 2 additions & 1 deletion resources/lang/en/home.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

return [
'about' => 'EU Code Week is a grassroots initiative which aims to bring coding and digital literacy to <span class="blue-color">everybody</span> in a fun and engaging way…',
'when' => '',
'when' => 'Join us for some festive fun!',
'when_text' => '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.',
'xmas_text' => 'Make this festive season sparkle with innovation and creativity! Join our \'Coding@Christmas\' fun by adding your coding activity to our map, and be in with a chance to win a micro:bit kit for your students. Let’s celebrate the holidays by empowering the next generation of thinkers and creators. Add your activity today and help inspire a brighter future!',
'school_banner_title' => 'Get Involved! Add an Activity!',
'school_banner_text' => 'Are you a teacher?',
'school_banner_text2' => 'Find out how to get involved!',
Expand Down
16 changes: 10 additions & 6 deletions resources/views/static/home.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

@section('content')
<section id="codeweek-homepage" class="codeweek-page">
<section id="main-banner">
<section class="relative" id="main-banner">
<img src="/images/bubbles1.png" class="absolute top-0 right-0 static-image">
<div class="what">
<div class="separator"></div>
<div class="text">@lang('home.about')</div>
Expand All @@ -11,13 +12,16 @@
<div class="countdown">
<div id="countdown">
</div>
<img src="/images/countdown.svg" class="static-image">
<img src="/images/xmas.svg" class="static-image max-h-[422px]">
</div>
<div class="when">
<div class="mb-4 title">#EUCodeWeek</div>
<!--<div class="date">@lang('home.when')</div> -->
<div class="text">@lang('home.when_text')</div>
<div class="arrow"><img src="/images/arrow_down.svg"></div>
<div class="title">Coding@Christmas</div>
<div class="date">@lang('home.when')</div>
<div class="text">@lang('home.xmas_text')</div>
<!-- <div class="arrow"><img src="/images/arrow_down.svg"></div>-->
<a href="/blog/codingchristmas-2024/" class="mt-4 self-start px-6 text-base font-bold text-white uppercase bg-secondary hover:bg-blue-primary leading-truly-normal rounded-lg min-h-[38px] lg:max-w-[168px] flex items-center justify-center max-tablet:px-5 max-tablet:w-full max-tablet:max-w-full max-lg:text-center max-tablet:mx-auto" role="button">
Get involved!
</a>
</div>
</div>
</section>
Expand Down