x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<div class="pk-c-young-learner-slice">
<div class="pk-c-young-learner-slice__container">
<div class="pk-c-young-learner-slice__content">
<div class="pk-c-young-learner-slice__subtitle">
<div class="ui-subtitle">
<div class="ui-subtitle__container">
<h2 class="ui-subtitle__title">Coding for kids</h2>
<p class="ui-subtitle__text">Awesome activities to help young people learn to code and become tech creators, at home and in clubs.</p>
</div>
</div>
</div>
<div class="pk-c-young-learner-slice__cards-container">
<div class="pk-c-young-learner-slice__cards">
<img alt="" height="500" width="330" src="https://static.raspberrypi.org/wallpaper/islands.jpg">
<img alt="" height="500" width="330" src="https://static.raspberrypi.org/wallpaper/temple.jpg">
<img alt="" height="500" width="330" src="https://static.raspberrypi.org/wallpaper/mountain.jpg">
</div>
</div>
</div>
</div>
</div>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
c(
'site/young_learner_slice',
heading:,
copy:
) do |component|
component.with_projects_editor_card do
"<img alt=\"\" height=\"500\" width=\"330\" src=\"#{random_image_src}\">".html_safe
end
component.with_coolest_projects_card do
"<img alt=\"\" height=\"500\" width=\"330\" src=\"#{random_image_src}\">".html_safe
end
component.with_astro_pi_card do
"<img alt=\"\" height=\"500\" width=\"330\" src=\"#{random_image_src}\">".html_safe
end
end
Param Description Input

The heading of the young learners slice

The copy of the young learners slice