@@ -95,6 +95,7 @@ const LANG_MAP = {
9595 f4mi : 'en' ,
9696 heise : 'de' ,
9797 macho : 'en' ,
98+ gentiluomodigitale : 'it' ,
9899} ;
99100
100101function CombinedSpecialOffer ( {
@@ -120,7 +121,6 @@ function CombinedSpecialOffer({
120121
121122 const {
122123 products,
123- loadingCards,
124124 currency,
125125 currencyValue,
126126 coupon : individualCoupon ,
@@ -181,7 +181,13 @@ function CombinedSpecialOffer({
181181 } ;
182182
183183 return (
184- < Layout title = { metatags ! . title } description = { metatags ! . description } segmentName = "Partners" lang = { lang } >
184+ < Layout
185+ title = { metatags ! . title }
186+ description = { metatags ! . description }
187+ segmentName = "Partners"
188+ lang = { lang }
189+ robots = { pathname === 'world-backup-day' ? 'noindex,follow' : undefined }
190+ >
185191 < Navbar lang = { lang } textContent = { navbarLang } cta = { [ 'payment' ] } isLinksHidden hideCTA hideLogoLink />
186192
187193 < HeroSection
@@ -221,7 +227,7 @@ function CombinedSpecialOffer({
221227 lifetimeCoupons = { lifetimeCoupons }
222228 lang = { lang }
223229 products = { products }
224- loadingCards = { loadingCards }
230+ loadingCards = { false }
225231 onCheckoutButtonClicked = { onCheckoutButtonClicked }
226232 hideBusinessCards
227233 hideBusinessSelector
@@ -292,7 +298,7 @@ function CombinedSpecialOffer({
292298
293299export async function getServerSideProps ( ctx ) {
294300 const pathname = ctx . params . filename ;
295- const lang = LANG_MAP [ pathname ] || 'es' ;
301+ const lang = pathname === 'world-backup-day' && ctx . locale ? ctx . locale : ( LANG_MAP [ pathname ] || 'es' ) ;
296302
297303 const metatagsDescriptions = require ( `@/assets/lang/${ lang } /metatags-descriptions.json` ) ;
298304 const navbarLang = require ( `@/assets/lang/${ lang } /navbar.json` ) ;
0 commit comments