diff --git a/src/pages-templates/charity/index.tsx b/src/pages-templates/charity/index.tsx
index 0638bb3..c503d1d 100644
--- a/src/pages-templates/charity/index.tsx
+++ b/src/pages-templates/charity/index.tsx
@@ -87,7 +87,7 @@ export function CharityPage() {
{[0, 1, 2].map((index) => (
-
+
@@ -101,7 +101,7 @@ export function CharityPage() {
))}
-
+
(
-
+
,
},
].map((item, index) => (
-
+
{item.icon}
diff --git a/src/pages-templates/clients/loyalty/index.tsx b/src/pages-templates/clients/loyalty/index.tsx
index ac740c1..ec6d37d 100644
--- a/src/pages-templates/clients/loyalty/index.tsx
+++ b/src/pages-templates/clients/loyalty/index.tsx
@@ -9,6 +9,8 @@ import { Card, CardContent } from '@/shared/shadcn-ui/card';
import { CtaSection } from '@/widgets/cta-section';
import Container from '@/shared/shadcn-ui/conteiner';
+import ProgrammImg from '../../../../public/clients/loyatly/03a771e7-5d76-4111-a516-801aa925659f.jpg'
+
export const metadata = {
title: 'Программа лояльности | GasNetwork - Сеть заправок в Таджикистане',
description:
@@ -112,10 +114,11 @@ export function LoyaltyPage() {
@@ -123,7 +126,7 @@ export function LoyaltyPage() {
{/* How It Works */}
-
+
@@ -134,8 +137,8 @@ export function LoyaltyPage() {
-
-
+
+
1
@@ -146,7 +149,7 @@ export function LoyaltyPage() {
{t('clients.loyalty.works.stage.description-1')}
-
+
2
@@ -157,7 +160,7 @@ export function LoyaltyPage() {
{t('clients.loyalty.works.stage.description-2')}
-
+
3
@@ -168,7 +171,7 @@ export function LoyaltyPage() {
{t('clients.loyalty.works.stage.description-3')}
-
+
4
@@ -195,8 +198,8 @@ export function LoyaltyPage() {
-
-
+
+
{t('clients.loyalty.works.levels.card-1.title')}
@@ -232,7 +235,7 @@ export function LoyaltyPage() {
-
+
{t('clients.loyalty.works.levels.card-2.title')}
@@ -274,7 +277,7 @@ export function LoyaltyPage() {
-
+
{t('clients.loyalty.works.levels.card-3.title')}
diff --git a/src/shared/assets/logo.tsx b/src/shared/assets/logo.tsx
index ee1bce8..9ae43ba 100644
--- a/src/shared/assets/logo.tsx
+++ b/src/shared/assets/logo.tsx
@@ -4,8 +4,8 @@ import Link from 'next/link';
export const Logo = () => {
return (
-
- Ориё
+
+ {/* Ориё */}
);
};
diff --git a/src/shared/components/loader.tsx b/src/shared/components/loader.tsx
new file mode 100644
index 0000000..f8339dc
--- /dev/null
+++ b/src/shared/components/loader.tsx
@@ -0,0 +1,9 @@
+'use client'
+
+export default function Loader() {
+ return (
+
+ )
+}
\ No newline at end of file
diff --git a/src/shared/components/promotion-slider.tsx b/src/shared/components/promotion-slider.tsx
index 06a75f7..e2806c8 100644
--- a/src/shared/components/promotion-slider.tsx
+++ b/src/shared/components/promotion-slider.tsx
@@ -5,12 +5,12 @@ import Image from 'next/image';
import Link from 'next/link';
import { useEffect, useState } from 'react';
-import { Discounts } from '@/app/api-utlities/@types';
+import { Discounts } from '@/app/api-utlities/@types/index';
import { useTextController } from '@/shared/language/hooks/use-text-controller';
import { Button } from '@/shared/shadcn-ui/button';
import { Card, CardContent } from '@/shared/shadcn-ui/card';
-
+import PromoImg from '../../../public/main/#promotions/995b9daa-959f-4bd5-9135-ef7c47148f2c.jpg'
const promotions = [
{
id: 1,
@@ -99,13 +99,15 @@ export default function PromotionSlider({ discounts }: PromotionSliderProps) {
data-aos-duration='700'
>
-
-
+
{promo.name}
diff --git a/src/shared/providers/aos-provider.tsx b/src/shared/providers/aos-provider.tsx
index b52eb38..27c10dc 100644
--- a/src/shared/providers/aos-provider.tsx
+++ b/src/shared/providers/aos-provider.tsx
@@ -10,7 +10,20 @@ interface AosInitProps {
export const AosProvider = ({ children }: AosInitProps) => {
useEffect(() => {
- AOS.init({ once: false, mirror: false, });
+ const timer = setTimeout(() => {
+ AOS.init({
+ mirror: false,
+ once: false,
+ offset: 100,
+ duration: 600,
+ easing: 'ease-out-quart',
+ });
+ }, 500);
+
+ return () => {
+ clearTimeout(timer);
+ AOS.refreshHard();
+ };
}, []);
return <>{children}>;
diff --git a/src/widgets/hero-section.tsx b/src/widgets/hero-section.tsx
index 772cbed..f48e3f1 100644
--- a/src/widgets/hero-section.tsx
+++ b/src/widgets/hero-section.tsx
@@ -12,7 +12,7 @@ export const HeroSection = () => {
return (
-
+
{
-
+
{t('home.hero.title')}
{t('home.hero.description')}
-
+