From 48b70f8d1e0b8d288e521676b95e73f718b752d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Dvo=C5=99=C3=A1k?= <150935816+Dvorinka@users.noreply.github.com> Date: Fri, 23 May 2025 10:41:25 +0200 Subject: [PATCH] Add files via upload --- kontakt/index.html | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) 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} +
`; }