diff --git a/public/img/2021/challenges/craft-magic-example.png b/public/img/2021/challenges/craft-magic-example.png new file mode 100644 index 000000000..8bad64eb8 Binary files /dev/null and b/public/img/2021/challenges/craft-magic-example.png differ diff --git a/public/img/2021/challenges/thumbnails/air-drawing-with-AI.png b/public/img/2021/challenges/thumbnails/air-drawing-with-AI.png new file mode 100644 index 000000000..150d5a9df Binary files /dev/null and b/public/img/2021/challenges/thumbnails/air-drawing-with-AI.png differ diff --git a/public/img/2021/challenges/thumbnails/app-that-counts-in-several-languages.png b/public/img/2021/challenges/thumbnails/app-that-counts-in-several-languages.png new file mode 100644 index 000000000..475e78771 Binary files /dev/null and b/public/img/2021/challenges/thumbnails/app-that-counts-in-several-languages.png differ diff --git a/public/img/2021/challenges/thumbnails/circle-of-dots.png b/public/img/2021/challenges/thumbnails/circle-of-dots.png new file mode 100644 index 000000000..67ab166cb Binary files /dev/null and b/public/img/2021/challenges/thumbnails/circle-of-dots.png differ diff --git a/public/img/2021/challenges/thumbnails/coding-escape-room.png b/public/img/2021/challenges/thumbnails/coding-escape-room.png new file mode 100644 index 000000000..daffe0e20 Binary files /dev/null and b/public/img/2021/challenges/thumbnails/coding-escape-room.png differ diff --git a/public/img/2021/challenges/thumbnails/coding-with-art-through-storytelling.png b/public/img/2021/challenges/thumbnails/coding-with-art-through-storytelling.png new file mode 100644 index 000000000..33d0fa687 Binary files /dev/null and b/public/img/2021/challenges/thumbnails/coding-with-art-through-storytelling.png differ diff --git a/public/img/2021/challenges/thumbnails/coding-with-legoboost.png b/public/img/2021/challenges/thumbnails/coding-with-legoboost.png new file mode 100644 index 000000000..328dcdeb9 Binary files /dev/null and b/public/img/2021/challenges/thumbnails/coding-with-legoboost.png differ diff --git a/public/img/2021/challenges/thumbnails/craft-magic.png b/public/img/2021/challenges/thumbnails/craft-magic.png new file mode 100644 index 000000000..b12aa38d9 Binary files /dev/null and b/public/img/2021/challenges/thumbnails/craft-magic.png differ diff --git a/public/img/2021/challenges/thumbnails/illustrate-a-joke.png b/public/img/2021/challenges/thumbnails/illustrate-a-joke.png new file mode 100644 index 000000000..067daecaa Binary files /dev/null and b/public/img/2021/challenges/thumbnails/illustrate-a-joke.png differ diff --git a/resources/views/2021/challenges.blade.php b/resources/views/2021/challenges.blade.php index a40f0eba2..98a2d3f3c 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,11))) - @include('2021._thumbnail', ['slug' => 'emobot-kliki', 'author'=>'Margareta Zajkova']) + @if (strtotime($currentDate) >= strtotime(\Carbon\Carbon::create(2023,10,12))) + @include('2021._thumbnail', ['slug' => 'craft-magic', 'author'=>'Georgia Lascaris']) @endif + @include('2021._thumbnail', ['slug' => 'emobot-kliki', 'author'=>'Margareta Zajkova']) @include('2021._thumbnail', ['slug' => 'play-against-ai', 'author'=>'Kristina Slišurić']) @include('2021._thumbnail', ['slug' => 'create-a-spiral', 'author'=>'Lydie El-Halougi']) diff --git a/resources/views/2021/challenges/craft-magic.blade.php b/resources/views/2021/challenges/craft-magic.blade.php new file mode 100644 index 000000000..f754ee9f2 --- /dev/null +++ b/resources/views/2021/challenges/craft-magic.blade.php @@ -0,0 +1,194 @@ +@extends('layout.base') + + + +@section('content') + + @php + $slug = 'craft-magic' + @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.1')
  4. +
  5. @lang('challenges-content.common.audience.2')
  6. + +
+
+ +
+
@lang('challenges.common.experience')
+
    +
  1. @lang('challenges.common.intermediate')
  2. +
+
+ +
+
@lang('challenges.common.duration')
+
    +
  1. @lang("challenges-content.$slug.duration.0")
  2. +
  3. @lang("challenges-content.$slug.duration.1")
  4. +
+
+ +
+
@lang('challenges.common.materials')
+
    +
  1. @lang("challenges-content.$slug.materials.0") +
  2. +
  3. @lang("challenges-content.$slug.materials.1")
  4. +
  5. @lang("challenges-content.$slug.materials.2")
  6. + + +
  7. @lang("challenges-content.$slug.materials.3")
  8. +
  9. @lang("challenges-content.$slug.materials.4")
  10. + + +
+
+ +
+ +
+ + +
+ +
@lang('challenges.common.purpose')
+
    +
  1. @lang("challenges-content.$slug.purposes.0")
  2. +
  3. @lang("challenges-content.$slug.purposes.1")
  4. + + +
+ +
+
+ +
    +
  1. @lang("challenges-content.$slug.purposes.2")
  2. +
  3. @lang("challenges-content.$slug.purposes.3")
  4. + +
+ +
+ +
+ +
    +
  1. @lang("challenges-content.$slug.purposes.4")
  2. +
  3. @lang("challenges-content.$slug.purposes.5")
  4. +
+ +
+ +
+ +
    +
  1. @lang("challenges-content.$slug.purposes.6")
  2. +
+ +
+ + +
+ + +
+ +
+
+ @lang('challenges.common.description') +
+ + +
+ @lang("challenges-content.$slug.description") +
+
+ + +
+
+
@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")
  • +
  • @lang("challenges-content.$slug.instructions.6")
  • + + + +
+
+
+ + @include('2021.challenges._share') + + +
+
@lang('challenges.common.example')
+ +
+ +
+ + +
+ + +
+ + @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 7c66adf6f..abe5fc5a2 100644 --- a/routes/web.php +++ b/routes/web.php @@ -579,6 +579,7 @@ function () { 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::view('craft-magic','2021.challenges.craft-magic')->name('challenges.craft-magic'); }; Route::group(['prefix' => '2021/challenges'], $challenges);