diff --git a/src/app/globals.css b/src/app/globals.css index ac2e376..2090000 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -120,3 +120,49 @@ @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; + } +} \ No newline at end of file diff --git a/src/features/auth/login-form/ui/login-form.tsx b/src/features/auth/login-form/ui/login-form.tsx index b89887b..5a53ab3 100644 --- a/src/features/auth/login-form/ui/login-form.tsx +++ b/src/features/auth/login-form/ui/login-form.tsx @@ -55,8 +55,8 @@ export const LoginForm = ({}: LoginFormProps) => { }; return ( -
- + + {

{t('home.cta.description')}

-
diff --git a/src/widgets/footer.tsx b/src/widgets/footer.tsx index 3a0e046..8c2d5a8 100644 --- a/src/widgets/footer.tsx +++ b/src/widgets/footer.tsx @@ -2,6 +2,7 @@ import { Fuel, Mail, MapPin, Phone } from 'lucide-react'; import Link from 'next/link'; +import '.././app/globals.css' import { useLanguage } from '@/shared/language'; import { Button } from '@/shared/shadcn-ui/button'; @@ -133,7 +134,7 @@ export const Footer = () => { placeholder={t('common.footer.yourEmail')} className='w-full rounded-md border border-gray-700 bg-gray-800 px-4 py-2 text-white' /> - diff --git a/src/widgets/hero-section.tsx b/src/widgets/hero-section.tsx index 9837370..daddb15 100644 --- a/src/widgets/hero-section.tsx +++ b/src/widgets/hero-section.tsx @@ -2,6 +2,7 @@ import { MapPin } from 'lucide-react'; import Image from 'next/image'; +import '../../src/app/globals.css' import { useLanguage } from '@/shared/language'; import { Button } from '@/shared/shadcn-ui/button'; @@ -23,9 +24,11 @@ export const HeroSection = () => {
-

- {t('home.hero.title')} -

+
+

+ {t('home.hero.title')} +

+

{t('home.hero.description')}

@@ -34,7 +37,8 @@ export const HeroSection = () => { {t('common.buttons.findStation')}{' '} -
diff --git a/src/widgets/vacancies-section.tsx b/src/widgets/vacancies-section.tsx index 1f4fc7d..bf0deab 100644 --- a/src/widgets/vacancies-section.tsx +++ b/src/widgets/vacancies-section.tsx @@ -83,6 +83,7 @@ export const VacanciesSection = () => {
@@ -116,6 +117,7 @@ export const VacanciesSection = () => {