From 1a9b26b74f41f1ad3ee64ce46ce4b46fcfea4c97 Mon Sep 17 00:00:00 2001 From: Xavier Abad <77491413+masterprog-cmd@users.noreply.github.com> Date: Wed, 7 Feb 2024 12:40:45 +0100 Subject: [PATCH] feat: add banner for lifetime soft sale --- src/app/banners/Banner.tsx | 16 ++++++++-------- src/app/banners/BannerWrapper.tsx | 11 +++++++---- .../components/DriveExplorer/DriveExplorer.tsx | 2 ++ src/app/i18n/locales/de.json | 6 +++--- src/app/i18n/locales/en.json | 6 +++--- src/app/i18n/locales/es.json | 6 +++--- src/app/i18n/locales/fr.json | 6 +++--- src/app/i18n/locales/it.json | 4 ++-- src/app/i18n/locales/ru.json | 4 ++-- src/app/i18n/locales/zh.json | 6 +++--- 10 files changed, 36 insertions(+), 31 deletions(-) diff --git a/src/app/banners/Banner.tsx b/src/app/banners/Banner.tsx index 3645ef0f4..3b52af97f 100644 --- a/src/app/banners/Banner.tsx +++ b/src/app/banners/Banner.tsx @@ -1,5 +1,5 @@ import { X } from '@phosphor-icons/react'; -import LifetimeBig from 'assets/images/banner/discount.png'; +import LifetimeBig from 'assets/images/banner/lifetime_big.png'; import { useTranslationContext } from 'app/i18n/provider/TranslationProvider'; import { CheckCircle } from '@phosphor-icons/react/dist/ssr'; @@ -15,26 +15,26 @@ const Banner = ({ showBanner, onClose }: { showBanner: boolean; onClose: () => v >
-
- Discount label +
+ Discount label
-
+
-

{translate('lifetimeBanner.label')}

-

{translate('lifetimeBanner.title')}

+

{translate('lifetimeBanner.label')}

+

{translate('lifetimeBanner.title')}