import { Code, Palette, ShieldCheck, Eye } from 'lucide-react'; import { getTexts } from '../../config/texts'; import type { SkillBadge } from '../../data/SkillBadge'; import type { Service } from '../../data/Service'; import saschaImage from '../../assets/sascha.png'; interface AboutSectionProps { name?: string; title?: string; subtitle?: string; bio?: string[]; profileImage?: string; featureCards?: Service[]; } export default function AboutSection(props: AboutSectionProps = {}) { const texts = getTexts().about; // Use centralized texts as defaults, allow props to override const { name = texts.name, title = texts.title, subtitle = texts.subtitle, bio = texts.bio, profileImage = saschaImage, featureCards = [ { icon: Code, title: "Web Development", description: "Building modern web applications with Angular and React frameworks, leveraging TypeScript and JavaScript for robust, scalable solutions.", colorClass: "primary" }, { icon: Palette, title: "Responsive Design", description: "Creating pixel-perfect, responsive interfaces that work seamlessly across all devices and screen sizes.", colorClass: "secondary" }, { icon: ShieldCheck, title: "Cross-Browser Compatibility", description: "Ensuring consistent user experiences across all major browsers with thorough testing and optimization.", colorClass: "tertiary" }, { icon: Eye, title: "Web Accessibility", description: "Implementing accessibility best practices to deliver websites that support screen readers, keyboard navigation, and assistive technologies.", colorClass: "quaternary" } ] } = props; return (
{/* Section Header */}

{title}

{subtitle}

{/* Personal Photo and Bio */}
{`${name}

Hi, I'm {name}!

{bio.map((paragraph, index) => (

{paragraph}

))}
{/* Feature Cards Grid */}
{featureCards.map((card, index) => { const IconComponent = card.icon; return (

{card.title}

{card.description}

); })}
); }