import { useTranslation } from 'react-i18next'; import { motion } from 'framer-motion'; import { MapPin, Briefcase, GraduationCap, Code, Award, Download } from 'lucide-react'; const About = () => { const { t, i18n } = useTranslation(); // CV-Datei basierend auf der aktuellen Sprache const getCvUrl = () => { const lang = i18n.language; if (lang === 'de') return '/damjan_savic_cv_de.pdf'; // Für alle anderen Sprachen (en, sr, etc.) englische Version verwenden return '/damjan_savic_cv_en.pdf'; }; const highlights = [ { icon: , label: "Köln, Deutschland" }, { icon: , label: "5+ Jahre Erfahrung" }, { icon: , label: "Full-Stack Developer" }, { icon: , label: "ERP Spezialist" } ]; return (
{/* Image Section - Simplified */} {/* Main Image Container */}
{t('pages.home.about.image.alt')} { e.currentTarget.src = 'data:image/svg+xml,%3Csvg width="400" height="400" xmlns="http://www.w3.org/2000/svg"%3E%3Crect width="400" height="400" fill="%2327272a"/%3E%3Ctext x="50%25" y="50%25" font-family="system-ui" font-size="24" fill="%2371717a" text-anchor="middle" dominant-baseline="middle"%3EDamjan Savić%3C/text%3E%3C/svg%3E'; }} />
{/* Content Section */}
{/* Title */}

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

{/* Highlight Pills */} {highlights.map((item, index) => ( {item.icon} {item.label} ))} {/* Main Content */}

{t('pages.home.about.content')}

{/* Call to Action Buttons */} {t('pages.home.about.buttons.learnMore')} {t('pages.home.about.buttons.downloadCV')}
); }; export default About;