2024-02-14 11:24:41 +01:00
|
|
|
<script lang="ts">
|
2024-02-19 11:33:41 +01:00
|
|
|
import { _ } from 'svelte-i18n';
|
|
|
|
|
2024-02-14 11:24:41 +01:00
|
|
|
/**
|
|
|
|
* Under which name shall the person be known?
|
|
|
|
*/
|
|
|
|
export let displayName: string = '';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* How to correctly address this person.
|
|
|
|
*/
|
|
|
|
export let pronoun: string = '';
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<h1 class="h1 font-semibold text-4xl leading-tight">
|
2024-02-19 11:33:41 +01:00
|
|
|
<!-- FIXME: Include placeholder in i18n -->
|
|
|
|
<span class="sr-only">{$_('page.profile.heading')}</span>
|
2024-02-14 11:24:41 +01:00
|
|
|
{@html displayName}
|
|
|
|
</h1>
|
|
|
|
<p class="leading-normal my-1">({@html pronoun})</p>
|