feat: make 'dev' indicator less intrusive

This commit is contained in:
Sam 2023-05-08 23:14:27 +02:00
parent f252340b3a
commit 1c5fe1e25d
No known key found for this signature in database
GPG Key ID: B4EF20DDE721CAA1
1 changed files with 3 additions and 2 deletions

View File

@ -121,9 +121,10 @@
> >
<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> <strong id="beta-text" class="text-danger">dev</strong>
{:else}
<span id="beta-text">beta</span>
{/if} {/if}
</NavbarBrand> </NavbarBrand>
<NavbarToggler on:click={toggleMenu} aria-label="Toggle menu" /> <NavbarToggler on:click={toggleMenu} aria-label="Toggle menu" />