From e0dd48f625065cd325ec47587735ae565497cfea Mon Sep 17 00:00:00 2001 From: Yangshun Date: Fri, 1 Aug 2025 09:22:47 +0800 Subject: [PATCH] [web] sponsorships/banner: change to 2nd position always --- apps/web/src/components/global/banners/GlobalBanner.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/src/components/global/banners/GlobalBanner.tsx b/apps/web/src/components/global/banners/GlobalBanner.tsx index 4c9302336..f45695f54 100644 --- a/apps/web/src/components/global/banners/GlobalBanner.tsx +++ b/apps/web/src/components/global/banners/GlobalBanner.tsx @@ -66,7 +66,7 @@ function MarketingMessageImpl({ }, { onSuccess() { - const rotatedBanners: Array = ['ad', 'swag']; + const rotatedBanners: Array = ['swag']; if (!isProjectsPremium) { rotatedBanners.push('projects'); @@ -76,8 +76,8 @@ function MarketingMessageImpl({ setBanners( isInterviewsPremium - ? shuffledBanners - : ['social', ...shuffledBanners], + ? [shuffledBanners[0], 'ad', ...shuffledBanners.slice(1)] + : ['social', 'ad', ...shuffledBanners], ); }, },