open-webui/src/lib/components/AddFilesPlaceholder.svelte

14 lines
395 B
Svelte
Raw Normal View History

<script>
import { getContext } from 'svelte';
const i18n = getContext('i18n');
</script>
2024-01-08 08:43:32 +01:00
<div class=" text-center text-6xl mb-3">📄</div>
<div class="text-center dark:text-white text-2xl font-semibold z-50">{$i18n.t('Add Files')}</div>
2024-01-08 08:43:32 +01:00
2024-02-01 22:17:47 +01:00
<slot
><div class=" mt-2 text-center text-sm dark:text-gray-200 w-full">
{$i18n.t('Drop any files here to add to the conversation')}
2024-02-01 22:17:47 +01:00
</div>
</slot>