feat: move 'beta' text out of logo svg

This commit is contained in:
Sam 2023-05-08 15:56:20 +02:00
parent 9a36e4ec24
commit 48b41c7135
No known key found for this signature in database
GPG Key ID: B4EF20DDE721CAA1
2 changed files with 16 additions and 4 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

View File

@ -121,6 +121,7 @@
>
<NavbarBrand href="/" aria-label="pronouns.cc landing page">
<Logo />
<span id="beta-text">beta</span>
{#if commit === "[unknown]"}
<Badge color="danger">DEV</Badge>
{/if}
@ -179,3 +180,14 @@
</Nav>
</Collapse>
</Navbar>
<style>
/* These exact values make it look almost identical to the SVG version, which is what we want */
#beta-text {
font-size: 0.7em;
position: relative;
font-style: italic;
bottom: 12px;
right: 3px;
}
</style>