diff --git a/frontend/src/lib/components/FieldCard.svelte b/frontend/src/lib/components/FieldCard.svelte index a8af4d6..9d2a9f5 100644 --- a/frontend/src/lib/components/FieldCard.svelte +++ b/frontend/src/lib/components/FieldCard.svelte @@ -1,7 +1,7 @@ @@ -10,7 +10,7 @@

{field.name}

diff --git a/frontend/src/lib/components/PronounLink.svelte b/frontend/src/lib/components/PronounLink.svelte index 30431fe..317dc19 100644 --- a/frontend/src/lib/components/PronounLink.svelte +++ b/frontend/src/lib/components/PronounLink.svelte @@ -26,7 +26,7 @@ {#if shouldLink} - {pronounText} + {pronounText} {:else} {pronounText} {/if} diff --git a/frontend/src/lib/components/StatusLine.svelte b/frontend/src/lib/components/StatusLine.svelte new file mode 100644 index 0000000..ada28f6 --- /dev/null +++ b/frontend/src/lib/components/StatusLine.svelte @@ -0,0 +1,14 @@ + + +{#if status === WordStatus.Favourite} + +{:else if status === WordStatus.Avoid} + +{:else} + +{/if} diff --git a/frontend/src/routes/@[username]/+page.svelte b/frontend/src/routes/@[username]/+page.svelte index 0e9c5c4..5235b7d 100644 --- a/frontend/src/routes/@[username]/+page.svelte +++ b/frontend/src/routes/@[username]/+page.svelte @@ -33,7 +33,8 @@ import renderMarkdown from "$lib/api/markdown"; import ReportButton from "./ReportButton.svelte"; import ProfileLink from "./ProfileLink.svelte"; - import { memberNameRegex } from "$lib/api/regex"; + import { memberNameRegex } from "$lib/api/regex"; + import StatusLine from "$lib/components/StatusLine.svelte"; export let data: PageData; @@ -146,7 +147,7 @@

Names

@@ -156,10 +157,7 @@

Pronouns

diff --git a/frontend/src/routes/@[username]/[memberName]/+page.svelte b/frontend/src/routes/@[username]/[memberName]/+page.svelte index 388e086..f71fc5f 100644 --- a/frontend/src/routes/@[username]/[memberName]/+page.svelte +++ b/frontend/src/routes/@[username]/[memberName]/+page.svelte @@ -12,6 +12,7 @@ import renderMarkdown from "$lib/api/markdown"; import ReportButton from "../ReportButton.svelte"; import ProfileLink from "../ProfileLink.svelte"; + import StatusLine from "$lib/components/StatusLine.svelte"; export let data: PageData; @@ -80,7 +81,7 @@

Names

@@ -90,10 +91,7 @@

Pronouns