From bcdcb1e0d55a77e95aad864a0d6dbf5911f7f7f3 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 27 Mar 2023 15:48:03 +0200 Subject: [PATCH] feat(frontend): appease pagespeed insights --- frontend/src/routes/+page.svelte | 3 ++- frontend/src/routes/@[username]/+page.svelte | 2 +- frontend/src/routes/@[username]/ProfileLink.svelte | 2 +- frontend/src/routes/@[username]/[memberName]/+page.svelte | 2 +- frontend/src/routes/nav/Navigation.svelte | 4 ++-- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/frontend/src/routes/+page.svelte b/frontend/src/routes/+page.svelte index 3c1fe4c..8d5910d 100644 --- a/frontend/src/routes/+page.svelte +++ b/frontend/src/routes/+page.svelte @@ -6,8 +6,9 @@ pronouns.cc + - + diff --git a/frontend/src/routes/@[username]/+page.svelte b/frontend/src/routes/@[username]/+page.svelte index 859c929..9f816f2 100644 --- a/frontend/src/routes/@[username]/+page.svelte +++ b/frontend/src/routes/@[username]/+page.svelte @@ -111,7 +111,7 @@ {#if data.display_name}

{data.display_name}

-
@{data.name}
+

@{data.name}

{:else}

@{data.name}

diff --git a/frontend/src/routes/@[username]/ProfileLink.svelte b/frontend/src/routes/@[username]/ProfileLink.svelte index 22a80eb..d1f84ab 100644 --- a/frontend/src/routes/@[username]/ProfileLink.svelte +++ b/frontend/src/routes/@[username]/ProfileLink.svelte @@ -20,7 +20,7 @@ }; - + {#if isLink} {displayLink} {:else} diff --git a/frontend/src/routes/@[username]/[memberName]/+page.svelte b/frontend/src/routes/@[username]/[memberName]/+page.svelte index ff064ef..4b4b59a 100644 --- a/frontend/src/routes/@[username]/[memberName]/+page.svelte +++ b/frontend/src/routes/@[username]/[memberName]/+page.svelte @@ -49,7 +49,7 @@

{data.display_name ?? data.name}

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

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

{#if profileEmpty && $userStore?.id === data.user.id}

diff --git a/frontend/src/routes/nav/Navigation.svelte b/frontend/src/routes/nav/Navigation.svelte index f96d8d4..cb6cd9e 100644 --- a/frontend/src/routes/nav/Navigation.svelte +++ b/frontend/src/routes/nav/Navigation.svelte @@ -113,8 +113,8 @@ expand="lg" class="mb-4" > - - + +