diff --git a/frontend/src/routes/@[username]/+page.svelte b/frontend/src/routes/@[username]/+page.svelte index 62a4234..8664174 100644 --- a/frontend/src/routes/@[username]/+page.svelte +++ b/frontend/src/routes/@[username]/+page.svelte @@ -2,9 +2,10 @@ import { marked } from "marked"; import sanitizeHtml from "sanitize-html"; - import FieldCard from "$lib/components/FieldCard.svelte"; - import type { PageData } from "./$types"; + + import { Icon } from "sveltestrap"; + import FieldCard from "$lib/components/FieldCard.svelte"; import StatusIcon from "$lib/components/StatusIcon.svelte"; import PronounLink from "$lib/components/PronounLink.svelte"; import PartialMemberCard from "$lib/components/PartialMemberCard.svelte"; @@ -26,7 +27,7 @@
-
+
{#if data.display_name}

{data.display_name}

@{data.name}
@@ -37,20 +38,19 @@ {#if bio}

{@html bio}

{/if} -
- {#if data.links} -
-
- {/if} + {/if} +
- {#if data.names} + {#if data.names.length > 0}

Names

{/if} - {#if data.pronouns} + {#if data.pronouns.length > 0}

Pronouns

{/each}
- {#if data.members} + {#if data.members.length > 0}

diff --git a/frontend/src/routes/@[username]/[memberName]/+page.svelte b/frontend/src/routes/@[username]/[memberName]/+page.svelte index a3626d5..947206f 100644 --- a/frontend/src/routes/@[username]/[memberName]/+page.svelte +++ b/frontend/src/routes/@[username]/[memberName]/+page.svelte @@ -31,26 +31,25 @@
-
+

{data.display_name ?? data.name}

{data.name} (@{data.user.name})

{#if bio}

{@html bio}

{/if} -
- {#if data.links} -
-
    + {#if data.links.length > 0} +
    + -
- {/if} + {/if} +
- {#if data.names} + {#if data.names.length > 0}

Names

    @@ -60,7 +59,7 @@
{/if} - {#if data.pronouns} + {#if data.pronouns.length > 0}

Pronouns