rewording
Build and Push Docker Image / build (push) Successful in 42s

This commit is contained in:
2026-08-27 15:46:24 +02:00
parent 365c57847c
commit dea6a1ba77
4 changed files with 30 additions and 13 deletions
+8
View File
@@ -1,4 +1,6 @@
<script lang="ts">
import { Archive } from '@lucide/svelte';
type Props = {
onFilesSelected: (files: File[]) => void;
onFilesRejected?: (files: File[]) => void;
@@ -7,6 +9,7 @@
ariaLabel?: string;
label?: string;
sublabel?: string;
icon?: typeof Archive;
class?: string;
};
@@ -18,6 +21,7 @@
ariaLabel = 'PDF-Dateien hinzufügen',
label = 'Dateien hinzufügen',
sublabel = 'PDF hier ablegen oder zum Auswählen klicken',
icon = undefined,
class: className = ''
}: Props = $props();
@@ -110,6 +114,10 @@
ondragleave={handleDragLeave}
ondrop={handleDrop}
>
{#if icon}
{@const IconComponent = icon}
<IconComponent class="h-10 w-10 text-primary" />
{/if}
<div class="flex flex-row items-baseline justify-center gap-2">
<span class="text-[18px] font-bold text-primary-900">{label}</span>
<span class="text-[20px] font-extrabold text-primary">+</span>