Skip to content

Commit b515669

Browse files
committed
update ad for merch
1 parent a6d30fe commit b515669

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/components/banner/PromoBanner.tsx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,21 @@ function PromoBanner() {
99

1010
const browserOS = useBrowserOS();
1111

12+
// 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
15+
1216
const getHref = () => {
13-
if (browserOS === "OS X" || browserOS === "Windows") {
14-
return "https://www.musehub.com/plugin/playgrnd-fx?utm_source=au-web-banner-mh-web&utm_medium=playgrnd-fx&utm_campaign=au-web-banner-mh-web-playgrnd-fx&utm_id=au-web-banner";
17+
if (showBanner) {
18+
return "https://merch.audacityteam.org/?utm_source=audacitywebsite&utm_medium=promo&utm_campaign=merch";
1519
} else {
1620
return "#"; // Default if OS is not supported
1721
}
1822
};
1923

20-
// Only show the banner for supported OSes
21-
const showBanner = browserOS === "OS X" || browserOS === "Windows";
2224

2325
function handleButtonClick() {
24-
trackEvent("Promo CTA", "Promo CTA button", "Playgrnd Muse Hub");
26+
trackEvent("Promo CTA", "Promo CTA button", "Audacity merch CTA");
2527
}
2628

2729
return (
@@ -33,7 +35,7 @@ function PromoBanner() {
3335
>
3436
<div className="lg:flex text-center gap-4">
3537
<p className="text-lg text-gray-900 font-bold">
36-
PLAYGRND FX: Install once. Access tons of fun and powerful plugins. 50% OFF!
38+
Show your support for Audacity with merch!
3739
</p>
3840
</div>
3941

@@ -43,7 +45,7 @@ function PromoBanner() {
4345
onClick={handleButtonClick}
4446
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"
4547
>
46-
Get it on MuseHub
48+
Shop merch
4749
</a>
4850
</div>
4951
)}

0 commit comments

Comments
 (0)