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 ( -
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.description')}
@@ -34,7 +37,8 @@ export const HeroSection = () => { {t('common.buttons.findStation')}{' '}