File tree Expand file tree Collapse file tree 8 files changed +44
-7
lines changed
assets/styles/04-components
content/structuring-data/sprints Expand file tree Collapse file tree 8 files changed +44
-7
lines changed Original file line number Diff line number Diff line change 79
79
color : var (--theme-color--pop );
80
80
}
81
81
}
82
+
83
+ & --codewars-workshop iframe {
84
+ width : 100% ;
85
+ height : 90vh ;
86
+ }
82
87
}
Original file line number Diff line number Diff line change 20
20
{{ partial "block/slide.html" . }}
21
21
{{ else if eq $blockData.type "link" }}
22
22
{{ partial "block/link.html" . }}
23
+ {{ else if eq $blockData.type "codewars-workshop" }}
24
+ {{ partial "block/codewars-workshop.html" . }}
23
25
{{ else }}
24
26
{{ errorf "Unrecognized block type %s" $blockData.type }}
25
27
{{ end }}
Original file line number Diff line number Diff line change
1
+ {{ $blockData := .Page.Scratch.Get "blockData" }}
2
+
3
+ < section
4
+ class ="c-block c-block--{{ $blockData.type }} "
5
+ aria-labelledby ="{{ $blockData.name | urlize }} ">
6
+ < header class ="c-block__header ">
7
+ < h2 class ="c-block__title e-heading__2 " id ="{{ $blockData.name | urlize }} ">
8
+ < a href ="{{ $blockData.sot }} "> 🔗 {{ $blockData.name }}</ a >
9
+ </ h2 >
10
+
11
+ {{ partial "time.html" . }}
12
+ </ header >
13
+
14
+ < p > In groups, we will work through this Codewars problem. Split into groups, one per volunteer.</ p >
15
+
16
+ < p > Remember: Our goals are to: Understand the problem and make a plan to solve it. These are more important steps than actually writing the code (though we should do that too, after we have a plan).</ p >
17
+
18
+ < iframe src ="{{ $blockData.sot }} "> </ iframe >
19
+ </ section >
Original file line number Diff line number Diff line change 64
64
{{/* TODO pull time from commented out front matter in Github readmes */}}
65
65
{{ end }}
66
66
67
+ {{ if "codewars-workshops." | in $src }}
68
+ {{ .Scratch.SetInMap "blockData" "type" "codewars-workshop" }}
69
+ {{ end }}
70
+
67
71
{{/* TODO get rid of the old way of bringing in cyf pd and remove hardcoded CYF stuff here */}}
68
72
{{ if or ("cyf-pd.netlify.app" | in $src) ("/pd/"| in $src) }}
69
73
{{ .Scratch.SetInMap "blockData" "type" "pd" }}
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ time=10
12
12
name =" Energiser: Popcorn"
13
13
src =" energisers/popcorn-screen-share"
14
14
[[blocks ]]
15
- name =" Javascript Test Your Understanding "
16
- src =" https://github.com/CodeYourFuture/CYF-Workshops/tree/main/js1-wk1-eval "
15
+ name =" Problem Solving Workshop "
16
+ src =" https://codewars-workshops.codeyourfuture.io/problem-01/ "
17
17
time =65
18
18
[[blocks ]]
19
19
name =" Morning break"
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ name="Morning orientation"
13
13
src =" blocks/morning-orientation"
14
14
time =15
15
15
[[blocks ]]
16
- name =" Questions and Review Workshop"
17
- src =" https://github.com/CodeYourFuture/CYF-Workshops/tree/main/questions-and-reviews "
16
+ name =" Problem Solving Workshop"
17
+ src =" https://codewars-workshops.codeyourfuture.io/problem-02/ "
18
18
time =60
19
19
[[blocks ]]
20
20
name =" Morning break"
Original file line number Diff line number Diff line change @@ -15,7 +15,14 @@ time=20
15
15
[[blocks ]]
16
16
name =" Workshop:Playing Computer"
17
17
src =" https://github.com/CodeYourFuture/CYF-Workshops/tree/main/playing-computer"
18
- time =140
18
+ time =65
19
+ [[blocks ]]
20
+ name =" Morning break"
21
+ src =" blocks/morning-break"
22
+ [[blocks ]]
23
+ name =" Problem Solving Workshop"
24
+ src =" https://codewars-workshops.codeyourfuture.io/problem-03/"
25
+ time =60
19
26
[[blocks ]]
20
27
name =" lunch"
21
28
src =" blocks/lunch"
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ go 1.24.5
4
4
5
5
require (
6
6
github.com/CodeYourFuture/CYF-PD v1.0.1-0.20240905150045-7be086ff6886 // indirect
7
- github.com/CodeYourFuture/curriculum/common-content v0.0.0-20241022142707-ee3974f18eb2 // indirect
8
- github.com/CodeYourFuture/curriculum/common-theme v0.0.0-20241022142707-ee3974f18eb2 // indirect
7
+ github.com/CodeYourFuture/curriculum/common-content v0.0.0-20250801130816-705636729ea4 // indirect
8
+ github.com/CodeYourFuture/curriculum/common-theme v0.0.0-20250801130816-705636729ea4 // indirect
9
9
github.com/CodeYourFuture/curriculum/org-cyf-guides v0.0.0-20241022142707-ee3974f18eb2 // indirect
10
10
github.com/CodeYourFuture/curriculum/org-cyf-how-this-works v0.0.0-20241022142707-ee3974f18eb2 // indirect
11
11
github.com/CodeYourFuture/curriculum/org-cyf-piscine v0.0.0-20241022142707-ee3974f18eb2 // indirect
You can’t perform that action at this time.
0 commit comments