-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathcalming-leds.blade.php
152 lines (108 loc) · 5.98 KB
/
calming-leds.blade.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
@extends('layout.base')
@section('title', 'Calming LEDs – Create Relaxing Light Effects with Code')
@section('description', 'Program soothing LED light patterns in this calming coding challenge. Explore the intersection of coding and creativity to design peaceful light displays.')
<x-tailwind></x-tailwind>
@section('content')
@php
$slug = 'calming-leds'
@endphp
<section id="codeweek-schools-page" class="codeweek-page">
<section class="flex flex-row justify-between" style="background-color: #8B0DC4">
<div class="flex justify-center items-center w-full">
<div class="text-center m-12">
<div class="text-xl text-white w-full"><a class="text-white" href="{{route('challenges')}}">@lang('challenges.title')</a></div>
<div class="text-5xl mt-2" style="color: #eb9940">@lang("challenges-content.$slug.title")</div>
</div>
</div>
<div class="md:w-10/12 md:flex hidden">
<img src="{{asset('img/2021/challenges/thumbnails/calming-leds.png')}}">
</div>
</section>
<section class="codeweek-content-wrapper">
<div class="m-6">
@include('2021.challenges._author', ['author' => __("challenges-content.$slug.author")])
<section class="grid grid-cols-1 gap-6 md:grid-cols-4 mx-6 my-4">
<div>
<div class="text-xl text-left text-blue-600">@lang('challenges.common.target-audience')</div>
<ol class="list-disc ml-5">
<li>@lang('challenges.common.students') (6-12)</li>
</ol>
</div>
<div>
<div class="text-xl text-left text-blue-600">@lang('challenges.common.experience')</div>
<ol class="list-disc ml-5">
<li>@lang('challenges.common.beginner')</li>
</ol>
</div>
<div>
<div class="text-xl text-left text-blue-600">@lang('challenges.common.duration')</div>
<ol class="list-disc ml-5">
<li>
@lang("challenges-content.$slug.duration")
</li>
</ol>
</div>
<div>
<div class="text-xl text-left text-blue-600">@lang('challenges.common.materials')</div>
<ol class="list-disc ml-5">
<li>@lang("challenges-content.$slug.materials.0")</li>
<li>@lang("challenges-content.$slug.materials.1")</li>
<li>@lang("challenges-content.$slug.materials.2")</li>
</ol>
</div>
</section>
<div class="mx-6 my-4">
<div class="text-xl text-left text-blue-600">@lang('challenges.common.purpose')</div>
<ol class="list-disc ml-5">
<li>@lang("challenges-content.$slug.purposes.0")</li>
<li>@lang("challenges-content.$slug.purposes.1")</li>
<li>@lang("challenges-content.$slug.purposes.2")</li>
<li>@lang("challenges-content.$slug.purposes.3")</li>
</ol>
</div>
<div class="leading-6 text-base text-left">
<section class="bg-blue-100 p-2 mt-6">
<div class="orange text-3xl mt-2">
@lang('challenges.common.description')
</div>
<div class="mt-2">
@lang("challenges-content.$slug.description")
</div>
</section>
<section class="p-2">
<div class="leading-6">
<div class="mt-6 orange text-3xl">@lang('challenges.common.instructions')</div>
<ul class="leading-7 ml-2 checklist mt-2">
<li>@lang("challenges-content.$slug.instructions.0")</li>
<li>@lang("challenges-content.$slug.instructions.1")</li>
<li>@lang("challenges-content.$slug.instructions.2")</li>
<li>@lang("challenges-content.$slug.instructions.3") <a href="https://microbit.org/news/2020-05-01/microbit-at-home-calming-leds/">@lang("challenges-content.$slug.instructions.4")</a>.</li>
</ul>
</div>
</section>
@include('2021.challenges._share')
<section class="p-2">
<div class="orange text-3xl">@lang('challenges.common.example')</div>
<div class="mt-2">@lang("challenges-content.$slug.example"): <a href="https://microbit.org/news/2020-05-01/microbit-at-home-calming-leds/">https://microbit.org/news/2020-05-01/microbit-at-home-calming-leds/</a> </div>
<div class="mt-2">
<a href="https://microbit.org/news/2020-05-01/microbit-at-home-calming-leds/">
<img src="{{asset('img/2021/challenges/calming-leds-1.png')}}"/>
</a>
</div>
</section>
</div>
@include('2021.challenges._download',['url'=>'https://codeweek-s3.s3.eu-west-1.amazonaws.com/cw2021/Calming+LEDs.docx'])
</div>
<div style="text-align: center">@include('include.licence')</div>
</section>
</section>
@endsection
@section('extra-css')
<style>
ul.checklist li:before {
content: '• ';
color: #ee6a2c;
font-weight: bold;
}
</style>
@endsection