diff --git a/public/img/2021/challenges/circle-of-dots-1.png b/public/img/2021/challenges/circle-of-dots-1.png new file mode 100644 index 000000000..8f8273604 Binary files /dev/null and b/public/img/2021/challenges/circle-of-dots-1.png differ diff --git a/public/img/2021/challenges/circle-of-dots-2.png b/public/img/2021/challenges/circle-of-dots-2.png new file mode 100644 index 000000000..b1fa22d64 Binary files /dev/null and b/public/img/2021/challenges/circle-of-dots-2.png differ diff --git a/public/img/2021/challenges/circle-of-dots-3.png b/public/img/2021/challenges/circle-of-dots-3.png new file mode 100644 index 000000000..19d4fb384 Binary files /dev/null and b/public/img/2021/challenges/circle-of-dots-3.png differ diff --git a/public/img/2021/challenges/circle-of-dots-4.png b/public/img/2021/challenges/circle-of-dots-4.png new file mode 100644 index 000000000..66d114fcb Binary files /dev/null and b/public/img/2021/challenges/circle-of-dots-4.png differ diff --git a/resources/views/2021/challenges.blade.php b/resources/views/2021/challenges.blade.php index 98a2d3f3c..eb5bf30e6 100644 --- a/resources/views/2021/challenges.blade.php +++ b/resources/views/2021/challenges.blade.php @@ -50,6 +50,9 @@ @php $currentDate = \Carbon\Carbon::now(); @endphp + @if (strtotime($currentDate) >= strtotime(\Carbon\Carbon::create(2023,10,13))) + @include('2021._thumbnail', ['slug' => 'circle-of-dots', 'author'=>'Marin Popov']) + @endif @if (strtotime($currentDate) >= strtotime(\Carbon\Carbon::create(2023,10,12))) @include('2021._thumbnail', ['slug' => 'craft-magic', 'author'=>'Georgia Lascaris']) @endif diff --git a/resources/views/2021/challenges/circle-of-dots.blade.php b/resources/views/2021/challenges/circle-of-dots.blade.php new file mode 100644 index 000000000..2adaa0f63 --- /dev/null +++ b/resources/views/2021/challenges/circle-of-dots.blade.php @@ -0,0 +1,154 @@ +@extends('layout.base') + + + +@section('content') + + @php + $slug = 'circle-of-dots' + @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.1')
  2. +
+
+ +
+
@lang('challenges.common.experience')
+
    +
  1. @lang('challenges.common.intermediate')
  2. +
+
+ +
+
@lang('challenges.common.duration')
+
    +
  1. @lang("challenges-content.$slug.duration")
  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. Scratch
  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")
  • + + +
+
+
+ + @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 abe5fc5a2..c63b98a3a 100644 --- a/routes/web.php +++ b/routes/web.php @@ -580,6 +580,7 @@ function () { 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::view('circle-of-dots','2021.challenges.circle-of-dots')->name('challenges.circle-of-dots'); }; Route::group(['prefix' => '2021/challenges'], $challenges);