Teil Merge

This commit is contained in:
2025-06-24 15:23:09 +02:00
parent 800b2d6cc6
commit db417bae68
4 changed files with 6 additions and 26 deletions

View File

@@ -10,22 +10,6 @@
export { classNames as class };
</script>
{#if href}
<a on:click {href} class:w-full={fullWidth} class="button {variant} {size} {classNames} {align}">
{@render children()}
</a>
{:else}
<button
on:click
{type}
{disabled}
class:w-full={fullWidth}
class="button {variant} {size} {classNames} {align}"
>
{@render children()}
</button>
{/if}
{#if href}
<a on:click {href} class:w-full={fullWidth} class="button {variant} {size} {classNames} {align}"
><slot />

View File

@@ -3,12 +3,8 @@
import FileRect from '$lib/icons/File-rect.svelte';
import ListIcon from '$lib/icons/List-icon.svelte';
<<<<<<< HEAD
export let data;
export let outline = true;
=======
>>>>>>> temp_f03-Frontend
</script>
<div
@@ -30,9 +26,7 @@
Verschaffe Dir einen Überblick über alle gespeicherten Tatorte.
</p>
</div>
<<<<<<< HEAD
=======
>>>>>>> temp_f03-Frontend
<div class="group relative rounded-lg p-6 text-sm leading-6 hover:bg-gray-50 w-1/4">
<div
class="flex h-11 w-11 items-center justify-center rounded-lg bg-gray-50 group-hover:bg-white"

View File

@@ -51,7 +51,7 @@
<!-- Ordner -->
<Folder />
<div class="min-w-0 flex-auto">
<span class="text-sm font-semibold leading-6 text-gray-900">{item.name}</span>
<span class=" text-sm font-semibold leading-6 text-gray-900">{item.name}</span>
<!-- Delete button -->
<button
style="padding: 2px"

View File

@@ -163,7 +163,6 @@
}}>{item.name}</span
>
{#if item.show_button}
<button
style="padding: 2px"
@@ -265,11 +264,14 @@
</div>
{#if data.error}
<div class="max-w-xl mx-auto bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded relative mt-4">
<div
class="max-w-xl mx-auto bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded relative mt-4"
>
<strong class="font-bold">Fehler: </strong>
<span class="block sm:inline">{data.error}</span>
</div>
{/if}
<style>
ul {
min-width: 24rem;