diff --git a/kontakt/index.html b/kontakt/index.html index 3e01fde..9b4b7fc 100644 --- a/kontakt/index.html +++ b/kontakt/index.html @@ -270,23 +270,34 @@ } function formatContactCard(contact, highlight = '') { - const highlightClass = highlight ? 'bg-yellow-100' : ''; + const highlightClass = highlight ? 'bg-yellow-50 border-yellow-200' : ''; // Phone display logic - let phoneDisplay = 'Bez telefonu'; + let phoneDisplay = '

Bez telefonu

'; if (contact.phone || contact.service_phone || contact.phone_flap) { phoneDisplay = [ - contact.phone ? `Tel: ${contact.phone}` : '', - contact.service_phone ? `Mobil: ${contact.service_phone}` : '', - contact.phone_flap ? `Klapka: ${contact.phone_flap}` : '' - ].filter(Boolean).join('
'); + contact.phone ? `
+ + ${contact.phone} +
` : '', + contact.service_phone ? `
+ + ${contact.service_phone} +
` : '', + contact.phone_flap ? `
+ + ${contact.phone_flap} +
` : '' + ].filter(Boolean).join(''); } return ` -
-

${contact.name}

-

${contact.position || '—'}

-
${phoneDisplay}
+
+

${contact.name}

+

${contact.position || '—'}

+
+ ${phoneDisplay} +
`; }