Skip to content

Commit e6aeacc

Browse files
Format button
1 parent ff7fe44 commit e6aeacc

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed
Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
import React from 'react'
1+
import React from "react";
22

33
function handleButtonClick() {
4-
if (typeof _paq !== "undefined") {
5-
_paq.push([
6-
"trackEvent",
7-
"CTA Button",
8-
"audio.com CTA",
9-
"audio.com block CTA",
10-
]);
11-
}
4+
if (typeof _paq !== "undefined") {
5+
_paq.push([
6+
"trackEvent",
7+
"CTA Button",
8+
"audio.com CTA",
9+
"audio.com block CTA",
10+
]);
1211
}
12+
}
1313

1414
function JoinAudioDotComButton() {
1515
return (
1616
<a
17-
onClick={() => {
18-
handleButtonClick();
19-
}}
20-
href="https://audio.com/auth/sign-up?mtm_campaign=audacityteamorg&mtm_content=Block_button"
21-
className="px-6 py-4 bg-blue-700 w-fit text-white rounded hover:bg-blue-600"
22-
>
23-
Join for free
24-
</a>
25-
)
17+
onClick={() => {
18+
handleButtonClick();
19+
}}
20+
href="https://audio.com/auth/sign-up?mtm_campaign=audacityteamorg&mtm_content=Block_button"
21+
className="px-6 py-4 bg-blue-700 w-fit text-white rounded hover:bg-blue-600"
22+
>
23+
Join for free
24+
</a>
25+
);
2626
}
2727

28-
export default JoinAudioDotComButton
28+
export default JoinAudioDotComButton;

0 commit comments

Comments
 (0)