feat(frontend): remove auth method
This commit is contained in:
parent
373d97e70a
commit
c47fc41437
8 changed files with 121 additions and 6 deletions
14
Foxnouns.Frontend/src/lib/components/URLAlert.svelte
Normal file
14
Foxnouns.Frontend/src/lib/components/URLAlert.svelte
Normal 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}
|
Loading…
Add table
Add a link
Reference in a new issue