File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed
Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ const promoData: Record<string, PromoData> = {
201201 } ,
202202 playgrndFxVideo : {
203203 type : "video" ,
204- isActive : true ,
204+ isActive : false ,
205205 priority : 90 ,
206206 message : "Install once. Access tons of powerful plugins. Blend for infinite creativity." ,
207207 cta : {
@@ -219,6 +219,26 @@ const promoData: Record<string, PromoData> = {
219219 videoURL : "https://www.youtube-nocookie.com/embed/UGiJCTu67Ak?autoplay=1" ,
220220 } ,
221221 } ,
222+ landrFxVoiceVideo : {
223+ type : "video" ,
224+ isActive : true ,
225+ priority : 80 ,
226+ message : "One knob for polished studio quality vocals" ,
227+ cta : {
228+ text : "Get it on MuseHub" ,
229+ link : "https://www.musehub.com/plugin/landr-fx-voice?utm_source=au-web&utm_medium=au-web-video&utm_campaign=au-web-mh-web-landr-fx-voice" ,
230+ } ,
231+ tracking : {
232+ category : "Video embed" ,
233+ action : "Watch release video" ,
234+ name : "LANDR FX Voice" ,
235+ } ,
236+ video : {
237+ placeholderImage : "https://i.ytimg.com/vi/JKAvMrLpIRI/maxresdefault.jpg" ,
238+ imageAltText : "Video thumbnail: LANDR FX Voice" ,
239+ videoURL : "https://www.youtube-nocookie.com/embed/JKAvMrLpIRI?autoplay=1" ,
240+ } ,
241+ } ,
222242} ;
223243
224244export default promoData ;
Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ type PromoBannerProps = {
2525 requestPath ?: string ;
2626} ;
2727
28- const STATIC_PROMOS : PromoData [ ] = Object . values ( promoData ) ;
28+ const STATIC_PROMOS : PromoData [ ] = Object . values ( promoData ) . filter (
29+ ( promo ) => promo . type === "banner"
30+ ) ;
2931
3032const isPromoActive = ( promo : PromoData | null | undefined ) =>
3133 promo ?. isActive ?? true ;
You can’t perform that action at this time.
0 commit comments