From f6997ce6296fe3e65eb248984311467284f6e746 Mon Sep 17 00:00:00 2001 From: Damjan Savic Date: Mon, 5 Jan 2026 23:46:47 +0100 Subject: [PATCH] Fix: Hero Social Links komplett neu implementiert MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - SVGs direkt inline statt separate Komponenten - Buttons mit bg-white/10 Hintergrund für Sichtbarkeit - Fixed position statt absolute - Runde Buttons mit Hover-Effekt 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- src/pages/home/components/Hero.tsx | 92 +++++++++++++----------------- 1 file changed, 40 insertions(+), 52 deletions(-) diff --git a/src/pages/home/components/Hero.tsx b/src/pages/home/components/Hero.tsx index 457b685..f1eaf24 100644 --- a/src/pages/home/components/Hero.tsx +++ b/src/pages/home/components/Hero.tsx @@ -1,24 +1,5 @@ import { useTranslation } from 'react-i18next'; -// Inline SVG icons - gefüllt für bessere Sichtbarkeit -const LinkedinIcon = () => ( - - - -); - -const GithubIcon = () => ( - - - -); - -const MailIcon = () => ( - - - -); - const Hero = () => { const { t } = useTranslation(); @@ -31,7 +12,7 @@ const Hero = () => { return (
- {/* Concentric Circles Background - mit GPU-Beschleunigung */} + {/* Concentric Circles Background */}
{[1, 2, 3].map((index) => (
{ ))}
- {/* Social Links - unterhalb der Navigation (h-16 = 64px + 16px = top-20) */} -
-
+ {/* Social Links Bar */} + {/* Main Content */} -
- {/* Profile Image - optimiert für exakte Anzeigegröße */} +
+ {/* Profile Image */}
{
- {/* Title and Name - sofort sichtbar für LCP (keine opacity Animation!) */} + {/* Title and Name */}

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

@@ -157,17 +143,19 @@ const Hero = () => {
{/* Contact Button Bottom */} -
); }; -export default Hero; \ No newline at end of file +export default Hero;