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