diff --git a/public/img/2021/challenges/create-a-spiral-1.png b/public/img/2021/challenges/create-a-spiral-1.png new file mode 100644 index 000000000..7c32ad929 Binary files /dev/null and b/public/img/2021/challenges/create-a-spiral-1.png differ diff --git a/public/img/2021/challenges/create-a-spiral-10.png b/public/img/2021/challenges/create-a-spiral-10.png new file mode 100644 index 000000000..6ada51ce0 Binary files /dev/null and b/public/img/2021/challenges/create-a-spiral-10.png differ diff --git a/public/img/2021/challenges/create-a-spiral-11.png b/public/img/2021/challenges/create-a-spiral-11.png new file mode 100644 index 000000000..0cc808080 Binary files /dev/null and b/public/img/2021/challenges/create-a-spiral-11.png differ diff --git a/public/img/2021/challenges/create-a-spiral-12.png b/public/img/2021/challenges/create-a-spiral-12.png new file mode 100644 index 000000000..8f118b2cc Binary files /dev/null and b/public/img/2021/challenges/create-a-spiral-12.png differ diff --git a/public/img/2021/challenges/create-a-spiral-13.png b/public/img/2021/challenges/create-a-spiral-13.png new file mode 100644 index 000000000..ec757543a Binary files /dev/null and b/public/img/2021/challenges/create-a-spiral-13.png differ diff --git a/public/img/2021/challenges/create-a-spiral-14.png b/public/img/2021/challenges/create-a-spiral-14.png new file mode 100644 index 000000000..bc446299a Binary files /dev/null and b/public/img/2021/challenges/create-a-spiral-14.png differ diff --git a/public/img/2021/challenges/create-a-spiral-15.png b/public/img/2021/challenges/create-a-spiral-15.png new file mode 100644 index 000000000..b3fe1bd04 Binary files /dev/null and b/public/img/2021/challenges/create-a-spiral-15.png differ diff --git a/public/img/2021/challenges/create-a-spiral-16.png b/public/img/2021/challenges/create-a-spiral-16.png new file mode 100644 index 000000000..078ce4687 Binary files /dev/null and b/public/img/2021/challenges/create-a-spiral-16.png differ diff --git a/public/img/2021/challenges/create-a-spiral-17.png b/public/img/2021/challenges/create-a-spiral-17.png new file mode 100644 index 000000000..1f7ad85f3 Binary files /dev/null and b/public/img/2021/challenges/create-a-spiral-17.png differ diff --git a/public/img/2021/challenges/create-a-spiral-18.png b/public/img/2021/challenges/create-a-spiral-18.png new file mode 100644 index 000000000..135de6c4f Binary files /dev/null and b/public/img/2021/challenges/create-a-spiral-18.png differ diff --git a/public/img/2021/challenges/create-a-spiral-19.png b/public/img/2021/challenges/create-a-spiral-19.png new file mode 100644 index 000000000..df1241a7d Binary files /dev/null and b/public/img/2021/challenges/create-a-spiral-19.png differ diff --git a/public/img/2021/challenges/create-a-spiral-2.png b/public/img/2021/challenges/create-a-spiral-2.png new file mode 100644 index 000000000..5abef78ec Binary files /dev/null and b/public/img/2021/challenges/create-a-spiral-2.png differ diff --git a/public/img/2021/challenges/create-a-spiral-3.png b/public/img/2021/challenges/create-a-spiral-3.png new file mode 100644 index 000000000..a9e40f680 Binary files /dev/null and b/public/img/2021/challenges/create-a-spiral-3.png differ diff --git a/public/img/2021/challenges/create-a-spiral-4.png b/public/img/2021/challenges/create-a-spiral-4.png new file mode 100644 index 000000000..dbf38e073 Binary files /dev/null and b/public/img/2021/challenges/create-a-spiral-4.png differ diff --git a/public/img/2021/challenges/create-a-spiral-5.png b/public/img/2021/challenges/create-a-spiral-5.png new file mode 100644 index 000000000..e3b323269 Binary files /dev/null and b/public/img/2021/challenges/create-a-spiral-5.png differ diff --git a/public/img/2021/challenges/create-a-spiral-6.png b/public/img/2021/challenges/create-a-spiral-6.png new file mode 100644 index 000000000..eda9a6fb0 Binary files /dev/null and b/public/img/2021/challenges/create-a-spiral-6.png differ diff --git a/public/img/2021/challenges/create-a-spiral-7.png b/public/img/2021/challenges/create-a-spiral-7.png new file mode 100644 index 000000000..20f2d4ec4 Binary files /dev/null and b/public/img/2021/challenges/create-a-spiral-7.png differ diff --git a/public/img/2021/challenges/create-a-spiral-8.png b/public/img/2021/challenges/create-a-spiral-8.png new file mode 100644 index 000000000..5e8272fce Binary files /dev/null and b/public/img/2021/challenges/create-a-spiral-8.png differ diff --git a/public/img/2021/challenges/create-a-spiral-9.png b/public/img/2021/challenges/create-a-spiral-9.png new file mode 100644 index 000000000..033292fd1 Binary files /dev/null and b/public/img/2021/challenges/create-a-spiral-9.png differ diff --git a/public/img/2021/challenges/create-a-spiral-example.png b/public/img/2021/challenges/create-a-spiral-example.png new file mode 100644 index 000000000..4b395532d Binary files /dev/null and b/public/img/2021/challenges/create-a-spiral-example.png differ diff --git a/public/img/2021/challenges/thumbnails/create-a-spiral.png b/public/img/2021/challenges/thumbnails/create-a-spiral.png new file mode 100644 index 000000000..78e3c062e Binary files /dev/null and b/public/img/2021/challenges/thumbnails/create-a-spiral.png differ diff --git a/resources/views/2021/challenges.blade.php b/resources/views/2021/challenges.blade.php index 8f5c29bb2..9461257ee 100644 --- a/resources/views/2021/challenges.blade.php +++ b/resources/views/2021/challenges.blade.php @@ -50,12 +50,12 @@ @php $currentDate = \Carbon\Carbon::now(); @endphp - @if (strtotime($currentDate) >= strtotime(\Carbon\Carbon::create(2023,10,8))) - @include('2021._thumbnail', ['slug' => 'personal-trainer', 'author'=>'Álvaro Molina Ayuso']) - @endif - @if (strtotime($currentDate) >= strtotime(\Carbon\Carbon::create(2023,10,7))) - @include('2021._thumbnail', ['slug' => 'code-a-dice', 'author'=>'Fabrizia Agnello']) - @endif + {{-- @if (strtotime($currentDate) >= strtotime(\Carbon\Carbon::create(2023,10,9)))--}} + @include('2021._thumbnail', ['slug' => 'create-a-spiral', 'author'=>'Lydie El-Halougi']) + {{-- @endif--}} + + @include('2021._thumbnail', ['slug' => 'personal-trainer', 'author'=>'Álvaro Molina Ayuso']) + @include('2021._thumbnail', ['slug' => 'code-a-dice', 'author'=>'Fabrizia Agnello']) @include('2021._thumbnail', ['slug' => 'build-calliope', 'author'=>'Amazon Future Engineer | Meet and Code feat. Calliope gGmbH']) @include('2021._thumbnail', ['slug' => 'chatbot']) @include('2021._thumbnail', ['slug' => 'paper-circuit']) diff --git a/resources/views/2021/challenges/create-a-spiral.blade.php b/resources/views/2021/challenges/create-a-spiral.blade.php new file mode 100644 index 000000000..22b348d92 --- /dev/null +++ b/resources/views/2021/challenges/create-a-spiral.blade.php @@ -0,0 +1,220 @@ +@extends('layout.base') + + + +@section('content') + + @php + $slug = 'create-a-spiral' + @endphp + +
+ + +
+
+
+ +
@lang("challenges-content.$slug.title")
+
+
+ + + +
+ +
+
+ + @include('2021.challenges._author', ['author' => 'Álvaro Molina Ayuso']) + +
+ + +
+
@lang('challenges.common.target-audience')
+
    +
  1. @lang('challenges-content.common.audience.1')
  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. +
