Skip to content

Commit ba94841

Browse files
committed
Add a new story with accent colour for CallToActionAtom
1 parent 4af0d90 commit ba94841

1 file changed

Lines changed: 18 additions & 4 deletions

File tree

dotcom-rendering/src/components/CallToActionAtom.stories.tsx

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,26 @@ export default {
88
export const Default = () => {
99
return (
1010
<CallToActionAtom
11-
linkUrl="https://safety.epicgames.com/en-US?lang=en-US"
12-
backgroundImage="https://media.guim.co.uk/7fe58f11470360bc9f1e4b6bbcbf45d7cf06cfcf/0_0_1300_375/1300.jpg"
13-
text="This is a call to action text"
14-
buttonText="Learn more"
11+
linkUrl="https://www.trendmicro.com/vinfo/gb/security/research-and-analysis/predictions/the-ai-fication-of-cyberthreats-trend-micro-security-predictions-for-2026?utm_source=guardian&utm_medium=referral&utm_campaign=ent_cyber+risk_aw_e_ukie_int_guardian&utm_content=ghb"
12+
backgroundImage="https://media.guim.co.uk/2c2ad59a167c43496ff709d0d9a83e8d46c30674/0_0_1300_375/1300.jpg"
13+
text="Proactive security starts here"
14+
buttonText="Explore more"
1515
/>
1616
);
1717
};
1818

1919
Default.storyName = 'default';
20+
21+
export const WithAccentColour = () => {
22+
return (
23+
<CallToActionAtom
24+
linkUrl="https://www.trendmicro.com/vinfo/gb/security/research-and-analysis/predictions/the-ai-fication-of-cyberthreats-trend-micro-security-predictions-for-2026?utm_source=guardian&utm_medium=referral&utm_campaign=ent_cyber+risk_aw_e_ukie_int_guardian&utm_content=ghb"
25+
backgroundImage="https://media.guim.co.uk/2c2ad59a167c43496ff709d0d9a83e8d46c30674/0_0_1300_375/1300.jpg"
26+
text="Proactive security starts here"
27+
buttonText="Explore more"
28+
accentColour="#d71920"
29+
/>
30+
);
31+
};
32+
33+
WithAccentColour.storyName = 'with accent colour';

0 commit comments

Comments
 (0)