diff --git a/src/assets/lang/de/antivirus.json b/src/assets/lang/de/antivirus.json index 84ef22f4e..34cf33099 100644 --- a/src/assets/lang/de/antivirus.json +++ b/src/assets/lang/de/antivirus.json @@ -4,12 +4,15 @@ "blueText": "Internxt Antivirus", "description": "Schützen Sie sich vor Schadsoftware, Phishing und Ransomware mit unserem Antivirus. Halten Sie alle Ihre Dateien sicher und geschützt.", "eyeBrow": "Internxt Antivirus", + "secondaryEyeBrow": "Antivirus", "DownloadLinks": { "downloadTitle": "Internxt Antivirus herunterladen", "downloadForMac": "Mac herunterladen", "downloadForWindows": "Windows herunterladen", "downloadForLinux": "Linux herunterladen" - } + }, + "cta": "Internxt kaufen", + "price": "Ab {currency}{price}/Monat" }, "cta1": { "title": "Internxt Antivirus", @@ -137,4 +140,4 @@ "secondaryEyeBrow": "Antivirus", "cta": "Internxt erhalten", "price": "Ab {currency}29,99/Monat" -} \ No newline at end of file +} diff --git a/src/assets/lang/de/navbar.json b/src/assets/lang/de/navbar.json index 762d652bb..dd848fe69 100644 --- a/src/assets/lang/de/navbar.json +++ b/src/assets/lang/de/navbar.json @@ -111,6 +111,6 @@ "MinimalNavbar": { "secondaryEyeBrow": "Antivirus", "cta": "Internxt erhalten", - "price": "Ab {currency}29,99/Monat" + "price": "Ab {currency}{price}/Monat" } -} \ No newline at end of file +} diff --git a/src/assets/lang/en/antivirus.json b/src/assets/lang/en/antivirus.json index 3f401b3d5..9d66efb93 100644 --- a/src/assets/lang/en/antivirus.json +++ b/src/assets/lang/en/antivirus.json @@ -12,7 +12,7 @@ "downloadForLinux": "Download for Linux" }, "cta": "Get Internxt", - "price": "From €29.99/mo" + "price": "From {currency}{price}/mo" }, "cta1": { "title": "Internxt Antivirus", @@ -141,4 +141,4 @@ "secondaryEyeBrow": "Antivirus", "cta": "Get Internxt", "price": "From {currency}29.99/mo" -} \ No newline at end of file +} diff --git a/src/assets/lang/en/navbar.json b/src/assets/lang/en/navbar.json index e50acd8f8..38278416a 100644 --- a/src/assets/lang/en/navbar.json +++ b/src/assets/lang/en/navbar.json @@ -111,6 +111,6 @@ "MinimalNavbar": { "secondaryEyeBrow": "Antivirus", "cta": "Get Internxt", - "price": "From {currency}29.99/mo" + "price": "From {currency}{price}/mo" } -} \ No newline at end of file +} diff --git a/src/assets/lang/es/antivirus.json b/src/assets/lang/es/antivirus.json index e011d4bd6..d4e7095bc 100644 --- a/src/assets/lang/es/antivirus.json +++ b/src/assets/lang/es/antivirus.json @@ -4,12 +4,15 @@ "blueText": "Internxt Antivirus", "description": "Protégete contra el programa malicioso, phishing y el ransomware con nuestro Antivirus. Mantén todos tus archivos seguros y protegidos.", "eyeBrow": "Internxt Antivirus", + "secondaryEyeBrow": "Antivirus", "DownloadLinks": { "downloadTitle": "Descarga Internxt Antivirus", "downloadForMac": "Descarga Mac", "downloadForWindows": "Descarga Windows", "downloadForLinux": "Descarga Linux" - } + }, + "cta": "Obtener Internxt", + "price": "Desde {currency}{price}/mes" }, "cta1": { "title": "Internxt Antivirus", @@ -138,4 +141,4 @@ "secondaryEyeBrow": "Antivirus", "cta": "Obtener Internxt", "price": "Desde {currency}29,99/mes" -} \ No newline at end of file +} diff --git a/src/assets/lang/es/navbar.json b/src/assets/lang/es/navbar.json index 37666ba57..8a7225271 100644 --- a/src/assets/lang/es/navbar.json +++ b/src/assets/lang/es/navbar.json @@ -110,6 +110,6 @@ "MinimalNavbar": { "secondaryEyeBrow": "Antivirus", "cta": "Obtener Internxt", - "price": "Desde {currency}29,99/mes" + "price": "Desde {currency}{price}/mes" } -} \ No newline at end of file +} diff --git a/src/assets/lang/fr/antivirus.json b/src/assets/lang/fr/antivirus.json index a0026a9ae..61ac83531 100644 --- a/src/assets/lang/fr/antivirus.json +++ b/src/assets/lang/fr/antivirus.json @@ -4,12 +4,15 @@ "blueText": "Internxt Antivirus", "description": "Protégez-vous contre les logiciels malveillants, le phishing et les rançongiciels avec notre antivirus. Gardez tous vos fichiers en sécurité et protégés.", "eyeBrow": "Internxt Antivirus", + "secondaryEyeBrow": "Antivirus", "DownloadLinks": { "downloadTitle": "Téléchargez Internxt Antivirus", "downloadForMac": "Télécharger pour Mac", "downloadForWindows": "Télécharger pour Windows", "downloadForLinux": "Télécharger pour Linux" - } + }, + "cta": "Obtenir Internxt", + "price": "À partir de {currency}{price}/mois" }, "cta1": { "title": "Internxt Antivirus", @@ -137,4 +140,4 @@ "secondaryEyeBrow": "Antivirus", "cta": "Obtenir Internxt", "price": "À partir de {currency}29,99/mois" -} \ No newline at end of file +} diff --git a/src/assets/lang/fr/navbar.json b/src/assets/lang/fr/navbar.json index 2db0c704e..00598c6eb 100644 --- a/src/assets/lang/fr/navbar.json +++ b/src/assets/lang/fr/navbar.json @@ -110,6 +110,6 @@ "MinimalNavbar": { "secondaryEyeBrow": "Antivirus", "cta": "Obtenir Internxt", - "price": "À partir de {currency}29,99/mois" + "price": "À partir de {currency}{price}/mois" } -} \ No newline at end of file +} diff --git a/src/assets/lang/it/antivirus.json b/src/assets/lang/it/antivirus.json index 63fb70bff..d4e4c2352 100644 --- a/src/assets/lang/it/antivirus.json +++ b/src/assets/lang/it/antivirus.json @@ -4,12 +4,15 @@ "blueText": "Internxt Antivirus", "description": "Proteggiti da malware, phishing e ransomware con il nostro antivirus. Tieni tutti i tuoi file sicuri e protetti.", "eyeBrow": "Internxt Antivirus", + "secondaryEyeBrow": "Antivirus", "DownloadLinks": { "downloadTitle": "Scarica Internxt Antivirus", "downloadForMac": "Scarica per Mac", "downloadForWindows": "Scarica per Windows", "downloadForLinux": "Scarica per Linux" - } + }, + "cta": "Ottieni Internxt", + "price": "Da {currency}{price}/mese" }, "cta1": { "title": "Internxt Antivirus", @@ -137,4 +140,4 @@ "secondaryEyeBrow": "Antivirus", "cta": "Ottieni Internxt", "price": "Da {currency}29,99/mese" -} \ No newline at end of file +} diff --git a/src/assets/lang/it/navbar.json b/src/assets/lang/it/navbar.json index bc8660206..2cf2759f3 100644 --- a/src/assets/lang/it/navbar.json +++ b/src/assets/lang/it/navbar.json @@ -111,6 +111,6 @@ "MinimalNavbar": { "secondaryEyeBrow": "Antivirus", "cta": "Ottieni Internxt", - "price": "Da {currency}29,99/mese" + "price": "Da {currency}{price}/mese" } -} \ No newline at end of file +} diff --git a/src/assets/lang/pt-br/antivirus.json b/src/assets/lang/pt-br/antivirus.json index 5ea8d672e..cbd3a6f36 100644 --- a/src/assets/lang/pt-br/antivirus.json +++ b/src/assets/lang/pt-br/antivirus.json @@ -4,12 +4,15 @@ "blueText": "Internxt Antivirus", "description": "Proteja-se contra malware, phishing e ransomware com nosso Antivirus. Mantenha todos os seus arquivos seguros e protegidos.", "eyeBrow": "Internxt Antivirus", + "secondaryEyeBrow": "Antivirus", "DownloadLinks": { "downloadTitle": "Baixe o Internxt Antivirus", "downloadForMac": "Baixar para Mac", "downloadForWindows": "Baixar para Windows", "downloadForLinux": "Baixar para Linux" - } + }, + "cta": "Obter Internxt", + "price": "A partir de {currency}{price}/mês" }, "cta1": { "title": "Internxt Antivirus", @@ -137,4 +140,4 @@ "secondaryEyeBrow": "Antivirus", "cta": "Obtenha o Internxt", "price": "A partir de {currency}29,99/mês" -} \ No newline at end of file +} diff --git a/src/assets/lang/ru/antivirus.json b/src/assets/lang/ru/antivirus.json index bca85aead..d92d3fc87 100644 --- a/src/assets/lang/ru/antivirus.json +++ b/src/assets/lang/ru/antivirus.json @@ -4,12 +4,15 @@ "blueText": "Internxt Antivirus", "description": "Защититесь от вредоносного ПО, фишинга и программ-вымогателей с помощью нашего антивируса. Поддерживайте все ваши файлы в безопасности и сохранности.", "eyeBrow": "Internxt Antivirus", + "secondaryEyeBrow": "Антивирус", "DownloadLinks": { "downloadTitle": "Скачать Internxt Antivirus", "downloadForMac": "Скачать для Mac", "downloadForWindows": "Скачать для Windows", "downloadForLinux": "Скачать для Linux" - } + }, + "cta": "Получить Internxt", + "price": "От {currency}{price}/мес" }, "cta1": { "title": "Internxt Antivirus", @@ -137,4 +140,4 @@ "secondaryEyeBrow": "Антивирус", "cta": "Получить Internxt", "price": "От {currency}29,99/мес" -} \ No newline at end of file +} diff --git a/src/assets/lang/ru/navbar.json b/src/assets/lang/ru/navbar.json index c10aed7dc..3c3b88d43 100644 --- a/src/assets/lang/ru/navbar.json +++ b/src/assets/lang/ru/navbar.json @@ -111,6 +111,6 @@ "MinimalNavbar": { "secondaryEyeBrow": "Антивирус", "cta": "Получить Internxt", - "price": "От {currency}29,99/мес" + "price": "От {currency}{price}/мес" } -} \ No newline at end of file +} diff --git a/src/assets/lang/zh-tw/antivirus.json b/src/assets/lang/zh-tw/antivirus.json index a53d75d53..dc80f8fb0 100644 --- a/src/assets/lang/zh-tw/antivirus.json +++ b/src/assets/lang/zh-tw/antivirus.json @@ -4,12 +4,15 @@ "blueText": "Internxt Antivirus", "description": "使用我们的杀毒软件防范恶意软件、网络钓鱼和勒索软件,确保所有文件都安全无虞。", "eyeBrow": "Internxt Antivirus", + "secondaryEyeBrow": "防病毒", "DownloadLinks": { "downloadTitle": "下载 Internxt Antivirus", "downloadForMac": "下载适用于 Mac", "downloadForWindows": "下载适用于 Windows", "downloadForLinux": "下载适用于 Linux" - } + }, + "cta": "取得 Internxt", + "price": "每月 {currency}{price} 起" }, "cta1": { "title": "Internxt Antivirus", @@ -137,4 +140,4 @@ "secondaryEyeBrow": "防毒軟體", "cta": "取得 Internxt", "price": "從 {currency}29.99/月" -} \ No newline at end of file +} diff --git a/src/assets/lang/zh-tw/navbar.json b/src/assets/lang/zh-tw/navbar.json index 04f1f346a..5bcb7d702 100644 --- a/src/assets/lang/zh-tw/navbar.json +++ b/src/assets/lang/zh-tw/navbar.json @@ -111,6 +111,6 @@ "MinimalNavbar": { "secondaryEyeBrow": "防毒軟體", "cta": "取得 Internxt", - "price": "從 {currency}29.99/月" + "price": "從 {currency}{price}/月" } -} \ No newline at end of file +} diff --git a/src/assets/lang/zh/antivirus.json b/src/assets/lang/zh/antivirus.json index f28d6b4a8..58c4d6d19 100644 --- a/src/assets/lang/zh/antivirus.json +++ b/src/assets/lang/zh/antivirus.json @@ -4,12 +4,15 @@ "blueText": "Internxt Antivirus", "description": "使用我们的杀毒软件防范恶意软件、网络钓鱼和勒索软件,确保所有文件都安全无虞。", "eyeBrow": "Internxt Antivirus", + "secondaryEyeBrow": "防病毒", "DownloadLinks": { "downloadTitle": "下载 Internxt Antivirus", "downloadForMac": "下载适用于 Mac", "downloadForWindows": "下载适用于 Windows", "downloadForLinux": "下载适用于 Linux" - } + }, + "cta": "获取 Internxt", + "price": "从 {currency}{price}/月起" }, "cta1": { "title": "Internxt Antivirus", @@ -137,4 +140,4 @@ "secondaryEyeBrow": "杀毒软件", "cta": "获取 Internxt", "price": "从 {currency}29.99/月" -} \ No newline at end of file +} diff --git a/src/assets/lang/zh/navbar.json b/src/assets/lang/zh/navbar.json index 066628893..625f84a7f 100644 --- a/src/assets/lang/zh/navbar.json +++ b/src/assets/lang/zh/navbar.json @@ -111,6 +111,6 @@ "MinimalNavbar": { "secondaryEyeBrow": "杀毒软件", "cta": "获取 Internxt", - "price": "从 {currency}29.99/月" + "price": "从 {currency}{price}/月" } -} \ No newline at end of file +} diff --git a/src/components/antivirus/AlternativeHeroSection.tsx b/src/components/antivirus/AlternativeHeroSection.tsx index 2bd72bcde..752bf4dbc 100644 --- a/src/components/antivirus/AlternativeHeroSection.tsx +++ b/src/components/antivirus/AlternativeHeroSection.tsx @@ -4,16 +4,18 @@ import Link from 'next/link'; interface AlternativeHeroSectionProps { textContent: any; + currentPrice?: string; + currency?: string; } -const AlternativeHeroSection = ({ textContent }: AlternativeHeroSectionProps) => ( +const AlternativeHeroSection = ({ textContent, currentPrice, currency }: AlternativeHeroSectionProps) => (
-
+

-

+

{textContent.title}
{textContent.blueText}

-

{textContent.description}

+

{textContent.description}

-
+
- {textContent.price} + {textContent.price?.replace('{currency}', currency || '').replace('{price}', currentPrice || '')}
-
+
- + {textContent.title}

{textContent.titleLine2}

-

{formattedDescription}

+

{formattedDescription}

{textContent.cta} @@ -97,8 +97,8 @@ const FeatureSection = ({ textContent, isGetAntivirus, showPlan = false }: Featu layout="intrinsic" alt={`${card.title} image`} /> -

{card.title}

-

{card.description}

+

{card.title}

+

{card.description}

); diff --git a/src/components/layout/navbars/MinimalNavbar.tsx b/src/components/layout/navbars/MinimalNavbar.tsx index de6708577..3e73f6200 100644 --- a/src/components/layout/navbars/MinimalNavbar.tsx +++ b/src/components/layout/navbars/MinimalNavbar.tsx @@ -9,9 +9,10 @@ export interface MinimalNavbarProps { lang: string; isOffer?: boolean; textContent?: NavigationBarText; + price?: string; } -export const MinimalNavbar = ({ isOffer, textContent }: MinimalNavbarProps) => { +export const MinimalNavbar = ({ isOffer, textContent, price }: MinimalNavbarProps) => { const [scrolled, setScrolled] = useState(true); const [currencySymbol, setCurrencySymbol] = useState('€'); @@ -28,7 +29,9 @@ export const MinimalNavbar = ({ isOffer, textContent }: MinimalNavbarProps) => { }); }, []); - const priceLabel = textContent?.MinimalNavbar.price.replace('{currency}', currencySymbol); + const priceLabel = textContent?.MinimalNavbar.price + .replace('{currency}', currencySymbol) + .replace('{price}', price || ''); return (
{ alt="Internxt logo" /> {isOffer && ( -
+

{priceLabel}