Skip to content

Commit 228f659

Browse files
committed
fix: update all micro journey cta to use bolt link over text
1 parent 78d3af1 commit 228f659

11 files changed

+30
-30
lines changed

packages/editor/src/setup-bolt.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ const cta = {
6262
content: `
6363
<bolt-cta>
6464
<bolt-icon size="medium" slot="icon" name="asset-presentation"></bolt-icon>
65-
<bolt-text font-size="xsmall" slot="link" display="inline">
65+
<bolt-link slot="link" display="inline">
6666
CTA Text
6767
<bolt-icon name="chevron-right"></bolt-icon>
68-
</bolt-text>
68+
</bolt-link>
6969
</bolt-cta>
7070
`,
7171
};
@@ -611,10 +611,10 @@ export function setupBolt(editor) {
611611
},
612612
initialContent: [
613613
`<bolt-icon size="medium" slot="icon" name="asset-presentation"></bolt-icon>`,
614-
`<bolt-text font-size="xsmall" slot="link" display="inline">
614+
`<bolt-link slot="link" display="inline">
615615
CTA Text
616616
<bolt-icon name="chevron-right"></bolt-icon>
617-
</bolt-text>`,
617+
</bolt-link>`,
618618
],
619619
extraTraits: [],
620620
});

packages/micro-journeys/starters/cta-text-2.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
<bolt-icon name="asset-presentation"></bolt-icon>
77
</bolt-animate>
88
<bolt-animate slot="link">
9-
<bolt-text font-size="xsmall" display="inline">
9+
<bolt-link display="inline">
1010
See this in action
1111
<bolt-icon name="chevron-right"></bolt-icon>
12-
</bolt-text>
12+
</bolt-link>
1313
</bolt-animate>
1414
</bolt-cta>

packages/micro-journeys/starters/cta-text-3.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
</bolt-text>
44
<bolt-cta>
55
<bolt-animate slot="link">
6-
<bolt-text font-size="xsmall" display="inline">
6+
<bolt-link display="inline">
77
What do we mean by “next best action”?
88
<bolt-icon name="chevron-right"></bolt-icon>
9-
</bolt-text>
9+
</bolt-link>
1010
</bolt-animate>
1111
</bolt-cta>

packages/micro-journeys/starters/cta-text-4.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
</bolt-text>
44
<bolt-cta>
55
<bolt-animate slot="link">
6-
<bolt-text font-size="xsmall" display="inline">
6+
<bolt-link display="inline">
77
Find out how Cisco cut AHT in half
88
<bolt-icon name="chevron-right"></bolt-icon>
9-
</bolt-text>
9+
</bolt-link>
1010
</bolt-animate>
1111
</bolt-cta>

packages/micro-journeys/starters/cta-text-5.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
<bolt-icon size="medium" name="co-browse"></bolt-icon>
88
</bolt-animate>
99
<bolt-animate slot="link">
10-
<bolt-text font-size="xsmall" display="inline">
10+
<bolt-link display="inline">
1111
Explore our industry-leading software
1212
<bolt-icon name="chevron-right"></bolt-icon>
13-
</bolt-text>
13+
</bolt-link>
1414
</bolt-animate>
1515
</bolt-cta>
1616
<br>
@@ -19,10 +19,10 @@
1919
<bolt-icon size="medium" name="customer-service"></bolt-icon>
2020
</bolt-animate>
2121
<bolt-animate slot="link">
22-
<bolt-text font-size="xsmall" display="inline">
22+
<bolt-link display="inline">
2323
Learn more about intelligent guidance
2424
<bolt-icon name="chevron-right"></bolt-icon>
25-
</bolt-text>
25+
</bolt-link>
2626
</bolt-animate>
2727
</bolt-cta>
2828
<br>
@@ -31,9 +31,9 @@
3131
<bolt-icon size="medium" name="eye"></bolt-icon>
3232
</bolt-animate>
3333
<bolt-animate slot="link">
34-
<bolt-text font-size="xsmall" display="inline">
34+
<bolt-link display="inline">
3535
Sign up for an upcoming demo
3636
<bolt-icon name="chevron-right"></bolt-icon>
37-
</bolt-text>
37+
</bolt-link>
3838
</bolt-animate>
3939
</bolt-cta>

packages/micro-journeys/starters/cta-text-lorem.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
<bolt-icon size="medium" name="asset-presentation"></bolt-icon>
77
</bolt-animate>
88
<bolt-animate slot="link">
9-
<bolt-text font-size="xsmall" display="inline">
9+
<bolt-link display="inline">
1010
Ab animi atque consectetur
1111
<bolt-icon name="chevron-right"></bolt-icon>
12-
</bolt-text>
12+
</bolt-link>
1313
</bolt-animate>
1414
</bolt-cta>

packages/micro-journeys/starters/one-character-1.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
<bolt-icon name="eye"></bolt-icon>
1414
</bolt-animate>
1515
<bolt-animate slot="link">
16-
<bolt-text font-size="xsmall" display="inline">
16+
<bolt-link display="inline">
1717
Customer billing view
1818
<bolt-icon name="chevron-right"></bolt-icon>
19-
</bolt-text>
19+
</bolt-link>
2020
</bolt-animate>
2121
</bolt-cta>
2222
</bolt-animate>

packages/micro-journeys/starters/one-character-lorem.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
<bolt-icon name="eye"></bolt-icon>
1414
</bolt-animate>
1515
<bolt-animate slot="link">
16-
<bolt-text font-size="xsmall" display="inline">
16+
<bolt-link font-size="xsmall" display="inline">
1717
Lorem ipsum dolor sit amet
1818
<bolt-icon name="chevron-right"></bolt-icon>
19-
</bolt-text>
19+
</bolt-link>
2020
</bolt-animate>
2121
</bolt-cta>
2222
</bolt-animate>

packages/micro-journeys/starters/steo-one-character-lorem.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
<bolt-icon name="eye"></bolt-icon>
1717
</bolt-animate>
1818
<bolt-animate slot="link">
19-
<bolt-text font-size="xsmall" display="inline">
19+
<bolt-link display="inline">
2020
Lorem ipsum dolor sit amet
2121
<bolt-icon name="chevron-right"></bolt-icon>
22-
</bolt-text>
22+
</bolt-link>
2323
</bolt-animate>
2424
</bolt-cta>
2525
</bolt-animate>
@@ -36,10 +36,10 @@
3636
<bolt-icon size="medium" name="asset-presentation"></bolt-icon>
3737
</bolt-animate>
3838
<bolt-animate slot="link">
39-
<bolt-text font-size="xsmall" display="inline">
39+
<bolt-link display="inline">
4040
Ab animi atque consectetur
4141
<bolt-icon name="chevron-right"></bolt-icon>
42-
</bolt-text>
42+
</bolt-link>
4343
</bolt-animate>
4444
</bolt-cta>
4545
</bolt-animate>

packages/micro-journeys/starters/steo-two-character-lorem.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
<bolt-icon size="medium" name="asset-presentation"></bolt-icon>
4242
</bolt-animate>
4343
<bolt-animate slot="link">
44-
<bolt-text font-size="xsmall" display="inline">
44+
<bolt-link display="inline">
4545
Ab animi atque consectetur
4646
<bolt-icon name="chevron-right"></bolt-icon>
47-
</bolt-text>
47+
</bolt-link>
4848
</bolt-animate>
4949
</bolt-cta>
5050
</bolt-animate>

0 commit comments

Comments
 (0)