File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ const CardDs = ({
119119 tabIndex = "-1"
120120 href = { link }
121121 target = { target }
122+ data-cta-copy = { linkLabel }
122123 { ...rest }
123124 >
124125 { Media }
Original file line number Diff line number Diff line change @@ -189,6 +189,7 @@ exports[`renders correctly 1`] = `
189189 <a
190190 aria-hidden = " true"
191191 className = " c1"
192+ data-cta-copy = " Find out more"
192193 href = " /home"
193194 tabIndex = " -1"
194195 target = " _blank"
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ const SingleMessageDs = ({
3131} ) => {
3232 const [ isOpen , setIsOpen ] = useState ( false ) ;
3333
34- // const openModal = () => setIsOpen(true);
3534 const closeModal = ( ) => setIsOpen ( false ) ;
3635
3736 const Media = (
@@ -57,6 +56,7 @@ const SingleMessageDs = ({
5756 tabIndex = "-1"
5857 href = { link }
5958 target = { target }
59+ data-cta-copy = { linkLabel }
6060 { ...rest }
6161 >
6262 { Media }
@@ -71,6 +71,7 @@ const SingleMessageDs = ({
7171 tabIndex = "-1"
7272 href = { youTubeId }
7373 target = { target }
74+ data-cta-copy = { linkLabel }
7475 { ...rest }
7576 onClick = { e => { setIsOpen ( true ) ; e . preventDefault ( ) ; } }
7677 >
Original file line number Diff line number Diff line change @@ -234,6 +234,7 @@ exports[`renders correctly 1`] = `
234234 <a
235235 aria-hidden = " true"
236236 className = " c1"
237+ data-cta-copy = " Check out the shop"
237238 href = " /home"
238239 tabIndex = " -1"
239240 target = " _blank"
You can’t perform that action at this time.
0 commit comments