From 2dfcdd096e7d501315c4bf9554df14ee1fbb0006 Mon Sep 17 00:00:00 2001 From: khadiatullo Date: Thu, 1 May 2025 07:31:37 +0300 Subject: [PATCH] update: added animation for blocks --- .../(dashboard)/corporate-dashboard/index.tsx | 4 +- .../(dashboard)/customer-dashboard/index.tsx | 4 +- src/pages-templates/about/index.tsx | 12 +-- src/pages-templates/charity/index.tsx | 2 +- .../clients/certificates/index.tsx | 1 + src/pages-templates/clients/index.tsx | 2 +- src/pages-templates/clients/loyalty/index.tsx | 102 +++++++++--------- src/pages-templates/login/index.tsx | 2 +- src/widgets/clients/ui/benefits-section.tsx | 4 +- .../clients/ui/services-overview-section.tsx | 2 +- 10 files changed, 68 insertions(+), 67 deletions(-) diff --git a/src/pages-templates/(dashboard)/corporate-dashboard/index.tsx b/src/pages-templates/(dashboard)/corporate-dashboard/index.tsx index a99a4e3..02ddedd 100644 --- a/src/pages-templates/(dashboard)/corporate-dashboard/index.tsx +++ b/src/pages-templates/(dashboard)/corporate-dashboard/index.tsx @@ -110,7 +110,7 @@ export function CorporateDashboard() {
{/* Company Card */} - + @@ -166,7 +166,7 @@ export function CorporateDashboard() { {/* Fund Card */} - + diff --git a/src/pages-templates/(dashboard)/customer-dashboard/index.tsx b/src/pages-templates/(dashboard)/customer-dashboard/index.tsx index 8a5aca8..97a7225 100644 --- a/src/pages-templates/(dashboard)/customer-dashboard/index.tsx +++ b/src/pages-templates/(dashboard)/customer-dashboard/index.tsx @@ -34,7 +34,7 @@ export function CustomerDashboard() {
- + {!data || isLoading ? ( // TODO: Bunyod please add loader here <>Loader here @@ -73,7 +73,7 @@ export function CustomerDashboard() { {/* Bonus Card */} {/* Customer Card */} - + diff --git a/src/pages-templates/about/index.tsx b/src/pages-templates/about/index.tsx index 11366c0..0990226 100644 --- a/src/pages-templates/about/index.tsx +++ b/src/pages-templates/about/index.tsx @@ -38,7 +38,7 @@ export default function AboutPage() { priority />
-
+

{t('about.hero.title')} @@ -57,7 +57,7 @@ export default function AboutPage() {
-
+
@@ -92,7 +92,7 @@ export default function AboutPage() { ))}
-
+
{t('about.overview.imageAlt')}
-
+
{[0, 1, 2].map((index) => (
-
+
{[0, 1, 2, 3].map((index) => (
-
+
{[0, 1, 2].map((index) => (
-
+
diff --git a/src/pages-templates/clients/certificates/index.tsx b/src/pages-templates/clients/certificates/index.tsx index 0d20136..1f6b6ff 100644 --- a/src/pages-templates/clients/certificates/index.tsx +++ b/src/pages-templates/clients/certificates/index.tsx @@ -77,6 +77,7 @@ export function CertificatesPage() {
{certificates.map((certificate) => ( diff --git a/src/pages-templates/clients/index.tsx b/src/pages-templates/clients/index.tsx index c63d125..42eb934 100644 --- a/src/pages-templates/clients/index.tsx +++ b/src/pages-templates/clients/index.tsx @@ -34,7 +34,7 @@ export function ClientsPage() { />
-
+

{t('clients.title')} diff --git a/src/pages-templates/clients/loyalty/index.tsx b/src/pages-templates/clients/loyalty/index.tsx index 4dd4902..ac740c1 100644 --- a/src/pages-templates/clients/loyalty/index.tsx +++ b/src/pages-templates/clients/loyalty/index.tsx @@ -34,7 +34,7 @@ export function LoyaltyPage() { />
-
+

{t('clients.loyalty.title')} @@ -54,7 +54,7 @@ export function LoyaltyPage() {
-
+
@@ -110,7 +110,7 @@ export function LoyaltyPage() {
-
+
Программа лояльности
-
+
1 @@ -195,7 +195,7 @@ export function LoyaltyPage() {

-
+

@@ -274,53 +274,53 @@ export function LoyaltyPage() { - - -

- {t('clients.loyalty.works.levels.card-3.title')} -

-
- - {t('clients.loyalty.works.levels.card-3.percent')} - -

- {t('clients.loyalty.works.levels.card.mark')} -

-
-
    -
  • - - - {t('clients.loyalty.works.levels.card-3.bonus-1')} + + +

    + {t('clients.loyalty.works.levels.card-3.title')} +

    +
    + + {t('clients.loyalty.works.levels.card-3.percent')} -
  • -
  • - - - {t('clients.loyalty.works.levels.card-3.bonus-2')} - -
  • -
  • - - - {t('clients.loyalty.works.levels.card-3.bonus-3')} - -
  • -
  • - - - {t('clients.loyalty.works.levels.card-3.bonus-4')} - -
  • -
  • - - - {t('clients.loyalty.works.levels.card-3.bonus-5')} - -
  • -
-
-
+

+ {t('clients.loyalty.works.levels.card.mark')} +

+

+
    +
  • + + + {t('clients.loyalty.works.levels.card-3.bonus-1')} + +
  • +
  • + + + {t('clients.loyalty.works.levels.card-3.bonus-2')} + +
  • +
  • + + + {t('clients.loyalty.works.levels.card-3.bonus-3')} + +
  • +
  • + + + {t('clients.loyalty.works.levels.card-3.bonus-4')} + +
  • +
  • + + + {t('clients.loyalty.works.levels.card-3.bonus-5')} + +
  • +
+ +
diff --git a/src/pages-templates/login/index.tsx b/src/pages-templates/login/index.tsx index 712d049..ac51ec6 100644 --- a/src/pages-templates/login/index.tsx +++ b/src/pages-templates/login/index.tsx @@ -66,7 +66,7 @@ export default function LoginPage() {

{t('auth.description')}

-
+
{
-
+
@@ -65,7 +65,7 @@ export const BenefitsSection = () => { })}
-
+
Преимущества для клиентов {

-
+
{servicesOverview.map(({ description, Icon, contentText, title }) => { return (