From fc4d4f3cc3737633d52eed82dcb365bc845e7ed8 Mon Sep 17 00:00:00 2001 From: Damjan Savic Date: Mon, 5 Jan 2026 23:30:46 +0100 Subject: [PATCH] Fix: GitHub/LinkedIn Icons im Hero-Bereich sichtbar machen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Inline SVG Icons statt lucide-react Import - Icons werden sofort gerendert ohne Lazy-Loading-Verzögerung 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- src/pages/home/components/Hero.tsx | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/src/pages/home/components/Hero.tsx b/src/pages/home/components/Hero.tsx index 1776857..dded885 100644 --- a/src/pages/home/components/Hero.tsx +++ b/src/pages/home/components/Hero.tsx @@ -1,5 +1,27 @@ import { useTranslation } from 'react-i18next'; -import { Github, Linkedin, Mail } from 'lucide-react'; + +// Inline SVG icons to avoid lazy-loading issues +const LinkedinIcon = () => ( + + + + + +); + +const GithubIcon = () => ( + + + + +); + +const MailIcon = () => ( + + + + +); const Hero = () => { const { t } = useTranslation(); @@ -39,7 +61,7 @@ const Hero = () => { className="inline-flex items-center justify-center w-9 h-9 text-white hover:text-zinc-300 transition-colors" aria-label={t('pages.home.hero.social.linkedin.title')} > - + { className="inline-flex items-center justify-center w-9 h-9 text-white hover:text-zinc-300 transition-colors" aria-label={t('pages.home.hero.social.github.title')} > - + { className="inline-flex items-center justify-center w-10 h-10 text-white hover:text-zinc-300 transition-colors" aria-label={t('pages.home.hero.social.getInTouch')} > - +