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"> <NavbarBrand href="/" aria-label="pronouns.cc landing page">
<Logo /> <Logo />
<span id="beta-text">beta</span>
{#if commit === "[unknown]"} {#if commit === "[unknown]"}
<Badge color="danger">DEV</Badge> <Badge color="danger">DEV</Badge>
{/if} {/if}
@ -179,3 +180,14 @@
</Nav> </Nav>
</Collapse> </Collapse>
</Navbar> </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>