--- /** * Shared Contact Section component * Displays contact information (email, phone, address) in a clean layout. */ import Container from '../atoms/Container.astro'; import SectionHeader from '../atoms/SectionHeader.astro'; import Card from '../atoms/Card.astro'; interface Props { title: string; subtitle?: string; email?: string; phone?: string; address?: string; class?: string; id?: string; } const { title, subtitle, email, phone, address, class: className = '', id } = Astro.props; const hasContactInfo = email || phone || address; ---
{ hasContactInfo && (
{email && (

E-Mail

{email}
)} {phone && (

Telefon

{phone}
)} {address && (

Adresse

{address}

)}
) }