-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathcreate-a-dance.blade.php
145 lines (104 loc) · 5.55 KB
/
create-a-dance.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
@extends('layout.base')
@section('title', 'Create a Dance – Code Your Own Dance Moves')
@section('description', 'Combine creativity and coding to design and animate your own dance routine in this fun and interactive challenge.')
<x-tailwind></x-tailwind>
@section('content')
@php
$slug = 'create-a-dance'
@endphp
<section id="codeweek-schools-page" class="codeweek-page">
<section class="flex flex-row justify-between" style="background-color: #E759FD">
<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: #fdeefd">@lang("challenges-content.$slug.title")</div>
</div>
</div>
<div class="md:w-10/12 md:flex hidden">
<img src="{{asset('img/2021/challenges/thumbnails/create-a-dance.png')}}">
</div>
</section>
<section class="codeweek-content-wrapper">
<div class="m-6">
@include('2021.challenges._author', ['author' => 'Code.org'])
<section class="grid grid-cols-1 gap-6 md:grid-cols-5 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.common.1-hour')</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><a href="https://code.org/dance">@lang("challenges-content.$slug.materials")</a></li>
</ol>
</div>
<div>
<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")</li>
</ol>
</div>
</section>
<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 w-1/2">
<img src="{{asset('img/2021/challenges/create-a-dance-2.jpg')}}"/>
</div>
<div class="mt-2">
@lang("challenges-content.$slug.description.0") <a href="https://code.org/dance">@lang("challenges-content.$slug.description.1")</a> @lang("challenges-content.$slug.description.2")
</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") <a href="https://code.org/dance">@lang("challenges-content.$slug.instructions.1")</a> @lang("challenges-content.$slug.instructions.2").
</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://code.org/dance">https://code.org/dance</a>
<div class="mt-2">
<a href="https://code.org/dance">
<img src="{{asset('img/2021/challenges/create-a-dance-1.gif')}}"/>
</a>
</div>
</div>
</section>
</div>
@include('2021.challenges._download',['url'=>'https://codeweek-s3.s3.eu-west-1.amazonaws.com/cw2021/Create+a+dance+with+the+Ode+to+Code!.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