Werkstatt-App: öffentliche PWA und Redaktions-Backend
Werbefreie, barrierearme Info-App für Werkstätten (WfbM) auf Basis von SvelteKit, Tailwind, SQLite/Drizzle: - App: Startseite mit Kacheln, Meldungen, Seitenbaum, Termine inkl. Schließzeiten und iCal-Abo, Ansprechpartner, Suche, Kontaktformular, Merkliste, Vorlesen, Leichte Sprache, Schriftgrößen, Hell/Dunkel, PWA - Redaktion: Dashboard, Meldungen, Seiten, Termine, Kacheln, Ansprechpartner, Mediathek mit Bildoptimierung, Postfach, Benutzer mit Rollen, Einstellungen (Name, Logo, Farbe, Rechtstexte) - Demo-Seed, CLI zum Anlegen von Benutzern, Dockerfile und Compose Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
4f145116d8
commit
bef8574e07
143 changed files with 13518 additions and 1 deletions
10
src/lib/components/EmptyState.svelte
Normal file
10
src/lib/components/EmptyState.svelte
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<script lang="ts">
|
||||
import type { Snippet } from 'svelte';
|
||||
let { title, children, icon }: { title: string; children?: Snippet; icon?: Snippet } = $props();
|
||||
</script>
|
||||
|
||||
<div class="card p-8 text-center flex flex-col items-center gap-3">
|
||||
{#if icon}<div class="grid place-items-center size-14 rounded-2xl bg-brand-soft text-brand">{@render icon()}</div>{/if}
|
||||
<p class="font-display font-bold text-lg">{title}</p>
|
||||
{#if children}<div class="text-ink-2 max-w-sm">{@render children()}</div>{/if}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue