working on vcard display

This commit is contained in:
2025-10-07 21:47:49 +02:00
parent 3e8c3f1d3a
commit f6a8734614
9 changed files with 66 additions and 9 deletions

View File

@@ -1,9 +1,12 @@
<script>
import { fn } from '../../vcard.js';
import { t } from '../../translations.svelte';
let { vcard } = $props();
let name = $derived(fn(vcard));
</script>
<span class="formatted name">{name}</span>
{#if name}
<span class="formatted name"><span>{t('formatted name')}:&nbsp;</span>{name}</span>
{/if}