x
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
<div class="pk-c-three-card-slice"> <div class="pk-c-three-card-slice__container"> <div class="pk-c-three-card-slice__subtitle"> <div class="ui-subtitle"> <div class="ui-subtitle__container"> <h2 class="ui-subtitle__title">How we create change</h2> <p class="ui-subtitle__text">Our theory of change serves as the cornerstone of our strategy for creating impact.</p> </div> </div> </div> <div class="pk-c-three-card-slice__cards-container"> <div class="pk-c-three-card-slice__cards"> <div class="pk-c-image-text-card"> <div class="pk-c-image-text-card__container"> <div class="pk-c-image-text-card__image"> <img alt="Alt Text" height="375" width="600" srcset="https://static.raspberrypi.org/wallpaper/cliff.jpg 2x" src="https://static.raspberrypi.org/wallpaper/fjord.jpg" /> </div> <div class="pk-c-image-text-card__content"> <div class="pk-c-image-text-card__copy"> <div class="pk-c-image-text-card__titles"> <h3 class="pk-c-image-text-card__subtitle"> The problem </h3> </div> <div class="pk-c-image-text-card__text"> Young people should be digital protagonists who can use technology for good, but in a rapidly changing digital world many lack agency. </div> </div> </div> </div> </div> <div class="pk-c-image-text-card"> <div class="pk-c-image-text-card__container"> <div class="pk-c-image-text-card__image"> <img alt="Alt Text" height="375" width="600" srcset="https://static.raspberrypi.org/wallpaper/clouds.jpg 2x" src="https://static.raspberrypi.org/wallpaper/waterfall.jpg" /> </div> <div class="pk-c-image-text-card__content"> <div class="pk-c-image-text-card__copy"> <div class="pk-c-image-text-card__titles"> <h3 class="pk-c-image-text-card__subtitle"> The problem </h3> </div> <div class="pk-c-image-text-card__text"> Young people should be digital protagonists who can use technology for good, but in a rapidly changing digital world many lack agency. </div> </div> </div> </div> </div> <div class="pk-c-image-text-card"> <div class="pk-c-image-text-card__container"> <div class="pk-c-image-text-card__image"> <img alt="Alt Text" height="375" width="600" srcset="https://static.raspberrypi.org/wallpaper/trees.jpg 2x" src="https://static.raspberrypi.org/wallpaper/temple.jpg" /> </div> <div class="pk-c-image-text-card__content"> <div class="pk-c-image-text-card__copy"> <div class="pk-c-image-text-card__titles"> <h3 class="pk-c-image-text-card__subtitle"> The problem </h3> </div> <div class="pk-c-image-text-card__text"> Young people should be digital protagonists who can use technology for good, but in a rapidly changing digital world many lack agency. </div> </div> </div> </div> </div> </div> </div> <div class="pk-c-three-card-slice__cta"> <a data-event-category="three_card_slice_cta" data-event-label="about" data-event-action="click" class="rpf-button" href="/">Learn more about our impact<span class="rpf-button__icon material-symbols-sharp">open_in_new</span></a> </div> </div></div>1
2
3
4
5
c('site/three_card_slice', title:, text:, link: link_data(href: '/', label: 'Learn more about our impact', event_label: 'about', event_category: 'three_card_slice_cta')) do |component| 3.times { component.with_card { component.render(impact_with_text_image_card_preview) } }endNo notes provided.
| Param | Description | Input |
|---|---|---|
|
The title to display in the slice |
|
|
|
The text to display in the slice |
|