Last round of prettier: npx prettier --write src/

This commit is contained in:
Scott Idem
2026-03-24 13:27:40 -04:00
parent 23d25bf65a
commit a8f3c29b9f
146 changed files with 13201 additions and 9277 deletions

View File

@@ -1,23 +1,23 @@
<script lang="ts">
import { ShieldX } from '@lucide/svelte';
import { ShieldX } from '@lucide/svelte';
interface Props {
title?: string;
message?: string;
action_label?: string;
on_action?: () => void;
}
interface Props {
title?: string;
message?: string;
action_label?: string;
on_action?: () => void;
}
let {
title = 'Access Denied',
message = 'You do not have permission to view this content.',
action_label = '',
on_action = undefined
}: Props = $props();
let {
title = 'Access Denied',
message = 'You do not have permission to view this content.',
action_label = '',
on_action = undefined
}: Props = $props();
</script>
<div class="card p-6 space-y-4 max-w-sm">
<div class="flex items-center gap-2 text-error-500">
<div class="card max-w-sm space-y-4 p-6">
<div class="text-error-500 flex items-center gap-2">
<ShieldX size="1.2em" />
<h3 class="text-lg font-semibold">{title}</h3>
</div>
@@ -26,8 +26,7 @@
<button
type="button"
class="btn preset-tonal-surface w-full"
onclick={on_action}
>
onclick={on_action}>
{action_label}
</button>
{/if}