diff --git a/src/pages/home/components/Hero.tsx b/src/pages/home/components/Hero.tsx index 47cf399..1776857 100644 --- a/src/pages/home/components/Hero.tsx +++ b/src/pages/home/components/Hero.tsx @@ -1,6 +1,5 @@ import { useTranslation } from 'react-i18next'; import { Github, Linkedin, Mail } from 'lucide-react'; -import { motion } from 'framer-motion'; const Hero = () => { const { t } = useTranslation(); @@ -92,47 +91,22 @@ const Hero = () => { - {/* Title and Name */} - + {/* Title and Name - sofort sichtbar für LCP (keine opacity Animation!) */} +

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

+

{t('pages.home.hero.name')}| - - +

+

{t('pages.home.hero.description')} - - +

+

{t('pages.home.hero.currentRole')} - +

{/* Navigation */} - +
- +
{/* Contact Button Bottom */} diff --git a/tailwind.config.js b/tailwind.config.js index 25c6767..fa01b18 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -13,6 +13,15 @@ module.exports = { fontFamily: { sans: ['Inter', 'system-ui', 'sans-serif'], }, + animation: { + 'slide-up': 'slideUp 0.5s ease-out forwards', + }, + keyframes: { + slideUp: { + '0%': { transform: 'translateY(10px)' }, + '100%': { transform: 'translateY(0)' }, + }, + }, colors: { border: "rgb(var(--border))", input: "rgb(var(--input))",