Component mockups.

This commit is contained in:
2026-10-20 22:07:11 +02:00
parent 9771638bfc
commit a34fd7b7fd
24 changed files with 1258 additions and 63 deletions
+19
View File
@@ -0,0 +1,19 @@
<script lang="ts">
import type { Direction } from '../types';
import Amount from './Amount.svelte';
let {
title,
subtitle,
cents,
direction
}: { title: string; subtitle: string; cents: number; direction: Direction } = $props();
</script>
<li class="flex items-center justify-between gap-4 px-5 py-3">
<div class="min-w-0">
<p class="truncate">{title}</p>
<p class="truncate text-sm text-neutral-400">{subtitle}</p>
</div>
<Amount {cents} {direction} showCurrency />
</li>