feat(frontend): appease pagespeed insights
This commit is contained in:
parent
4a17611766
commit
bcdcb1e0d5
|
@ -6,8 +6,9 @@
|
|||
|
||||
<svelte:head>
|
||||
<title>pronouns.cc</title>
|
||||
<meta property="description" content="Create and share your preferred names and pronouns!" />
|
||||
<meta property="og:title" content="pronouns.cc" />
|
||||
<meta property="og:description" content="Name and pronoun cards!" />
|
||||
<meta property="og:description" content="Create and share your preferred names and pronouns!" />
|
||||
<meta property="og:url" content={PUBLIC_BASE_URL} />
|
||||
</svelte:head>
|
||||
|
||||
|
|
|
@ -111,7 +111,7 @@
|
|||
{#if data.display_name}
|
||||
<div>
|
||||
<h2>{data.display_name}</h2>
|
||||
<h5 class="text-body-secondary">@{data.name}</h5>
|
||||
<p class="fs-5 text-body-secondary">@{data.name}</p>
|
||||
</div>
|
||||
{:else}
|
||||
<h2>@{data.name}</h2>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
};
|
||||
</script>
|
||||
|
||||
<Icon name="globe" aria-label="Link" />
|
||||
<Icon name="globe" aria-hidden />
|
||||
{#if isLink}
|
||||
<a href={link} rel="me nofollow noreferrer" target="_blank">{displayLink}</a>
|
||||
{:else}
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
</div>
|
||||
<div class="col-md">
|
||||
<h2>{data.display_name ?? data.name}</h2>
|
||||
<h5 class="text-body-secondary">{data.name} (@{data.user.name})</h5>
|
||||
<p class="fs-5 text-body-secondary">{data.name} (@{data.user.name})</p>
|
||||
{#if profileEmpty && $userStore?.id === data.user.id}
|
||||
<hr />
|
||||
<p>
|
||||
|
|
|
@ -113,8 +113,8 @@
|
|||
expand="lg"
|
||||
class="mb-4"
|
||||
>
|
||||
<NavbarBrand href="/"><Logo /></NavbarBrand>
|
||||
<NavbarToggler on:click={toggleMenu} />
|
||||
<NavbarBrand href="/" aria-label="pronouns.cc landing page"><Logo /></NavbarBrand>
|
||||
<NavbarToggler on:click={toggleMenu} aria-label="Toggle menu" />
|
||||
<Collapse isOpen={showMenu} navbar expand="lg">
|
||||
<Nav class="ms-auto" navbar>
|
||||
{#if currentUser}
|
||||
|
|
Loading…
Reference in New Issue