Skip to content

Commit e788ee1

Browse files
authored
Merge pull request #61 from audacity/new-promos
New promos
2 parents 9ece340 + 9112d80 commit e788ee1

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
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
)}

src/components/homepage/ReleaseVideo.astro

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ const releaseVideo = {
2727
}
2828
2929
const promoVideo = {
30-
title:"PLAYGRND FX",
30+
title:"PLAYGRND FX Lite",
3131
label:"Install once. Access tons of fun and powerful plugins. ",
3232
placeholderImage: PromoVideoPlaceholder.src,
33-
imageAltText: "Video thumbnail: What is Overtune?",
34-
videoURL:"https://production-v2.muse-cdn.com/effect-preview-assets/daa58141-6a3e-4716-a11c-cf050a3f522c.mp4",
33+
imageAltText: "Video thumbnail",
34+
videoURL:"https://production-v2.muse-cdn.com/effect-preview-assets/64be2f0a-d84a-488a-a82f-0184e989284b.mp4",
3535
CTA: true,
36-
ctaText: "Get 50% OFF on MuseHub",
37-
ctaURL:"https://www.musehub.com/app/playgrnd-fx?utm_source=au-web&utm_medium=mh-app-cta&utm_campaign=au-web-mh-app-playgrnd-fx",
36+
ctaText: "Get it free on MuseHub",
37+
ctaURL:"https://www.musehub.com/app/playgrnd-fx-lite?utm_source=au-web&utm_medium=mh-app-cta&utm_campaign=au-web-mh-app-playgrnd-fx-lite",
3838
}
3939
---
4040

0 commit comments

Comments
 (0)