From 3267d6074019679dc9afc99e38de9da8855fee50 Mon Sep 17 00:00:00 2001 From: Sebi Date: Tue, 11 Jun 2024 15:19:12 +0200 Subject: [PATCH] introduce functional textzeugen-selector --- src/lib/components/TextzeugenSelector.svelte | 14 +++++++++ src/routes/+page.svelte | 29 ++++++------------- .../[[sigla]]/[[thirties]]/[[verse]]/+page.js | 2 -- .../[[thirties]]/[[verse]]/+page.svelte | 2 -- 4 files changed, 23 insertions(+), 24 deletions(-) create mode 100644 src/lib/components/TextzeugenSelector.svelte diff --git a/src/lib/components/TextzeugenSelector.svelte b/src/lib/components/TextzeugenSelector.svelte new file mode 100644 index 0000000..9f8079f --- /dev/null +++ b/src/lib/components/TextzeugenSelector.svelte @@ -0,0 +1,14 @@ + + + diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 9b8ef51..d4b8ac6 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,5 +1,6 @@
@@ -57,30 +63,13 @@ Handschriften V oder V') oder das Kürzel "Ep" (für den Epilog in den Handschriften V und V'), danach die Zahl des Verses.

-
- - + +
- +
diff --git a/src/routes/textzeugen/[[sigla]]/[[thirties]]/[[verse]]/+page.js b/src/routes/textzeugen/[[sigla]]/[[thirties]]/[[verse]]/+page.js index ed90367..cd0d3c8 100644 --- a/src/routes/textzeugen/[[sigla]]/[[thirties]]/[[verse]]/+page.js +++ b/src/routes/textzeugen/[[sigla]]/[[thirties]]/[[verse]]/+page.js @@ -1,5 +1,3 @@ -import { base } from '$app/paths'; -import { generateEntries } from '$lib/functions'; import { api } from '$lib/constants'; /** @type {import('./$types').PageLoad} */ diff --git a/src/routes/textzeugen/[[sigla]]/[[thirties]]/[[verse]]/+page.svelte b/src/routes/textzeugen/[[sigla]]/[[thirties]]/[[verse]]/+page.svelte index 7b7fe16..1f1d885 100644 --- a/src/routes/textzeugen/[[sigla]]/[[thirties]]/[[verse]]/+page.svelte +++ b/src/routes/textzeugen/[[sigla]]/[[thirties]]/[[verse]]/+page.svelte @@ -148,8 +148,6 @@ {/each} -{:else} -

Keine Textzeugen ausgewählt

{/if}