x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<div class="pk-c-tertiary-hero">
<div class="pk-c-tertiary-hero__container">
<div class="pk-c-tertiary-hero__content pk-c-tertiary-hero__content--temp pk-background-color--yellow">
<div class="pk-c-tertiary-hero__copy">
<h1 class="pk-c-heading">Compelling headline here </h1>
<p class="pk-c-copy">Here is a tagline that includes the benefits for the user. Communicate the single most compelling thing within two lines.</p>
<div class="pk-c-tertiary-hero__links">
<a data-event-category="Category" data-event-label="Label" data-event-action="click" class="rpf-button" href="/primary-cta">Primary Button</a>
<a data-event-category="Category" data-event-label="Label" data-event-action="click" class="rpf-button rpf-button--secondary rpf-button" href="/secondary-cta">Secondary Button</a>
</div>
</div>
<div class="pk-c-tertiary-hero__image">
<img alt="Alt Text" width="608" srcset="https://static.raspberrypi.org/wallpaper/bridge.jpg 2x" src="https://static.raspberrypi.org/wallpaper/cliff.jpg" />
</div>
</div>
</div>
</div>
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
c('site/tertiary_hero', {
title:,
description:,
image: {
alt: 'Alt Text',
width: 608,
src: random_image_src,
srcset: {
"#{random_image_src}": '2x'
}
},
background_colour:,
primary_cta: {
href: primary_cta[:href],
label: primary_cta[:label],
attrs: {
data: {
event_category: 'Category',
event_label: 'Label',
event_action: 'click'
}
}
},
secondary_cta: {
href: secondary_cta[:href],
label: secondary_cta[:label],
attrs: {
data: {
event_category: 'Category',
event_label: 'Label',
event_action: 'click'
}
}
}
})
Param Description Input

The title of the component

The description of the component

The background colour of the component

The primary CTA details

The secondary CTA details