feat(frontend): remove auth method

This commit is contained in:
sam 2025-02-11 14:21:40 +01:00
parent 373d97e70a
commit c47fc41437
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
8 changed files with 121 additions and 6 deletions

View file

@ -0,0 +1,14 @@
<script lang="ts">
import { t } from "$lib/i18n";
type Props = { data?: { alertKey?: string }; key?: string };
let props: Props = $props();
let key = $derived(props.key ?? props.data?.alertKey);
</script>
{#if key}
<div class="alert alert-light">
{$t(key)}
</div>
{/if}