2025-05-06 15:17:54 +05:00

185 lines
7.6 KiB
TypeScript

'use client';
import { Percent } from 'lucide-react';
import Image from 'next/image';
import { Container } from '@/shared/components/container';
import { useTextController } from '@/shared/language/hooks/use-text-controller';
// import LoyaltyLevels from '@/widgets/clients/loyalty/ui/loyalty-levels';
import { CtaSection } from '@/widgets/cta-section';
export function LoyaltyPage() {
const { t } = useTextController();
return (
<div className='flex min-h-screen flex-col'>
<main className='flex-1'>
{/* Hero Section */}
<section className='relative'>
<div className='relative h-[400px] w-full overflow-hidden'>
<Image
src='/placeholder.svg?height=400&width=1920&text=Программа+лояльности'
alt='Программа лояльности'
width={1920}
height={400}
className='object-cover'
priority
/>
<div className='absolute inset-0 flex items-center bg-gradient-to-r from-black/70 to-black/30'>
<Container data-aos='fade-down' data-aos-duration='800'>
<div className='max-w-2xl space-y-4 text-white'>
<h1 className='text-4xl font-bold tracking-tight sm:text-5xl md:text-6xl'>
{t('clients.loyalty.title')}
</h1>
<p className='text-lg text-gray-200'>
{t('clients.loyalty.description')}
</p>
</div>
</Container>
</div>
</div>
</section>
{/* Program Overview */}
<Container>
<div className='grid items-center gap-12 md:grid-cols-2'>
<div data-aos='fade-right'>
<div className='mb-4 inline-flex items-center justify-center rounded-full bg-red-100 p-2'>
<Percent className='h-6 w-6 text-red-600' />
</div>
<h2 className='mb-6 text-3xl font-bold tracking-tight sm:text-4xl'>
{t('clients.loyalty.programm.about')}
</h2>
<p className='mb-6 text-gray-600'>
{t('clients.loyalty.programm.about-description')}
</p>
<p className='mb-6 text-gray-600'>
{t('clients.loyalty.programm.about-description-2')}
</p>
<div className='space-y-4'>
<div className='flex items-start'>
<div className='mt-1 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full bg-red-600'>
<span className='text-xs text-white'></span>
</div>
<div className='ml-3'>
<h3 className='text-lg font-medium'>
{t('clients.loyalty.programm.conditions-1')}
</h3>
<p className='text-gray-600'>
{t('clients.loyalty.programm.conditions.description-1')}
</p>
</div>
</div>
<div className='flex items-start'>
<div className='mt-1 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full bg-red-600'>
<span className='text-xs text-white'></span>
</div>
<div className='ml-3'>
<h3 className='text-lg font-medium'>
{t('clients.loyalty.programm.conditions-2')}
</h3>
<p className='text-gray-600'>
{t('clients.loyalty.programm.conditions.description-2')}
</p>
</div>
</div>
<div className='flex items-start'>
<div className='mt-1 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full bg-red-600'>
<span className='text-xs text-white'></span>
</div>
<div className='ml-3'>
<h3 className='text-lg font-medium'>
{t('clients.loyalty.programm.conditions-3')}
</h3>
<p className='text-gray-600'>
{t('clients.loyalty.programm.conditions.description-3')}
</p>
</div>
</div>
</div>
</div>
<div
data-aos='fade-up'
className='relative h-[400px] md:h-full overflow-hidden rounded-xl'
>
<Image
src={'/clients/loyatly/oriyo-price-board.png'}
alt='Программа лояльности'
fill
className='w-full object-contain p-2.5'
priority
/>
</div>
</div>
</Container>
{/* How It Works */}
<section className='bg-gray-50'>
<Container>
<div className='mb-12 text-center'>
<h2 className='mb-4 text-3xl font-bold tracking-tight sm:text-4xl'>
{t('clients.loyalty.works.title')}
</h2>
<p className='mx-auto max-w-2xl text-gray-600'>
{t('clients.loyalty.works.description')}
</p>
</div>
<div className='grid gap-8 sm:grid-cols-2 lg:grid-cols-4'>
<div data-aos='zoom-in-up' className='text-center'>
<div className='mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-red-600 text-2xl font-bold text-white'>
1
</div>
<h3 className='mb-2 text-xl font-bold'>
{t('clients.loyalty.works.stage-1')}
</h3>
<p className='text-gray-600'>
{t('clients.loyalty.works.stage.description-1')}
</p>
</div>
<div data-aos='zoom-in-up' className='text-center'>
<div className='mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-red-600 text-2xl font-bold text-white'>
2
</div>
<h3 className='mb-2 text-xl font-bold'>
{t('clients.loyalty.works.stage-2')}
</h3>
<p className='text-gray-600'>
{t('clients.loyalty.works.stage.description-2')}
</p>
</div>
<div data-aos='zoom-in-up' className='text-center'>
<div className='mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-red-600 text-2xl font-bold text-white'>
3
</div>
<h3 className='mb-2 text-xl font-bold'>
{t('clients.loyalty.works.stage-3')}
</h3>
<p className='text-gray-600'>
{t('clients.loyalty.works.stage.description-3')}
</p>
</div>
<div data-aos='zoom-in-up' className='text-center'>
<div className='mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-red-600 text-2xl font-bold text-white'>
4
</div>
<h3 className='mb-2 text-xl font-bold'>
{t('clients.loyalty.works.stage-4')}
</h3>
<p className='text-gray-600'>
{t('clients.loyalty.works.stage.description-4')}
</p>
</div>
</div>
</Container>
</section>
{/* <LoyaltyLevels /> */}
<CtaSection />
</main>
</div>
);
}