diff --git a/frontend/src/routes/@[username]/+page.svelte b/frontend/src/routes/@[username]/+page.svelte index 5d9c72e..265465f 100644 --- a/frontend/src/routes/@[username]/+page.svelte +++ b/frontend/src/routes/@[username]/+page.svelte @@ -83,6 +83,13 @@ const favNames = data.names.filter((entry) => entry.status === WordStatus.Favourite); const favPronouns = data.pronouns.filter((entry) => entry.status === WordStatus.Favourite); + + let profileEmpty = false; + $: profileEmpty = + data.names.length === 0 && + data.pronouns.length === 0 && + data.fields.length === 0 && + (!data.bio || data.bio.length === 0);
+ + Your profile is empty! You can customize it by going to the edit profile page. (only you can see this) +
+ {:else if bio}{@html bio}
{/if} @@ -183,11 +199,24 @@
+ You don't have any members yet.
+
+ Members are sub-profiles that can have their own avatar,
+ names, pronouns, and preferred terms. (only you can see this)
+
+ + This member's profile is empty! You can customize it by going to the edit member page. (only you can see this) +
+ {:else if bio}{@html bio}
{/if}