Remove the generic $lib/svelte-admin CRUD layer and AdminTable.svelte; each admin route now owns its own form/modal logic. Add DataTable.svelte, superform-errors.ts, and profile-specific modal/field components. Flatten proclamation categories/groups and drop subscription levels; add the v2 groups API; update v1/v2 endpoints, serializers, auth, and regenerated Prisma client with the new migrations. Document the overhaul plan in docs/ADMIN_OVERHAUL.md.
10 lines
236 B
Svelte
10 lines
236 B
Svelte
<script lang="ts">
|
|
let { children } = $props();
|
|
</script>
|
|
|
|
<div class="mx-auto w-full max-w-md px-4 py-8 sm:py-12">
|
|
<div class="rounded-2xl border border-slate-200 bg-white p-6 shadow-sm sm:p-8">
|
|
{@render children()}
|
|
</div>
|
|
</div>
|