update: add animations to sections

This commit is contained in:
BunyodL 2025-04-26 21:25:07 +05:00
parent 896fc7e60a
commit c989b2b7a4
6 changed files with 15 additions and 4 deletions

View File

@ -66,7 +66,10 @@ export const AboutSection = () => {
</div> </div>
</div> </div>
</div> </div>
<div className='relative h-[400px] overflow-hidden rounded-xl shadow-xl'> <div
className='relative h-[400px] overflow-hidden rounded-xl shadow-xl'
data-aos='zoom-in-down'
>
<Image <Image
src='/placeholder.svg?height=400&width=600' src='/placeholder.svg?height=400&width=600'
alt='About our company' alt='About our company'

View File

@ -13,7 +13,10 @@ export const CharitySection = () => {
<section id='charity' className='py-16'> <section id='charity' className='py-16'>
<div className='container mx-auto'> <div className='container mx-auto'>
<div className='grid items-center gap-12 md:grid-cols-2'> <div className='grid items-center gap-12 md:grid-cols-2'>
<div className='relative order-2 h-[400px] overflow-hidden rounded-xl shadow-xl md:order-1'> <div
className='relative order-2 h-[400px] overflow-hidden rounded-xl shadow-xl md:order-1'
data-aos='zoom-out-up'
>
<Image <Image
src='/placeholder.svg?height=400&width=600' src='/placeholder.svg?height=400&width=600'
alt='Charity Foundation' alt='Charity Foundation'

View File

@ -10,7 +10,7 @@ export const Footer = () => {
const { t } = useLanguage(); const { t } = useLanguage();
return ( return (
<footer className='bg-gray-900 py-12 text-white'> <footer className='bg-gray-900 py-12 text-white px-4'>
<div className='containe mx-autor'> <div className='containe mx-autor'>
<div className='grid grid-cols-1 gap-8 md:grid-cols-4'> <div className='grid grid-cols-1 gap-8 md:grid-cols-4'>
<div> <div>

View File

@ -24,7 +24,10 @@ export const MapSection = () => {
{t('home.stations.description')} {t('home.stations.description')}
</p> </p>
</div> </div>
<div className='h-[500px] overflow-hidden rounded-xl border shadow-lg'> <div
className='h-[500px] overflow-hidden rounded-xl border shadow-lg'
data-aos='fade-up'
>
<GasStationMap /> <GasStationMap />
</div> </div>
<div className='mt-8 flex justify-center'> <div className='mt-8 flex justify-center'>

View File

@ -29,6 +29,7 @@ export const PartnersSection = () => {
<div <div
key={partner} key={partner}
className='flex h-32 items-center justify-center rounded-lg bg-white p-6 shadow-md transition-transform hover:scale-105' className='flex h-32 items-center justify-center rounded-lg bg-white p-6 shadow-md transition-transform hover:scale-105'
data-aos='flip-left'
> >
<Image <Image
src={`/placeholder.svg?height=80&width=160&text=Partner ${partner}`} src={`/placeholder.svg?height=80&width=160&text=Partner ${partner}`}

View File

@ -46,6 +46,7 @@ export const VacanciesSection = () => {
<Card <Card
key={index} key={index}
className='overflow-hidden transition-all hover:shadow-md' className='overflow-hidden transition-all hover:shadow-md'
data-aos='zoom-in'
> >
<CardContent className='p-0'> <CardContent className='p-0'>
<div className='p-6'> <div className='p-6'>