Compare commits

..

No commits in common. "16dac989af40219c5cbb008ed0d70158a0b1a4f6" and "c989b2b7a429b8d03cce6b08eb54d42469d82262" have entirely different histories.

6 changed files with 8 additions and 61 deletions

View File

@ -120,49 +120,3 @@
@apply bg-background text-foreground; @apply bg-background text-foreground;
} }
} }
.tracking-in-expand {
animation: tracking-in-expand 2s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}
@keyframes tracking-in-expand {
0% {
letter-spacing: -0.5em;
opacity: 0;
}
40% {
opacity: 0.6;
}
100% {
opacity: 1;
}
}
.heartbeat {
animation: heartbeat 1.5s ease-in-out infinite both;
}
@keyframes heartbeat {
from {
transform: scale(1);
transform-origin: center center;
animation-timing-function: ease-out;
}
10% {
transform: scale(0.91);
animation-timing-function: ease-in;
}
17% {
transform: scale(0.98);
animation-timing-function: ease-out;
}
33% {
transform: scale(0.87);
animation-timing-function: ease-in;
}
45% {
transform: scale(1);
animation-timing-function: ease-out;
}
}

View File

@ -56,7 +56,7 @@ export const LoginForm = ({}: LoginFormProps) => {
return ( return (
<Form {...form}> <Form {...form}>
<form onSubmit={form.handleSubmit(onSubmit)} className='space-y-4 mx-auto'> <form onSubmit={form.handleSubmit(onSubmit)} className='space-y-4'>
<FormField <FormField
control={form.control} control={form.control}
name='phoneNumber' name='phoneNumber'

View File

@ -16,7 +16,7 @@ export const CtaSection = () => {
<p className='mb-8 max-w-2xl'>{t('home.cta.description')}</p> <p className='mb-8 max-w-2xl'>{t('home.cta.description')}</p>
<div className='flex flex-col gap-4 sm:flex-row'> <div className='flex flex-col gap-4 sm:flex-row'>
<Button variant='outline'>{t('common.buttons.downloadApp')}</Button> <Button variant='outline'>{t('common.buttons.downloadApp')}</Button>
<Button variant='secondary'> <Button className='bg-white text-red-600 hover:bg-gray-100'>
{t('common.buttons.getLoyaltyCard')} {t('common.buttons.getLoyaltyCard')}
</Button> </Button>
</div> </div>

View File

@ -2,7 +2,6 @@
import { Fuel, Mail, MapPin, Phone } from 'lucide-react'; import { Fuel, Mail, MapPin, Phone } from 'lucide-react';
import Link from 'next/link'; import Link from 'next/link';
import '.././app/globals.css'
import { useLanguage } from '@/shared/language'; import { useLanguage } from '@/shared/language';
import { Button } from '@/shared/shadcn-ui/button'; import { Button } from '@/shared/shadcn-ui/button';
@ -134,7 +133,7 @@ export const Footer = () => {
placeholder={t('common.footer.yourEmail')} placeholder={t('common.footer.yourEmail')}
className='w-full rounded-md border border-gray-700 bg-gray-800 px-4 py-2 text-white' className='w-full rounded-md border border-gray-700 bg-gray-800 px-4 py-2 text-white'
/> />
<Button className='w-full bg-red-600 hover:bg-red-700 heartbeat'> <Button className='w-full bg-red-600 hover:bg-red-700'>
{t('common.footer.subscribe')} {t('common.footer.subscribe')}
</Button> </Button>
</form> </form>

View File

@ -2,7 +2,6 @@
import { MapPin } from 'lucide-react'; import { MapPin } from 'lucide-react';
import Image from 'next/image'; import Image from 'next/image';
import '../../src/app/globals.css'
import { useLanguage } from '@/shared/language'; import { useLanguage } from '@/shared/language';
import { Button } from '@/shared/shadcn-ui/button'; import { Button } from '@/shared/shadcn-ui/button';
@ -24,11 +23,9 @@ export const HeroSection = () => {
<div className='absolute inset-0 flex items-center bg-gradient-to-r from-black/70 to-black/30'> <div className='absolute inset-0 flex items-center bg-gradient-to-r from-black/70 to-black/30'>
<div className='container mx-auto'> <div className='container mx-auto'>
<div className='max-w-lg space-y-4 text-white'> <div className='max-w-lg space-y-4 text-white'>
<div className='tracking-in-expand'>
<h1 className='text-4xl font-bold tracking-tight sm:text-5xl md:text-6xl'> <h1 className='text-4xl font-bold tracking-tight sm:text-5xl md:text-6xl'>
{t('home.hero.title')} {t('home.hero.title')}
</h1> </h1>
</div>
<p className='text-lg text-gray-200'> <p className='text-lg text-gray-200'>
{t('home.hero.description')} {t('home.hero.description')}
</p> </p>
@ -37,8 +34,7 @@ export const HeroSection = () => {
{t('common.buttons.findStation')}{' '} {t('common.buttons.findStation')}{' '}
<MapPin className='ml-2 h-4 w-4' /> <MapPin className='ml-2 h-4 w-4' />
</Button> </Button>
<Button variant='outline' className='animate-pulse' <Button variant='outline'>
>
{t('common.buttons.learnMore')} {t('common.buttons.learnMore')}
</Button> </Button>
</div> </div>

View File

@ -83,7 +83,6 @@ 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={index % 2 === 0 ? 'fade-right' : 'fade-left'}
> >
<CardContent className='p-0'> <CardContent className='p-0'>
<div className='p-6'> <div className='p-6'>
@ -117,7 +116,6 @@ 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={index % 2 === 0 ? 'fade-right' : 'fade-left'}
> >
<CardContent className='p-0'> <CardContent className='p-0'>
<div className='p-6'> <div className='p-6'>