diff --git a/public/img/2021/challenges/emobot-kliki-1.png b/public/img/2021/challenges/emobot-kliki-1.png new file mode 100644 index 000000000..d21c6c467 Binary files /dev/null and b/public/img/2021/challenges/emobot-kliki-1.png differ diff --git a/public/img/2021/challenges/emobot-kliki-2.png b/public/img/2021/challenges/emobot-kliki-2.png new file mode 100644 index 000000000..7a3180fe7 Binary files /dev/null and b/public/img/2021/challenges/emobot-kliki-2.png differ diff --git a/public/img/2021/challenges/thumbnails/emobot-kliki.png b/public/img/2021/challenges/thumbnails/emobot-kliki.png new file mode 100644 index 000000000..f35d908f4 Binary files /dev/null and b/public/img/2021/challenges/thumbnails/emobot-kliki.png differ diff --git a/resources/views/2021/challenges.blade.php b/resources/views/2021/challenges.blade.php index ebd37edfe..a40f0eba2 100644 --- a/resources/views/2021/challenges.blade.php +++ b/resources/views/2021/challenges.blade.php @@ -50,9 +50,10 @@ @php $currentDate = \Carbon\Carbon::now(); @endphp - {{-- @if (strtotime($currentDate) >= strtotime(\Carbon\Carbon::create(2023,10,9)))--}} + @if (strtotime($currentDate) >= strtotime(\Carbon\Carbon::create(2023,10,11))) + @include('2021._thumbnail', ['slug' => 'emobot-kliki', 'author'=>'Margareta Zajkova']) + @endif @include('2021._thumbnail', ['slug' => 'play-against-ai', 'author'=>'Kristina Slišurić']) - {{-- @endif--}} @include('2021._thumbnail', ['slug' => 'create-a-spiral', 'author'=>'Lydie El-Halougi']) diff --git a/resources/views/2021/challenges/emobot-kliki.blade.php b/resources/views/2021/challenges/emobot-kliki.blade.php new file mode 100644 index 000000000..86d29634c --- /dev/null +++ b/resources/views/2021/challenges/emobot-kliki.blade.php @@ -0,0 +1,164 @@ +@extends('layout.base') + + + +@section('content') + + @php + $slug = 'emobot-kliki' + @endphp + +
+ + +
+
+
+ +
@lang("challenges-content.$slug.title")
+
+
+ + + +
+ +
+
+ + @include('2021.challenges._author', ['author' => 'Kristina Slišurić']) + +
+ + +
+
@lang('challenges.common.target-audience')
+
    +
  1. @lang('challenges-content.common.audience.0')
  2. +
  3. @lang('challenges-content.common.audience.2')
  4. + +
+
+ +
+
@lang('challenges.common.experience')
+
    +
  1. @lang('challenges.common.intermediate')
  2. +
+
+ +
+
@lang('challenges.common.duration')
+
    +
  1. @lang('challenges.common.1-hour')
  2. +
+
+ +
+ +
@lang('challenges.common.purpose')
+
    +
  1. @lang("challenges-content.$slug.purposes.0")
  2. +
  3. @lang("challenges-content.$slug.purposes.1")
  4. +
  5. @lang("challenges-content.$slug.purposes.2")
  6. +
  7. @lang("challenges-content.$slug.purposes.3")
  8. +
+ +
+ + +
+ +
+ + +
@lang('challenges.common.materials')
+
    +
  1. Machine learning for kids
  2. +
  3. Scratch
  4. +
  5. Microsoft Bing Image Creator
  6. + +
+ +
+ + +
+ +
+
+ @lang('challenges.common.description') +
+ + +
+ @lang("challenges-content.$slug.description.0") + @lang("challenges-content.$slug.description.1") +
+
+ + +
+
+
@lang('challenges.common.instructions')
+
    + + +
  • @lang("challenges-content.$slug.instructions.0")
  • +
  • @lang("challenges-content.$slug.instructions.1")
  • +
  • @lang("challenges-content.$slug.instructions.2")
  • +
  • @lang("challenges-content.$slug.instructions.3")
  • +
  • @lang("challenges-content.$slug.instructions.4")
  • +
  • @lang("challenges-content.$slug.instructions.5")
  • + + + + +
+
+
+ + @include('2021.challenges._share') + + + +
+
@lang('challenges.common.example')
+ +
+ + + +
+ +
@lang("challenges-content.$slug.example.0")
+
@lang("challenges-content.$slug.example.1")
+ +
+ + +
+ + @include('2021.challenges._download',['url'=>"https://codeweek-s3.s3.eu-west-1.amazonaws.com/cw2023/$slug.docx"]) +
+
@include('include.licence')
+
+
+ +@endsection + +@section('extra-css') + +@endsection diff --git a/routes/web.php b/routes/web.php index 3bcc2883d..7c66adf6f 100644 --- a/routes/web.php +++ b/routes/web.php @@ -578,6 +578,7 @@ function () { Route::view('personal-trainer','2021.challenges.personal-trainer')->name('challenges.personal-trainer'); Route::view('create-a-spiral','2021.challenges.create-a-spiral')->name('challenges.create-a-spiral'); Route::view('play-against-ai','2021.challenges.play-against-ai')->name('challenges.play-against-ai'); + Route::view('emobot-kliki','2021.challenges.emobot-kliki')->name('challenges.emobot-kliki'); }; Route::group(['prefix' => '2021/challenges'], $challenges);