Files
dashboard/src/lib/components/ui/empty/empty.svelte
Flavio Fois c49692a75b feat: add user management features with CRUD operations and password policies
- Implemented PATCH and DELETE endpoints for bug reports.
- Created user management page with user creation, display name update, password reset, and user deletion functionalities.
- Added password validation and hashing for user creation and password reset.
- Integrated dialogs for user actions (create, update, reset password, delete).
- Configured SvelteKit with Node adapter and Vite for build process.
- Set up Tailwind CSS for styling.
2026-02-16 13:30:01 +01:00

24 lines
535 B
Svelte

<script lang="ts">
import { cn, type WithElementRef } from "$lib/utils.js";
import type { HTMLAttributes } from "svelte/elements";
let {
ref = $bindable(null),
class: className,
children,
...restProps
}: WithElementRef<HTMLAttributes<HTMLDivElement>> = $props();
</script>
<div
bind:this={ref}
data-slot="empty"
class={cn(
"flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12",
className
)}
{...restProps}
>
{@render children?.()}
</div>