Skip to content

Commit 46b826f

Browse files
committed
soap
1 parent 9ece340 commit 46b826f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/components/banner/PromoBanner.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,19 @@ function PromoBanner() {
1010
const browserOS = useBrowserOS();
1111

1212
// Only show the banner for supported OSes
13-
// const showBanner = browserOS === "OS X" || browserOS === "Windows";
14-
const showBanner = true; // For merch, always show the banner
13+
const showBanner = browserOS === "OS X" || browserOS === "Windows";
1514

1615
const getHref = () => {
1716
if (showBanner) {
18-
return "https://merch.audacityteam.org/?utm_source=audacitywebsite&utm_medium=promo&utm_campaign=merch";
17+
return "https://www.musehub.com/plugin/soap-voice-cleaner?utm_source=au-web-banner-mh-web&utm_medium=soap-voice-cleaner&utm_campaign=au-web-banner-mh-web-soap-voice-cleaner&utm_id=au-web-banner";
1918
} else {
2019
return "#"; // Default if OS is not supported
2120
}
2221
};
2322

2423

2524
function handleButtonClick() {
26-
trackEvent("Promo CTA", "Promo CTA button", "Audacity merch CTA");
25+
trackEvent("Promo CTA", "Promo CTA button", "Soap Muse Hub");
2726
}
2827

2928
return (
@@ -35,7 +34,7 @@ function PromoBanner() {
3534
>
3635
<div className="lg:flex text-center gap-4">
3736
<p className="text-lg text-gray-900 font-bold">
38-
Show your support for Audacity with merch!
37+
Soap Voice Cleaner: Studio-quality sound with 3 simple controls
3938
</p>
4039
</div>
4140

@@ -45,7 +44,7 @@ function PromoBanner() {
4544
onClick={handleButtonClick}
4645
className="flex text-lg font-bold h-8 justify-center items-center px-4 border-2 border-gray-900 bg-gray-900 rounded-md hover:bg-yellow-300 text-white hover:text-gray-900 hover:border-gray-900"
4746
>
48-
Shop now
47+
Get it on MuseHub
4948
</a>
5049
</div>
5150
)}

0 commit comments

Comments
 (0)