diff --git a/src/Icon.svelte b/src/Icon.svelte new file mode 100644 index 000000000..260d56a4e --- /dev/null +++ b/src/Icon.svelte @@ -0,0 +1,34 @@ + + + + +{#if svg} + + {@html svg.data} + +{/if} diff --git a/src/base/orgs/Profile.svelte b/src/base/orgs/Profile.svelte index 1b972a86c..d2f6ba54a 100644 --- a/src/base/orgs/Profile.svelte +++ b/src/base/orgs/Profile.svelte @@ -8,6 +8,7 @@ import Loading from '@app/Loading.svelte'; import Modal from '@app/Modal.svelte'; import Error from '@app/Error.svelte'; + import Icon from '@app/Icon.svelte'; export let name: string; export let config: Config; @@ -56,6 +57,15 @@ width: 64px; height: 64px; } + .links { + display: flex; + align-items: center; + justify-content: center; + } + .url { + display: flex; /* Ensures correct vertical positioning of icons */ + margin-right: 1rem; + } {#await Org.get(address, config)} @@ -71,9 +81,23 @@ {/if}
{address} - {#if registration && registration.url} - {registration.url} - {/if} +
{#if loading}