+ +
+ + +
+ +
+ + +
@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")
  • +
  • @lang("challenges-content.$slug.instructions.4") + +
  • + + +
  • @lang("challenges-content.$slug.instructions.5") + +
  • +
  • @lang("challenges-content.$slug.instructions.6") + +
  • +
  • @lang("challenges-content.$slug.instructions.7")
  • +
  • @lang("challenges-content.$slug.instructions.8") + +
  • +
  • @lang("challenges-content.$slug.instructions.9") + +
  • +
  • @lang("challenges-content.$slug.instructions.10") + +
  • + +
    @lang("challenges-content.$slug.instructions.11")
    + +
  • @lang("challenges-content.$slug.instructions.12") + +
  • +
  • @lang("challenges-content.$slug.instructions.13") + +
  • + +
    @lang("challenges-content.$slug.instructions.14")
    + +
  • @lang("challenges-content.$slug.instructions.15") + +
  • +
  • @lang("challenges-content.$slug.instructions.16")
  • +
  • @lang("challenges-content.$slug.instructions.17") + +
  • +
  • @lang("challenges-content.$slug.instructions.18") + +
  • +
  • @lang("challenges-content.$slug.instructions.19") + +
  • +
  • @lang("challenges-content.$slug.instructions.20") + +
  • +
  • @lang("challenges-content.$slug.instructions.21") + +
  • +
  • @lang("challenges-content.$slug.instructions.22") + +
  • +
    @lang("challenges-content.$slug.instructions.23")
    + +
  • @lang("challenges-content.$slug.instructions.24") + +
  • +
  • @lang("challenges-content.$slug.instructions.25") + +
  • +
  • @lang("challenges-content.$slug.instructions.26")
  • +
  • @lang("challenges-content.$slug.instructions.27") + +
  • + @lang("challenges-content.$slug.instructions.28") +
+
+
+ + @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 4e59cf651..e8f22101a 100644 --- a/routes/web.php +++ b/routes/web.php @@ -576,6 +576,7 @@ function () { Route::view('european-astro-pi','2021.challenges.european-astro-pi')->name('challenges.european-astro-pi'); Route::view('code-a-dice','2021.challenges.code-a-dice')->name('challenges.code-a-dice'); 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::group(['prefix' => '2021/challenges'], $challenges);