diff --git a/web/src/lib/components/ActivityRow.svelte b/web/src/lib/components/ActivityRow.svelte
deleted file mode 100644
index b698a58..0000000
--- a/web/src/lib/components/ActivityRow.svelte
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
diff --git a/web/src/lib/components/Amount.svelte b/web/src/lib/components/Amount.svelte
deleted file mode 100644
index 967a5eb..0000000
--- a/web/src/lib/components/Amount.svelte
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-{label}
diff --git a/web/src/lib/components/Button.svelte b/web/src/lib/components/Button.svelte
deleted file mode 100644
index 018c70e..0000000
--- a/web/src/lib/components/Button.svelte
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-{#if href && !disabled}
-
- {#if icon} {/if}
- {@render children?.()}
-
-{:else}
-
- {#if icon} {/if}
- {@render children?.()}
-
-{/if}
diff --git a/web/src/lib/components/Card.svelte b/web/src/lib/components/Card.svelte
deleted file mode 100644
index 1af852c..0000000
--- a/web/src/lib/components/Card.svelte
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- {#if title}
-
- {title}
- {#if actions}{@render actions()}
{/if}
-
- {/if}
- {@render children()}
-
diff --git a/web/src/lib/components/Checkbox.svelte b/web/src/lib/components/Checkbox.svelte
deleted file mode 100644
index a27d460..0000000
--- a/web/src/lib/components/Checkbox.svelte
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
- onchange?.(event.currentTarget.checked)}
- class="peer size-4 appearance-none rounded-[3px] border-neutral-600 bg-neutral-950 bg-none checked:border-neutral-200 checked:bg-neutral-200 checked:bg-none focus:ring-0 focus:ring-offset-0 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-neutral-300"
- />
-
-
diff --git a/web/src/lib/components/DataTable.svelte b/web/src/lib/components/DataTable.svelte
deleted file mode 100644
index 29cdf38..0000000
--- a/web/src/lib/components/DataTable.svelte
+++ /dev/null
@@ -1,120 +0,0 @@
-
-
-
-
-{#if rows.length === 0 && empty}
- {@render empty()}
-{:else}
-
-
- {caption}
-
-
- {#if selectable}
-
-
-
- {/if}
- {#each columns as column (column.key)}
-
- {column.label}
-
- {/each}
- {#if rowActions}Actions {/if}
-
-
-
- {#each rows as row (rowId(row))}
- {@const id = rowId(row)}
-
- {#if selectable}
-
- toggleRow(id, checked)}
- />
-
- {/if}
- {#each columns as column (column.key)}
-
- {@render cell(row, column)}
-
- {/each}
- {#if rowActions}{@render rowActions(row)} {/if}
-
- {/each}
-
-
-
-{/if}
-{#if footer}
-
- {@render footer()}
-
-{/if}
diff --git a/web/src/lib/components/EmptyState.svelte b/web/src/lib/components/EmptyState.svelte
deleted file mode 100644
index 9718180..0000000
--- a/web/src/lib/components/EmptyState.svelte
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
{title}
- {#if description}
{description}
{/if}
-
-
- {#if action}
{@render action()}
{/if}
-
diff --git a/web/src/lib/components/Icon.svelte b/web/src/lib/components/Icon.svelte
deleted file mode 100644
index 16d026e..0000000
--- a/web/src/lib/components/Icon.svelte
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
diff --git a/web/src/lib/components/Link.svelte b/web/src/lib/components/Link.svelte
deleted file mode 100644
index 5917c42..0000000
--- a/web/src/lib/components/Link.svelte
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
- {@render children()}
- {#if arrow} {/if}
-
diff --git a/web/src/lib/components/Notice.svelte b/web/src/lib/components/Notice.svelte
deleted file mode 100644
index d889386..0000000
--- a/web/src/lib/components/Notice.svelte
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-{#if variant === 'success'}
-
-
-
{@render children()}
- {#if onclose}
-
-
-
- {/if}
-
-{:else}
-
-
{@render children()}
- {#if action}
{@render action()}
{/if}
-
-{/if}
diff --git a/web/src/lib/components/PageHeader.svelte b/web/src/lib/components/PageHeader.svelte
deleted file mode 100644
index eee2ee1..0000000
--- a/web/src/lib/components/PageHeader.svelte
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
{title}
- {#if description}
{description}
{/if}
-
- {#if actions}{@render actions()}
{/if}
-
diff --git a/web/src/lib/components/Pagination.svelte b/web/src/lib/components/Pagination.svelte
deleted file mode 100644
index f9e76de..0000000
--- a/web/src/lib/components/Pagination.svelte
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
- Showing {first}-{last} of {total} {noun}
-
-
page--}>Previous
-
- {#each Array.from({ length: pageCount }, (_, index) => index + 1) as number (number)}
-
- (page = number)}
- class="text-sm text-neutral-500 hover:text-neutral-100 focus-visible:outline-2 focus-visible:outline-neutral-300 aria-[current=page]:text-neutral-100"
- >
- {number}
-
-
- {/each}
-
-
= pageCount} onclick={() => page++}
- >Next
-
-
diff --git a/web/src/lib/components/SearchInput.svelte b/web/src/lib/components/SearchInput.svelte
deleted file mode 100644
index 6752c22..0000000
--- a/web/src/lib/components/SearchInput.svelte
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
- {label}
-
-
-
diff --git a/web/src/lib/components/SegmentedControl.svelte b/web/src/lib/components/SegmentedControl.svelte
deleted file mode 100644
index d65bea2..0000000
--- a/web/src/lib/components/SegmentedControl.svelte
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
- {#each options as option (option.value)}
- (value = option.value)}
- class="h-8.5 shrink-0 rounded-sm px-3 text-sm text-neutral-400 hover:text-neutral-100 focus-visible:outline-2 focus-visible:outline-neutral-300 aria-pressed:bg-neutral-800 aria-pressed:text-neutral-100 sm:min-w-20 sm:px-4"
- >
- {option.label}
-
- {/each}
-
diff --git a/web/src/lib/components/SelectField.svelte b/web/src/lib/components/SelectField.svelte
deleted file mode 100644
index 783fb0a..0000000
--- a/web/src/lib/components/SelectField.svelte
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
- {label}
-
-
- {#each options as option (option.value)}
- {option.label}
- {/each}
-
-
-
-
diff --git a/web/src/lib/components/StatusDot.svelte b/web/src/lib/components/StatusDot.svelte
deleted file mode 100644
index b891e49..0000000
--- a/web/src/lib/components/StatusDot.svelte
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
- {#if kind === 'solid'}
-
- {:else if kind === 'hollow'}
-
- {:else if kind === 'dash'}
-
- {:else}
- !
- {/if}
- {label}
-
diff --git a/web/src/lib/format.ts b/web/src/lib/format.ts
deleted file mode 100644
index 9d75960..0000000
--- a/web/src/lib/format.ts
+++ /dev/null
@@ -1,39 +0,0 @@
-import type { Direction, ScheduledTransaction, WeekendAdjustment } from './types';
-
-export const CURRENCY = 'EUR';
-
-const numberFormat = new Intl.NumberFormat('en-GB', {
- minimumFractionDigits: 2,
- maximumFractionDigits: 2
-});
-
-const months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
-
-export function formatMoney(cents: number): string {
- return numberFormat.format(Math.abs(cents) / 100);
-}
-
-export function signedCents(cents: number, direction: Direction): number {
- return direction === 'in' ? cents : -cents;
-}
-
-export function formatDate(iso: string): string {
- const date = new Date(iso);
- return `${String(date.getUTCDate()).padStart(2, '0')} ${months[date.getUTCMonth()]} ${date.getUTCFullYear()}`;
-}
-
-export function formatRecurrence(every: number, unit: ScheduledTransaction['unit']): string {
- return every === 1 ? `Every ${unit}` : `Every ${every} ${unit}s`;
-}
-
-export function formatWeekendAdjustment(adjustment: WeekendAdjustment | null): string | null {
- if (adjustment === 'previous_business_day') return 'Previous business day';
- if (adjustment === 'next_business_day') return 'Next business day';
- return null;
-}
-
-const monthsPerUnit = { day: 365 / 12, week: 52 / 12, month: 1, year: 1 / 12 } as const;
-
-export function monthlyCents(item: Pick) {
- return Math.round((item.amountCents * monthsPerUnit[item.unit]) / item.every);
-}
diff --git a/web/src/lib/mock/data.ts b/web/src/lib/mock/data.ts
deleted file mode 100644
index 95aa7b1..0000000
--- a/web/src/lib/mock/data.ts
+++ /dev/null
@@ -1,253 +0,0 @@
-import type { Account, ScheduledTransaction, Transaction } from '../types';
-
-export const accounts: Account[] = [
- { id: 'checking', name: 'Checking Account', balanceCents: 481240, memberCount: 2 },
- { id: 'savings', name: 'Savings Account', balanceCents: 1265000, memberCount: 1 },
- { id: 'card', name: 'Studio Card', balanceCents: 0, memberCount: 1 }
-];
-
-export const transactions: Transaction[] = [
- {
- id: 't01',
- accountId: 'checking',
- amountCents: 240000,
- direction: 'in',
- date: '2026-10-19T09:41:00Z',
- description: 'Studio North'
- },
- {
- id: 't02',
- accountId: 'card',
- amountCents: 1500,
- direction: 'out',
- date: '2026-10-19T07:12:00Z',
- description: 'Figma'
- },
- {
- id: 't03',
- accountId: 'checking',
- amountCents: 85000,
- direction: 'out',
- date: '2026-10-18T08:00:00Z',
- description: 'Workspace rent'
- },
- {
- id: 't04',
- accountId: 'checking',
- amountCents: 50000,
- direction: 'out',
- date: '2026-10-17T14:20:00Z',
- description: 'Bank transfer'
- },
- {
- id: 't05',
- accountId: 'savings',
- amountCents: 50000,
- direction: 'in',
- date: '2026-10-17T14:20:00Z',
- description: 'Bank transfer'
- },
- {
- id: 't06',
- accountId: 'checking',
- amountCents: 8450,
- direction: 'out',
- date: '2026-10-15T17:30:00Z',
- description: 'Groceries'
- },
- {
- id: 't07',
- accountId: 'card',
- amountCents: 4290,
- direction: 'out',
- date: '2026-10-14T08:05:00Z',
- description: 'Train tickets'
- },
- {
- id: 't08',
- accountId: 'card',
- amountCents: 6400,
- direction: 'out',
- date: '2026-10-12T12:45:00Z',
- description: 'Client lunch'
- },
- {
- id: 't09',
- accountId: 'checking',
- amountCents: 12600,
- direction: 'out',
- date: '2026-10-10T06:00:00Z',
- description: 'Electricity'
- },
- {
- id: 't10',
- accountId: 'checking',
- amountCents: 160000,
- direction: 'in',
- date: '2026-10-08T10:15:00Z',
- description: 'Fieldwork'
- },
- {
- id: 't11',
- accountId: 'checking',
- amountCents: 4500,
- direction: 'out',
- date: '2026-10-05T06:00:00Z',
- description: 'Mobile phone'
- },
- {
- id: 't12',
- accountId: 'checking',
- amountCents: 320000,
- direction: 'in',
- date: '2026-10-01T09:00:00Z',
- description: 'Salary'
- },
- {
- id: 't13',
- accountId: 'savings',
- amountCents: 1840,
- direction: 'in',
- date: '2026-10-01T00:00:00Z',
- description: 'Interest'
- },
- {
- id: 't14',
- accountId: 'checking',
- amountCents: 125000,
- direction: 'out',
- date: '2026-10-01T09:00:00Z',
- description: 'Rent'
- },
- {
- id: 't15',
- accountId: 'checking',
- amountCents: 320000,
- direction: 'in',
- date: '2026-09-01T09:00:00Z',
- description: 'Salary'
- },
- {
- id: 't16',
- accountId: 'savings',
- amountCents: 8450,
- direction: 'out',
- date: '2026-09-18T17:30:00Z',
- description: 'Groceries'
- }
-];
-
-export const scheduledTransactions: ScheduledTransaction[] = [
- {
- id: 's1',
- name: 'Salary',
- accountId: 'checking',
- amountCents: 320000,
- direction: 'in',
- every: 1,
- unit: 'month',
- startsAt: '2026-10-01T09:00:00Z',
- endsAt: null,
- nextDue: '2026-11-01T09:00:00Z',
- weekendAdjustment: null,
- status: 'active'
- },
- {
- id: 's2',
- name: 'Rent',
- accountId: 'checking',
- amountCents: 125000,
- direction: 'out',
- every: 1,
- unit: 'month',
- startsAt: '2026-10-01T09:00:00Z',
- endsAt: null,
- nextDue: '2026-10-30T09:00:00Z',
- weekendAdjustment: 'previous_business_day',
- status: 'due-soon'
- },
- {
- id: 's3',
- name: 'Studio North retainer',
- accountId: 'checking',
- amountCents: 240000,
- direction: 'in',
- every: 1,
- unit: 'month',
- startsAt: '2026-04-10T09:00:00Z',
- endsAt: '2027-03-10T09:00:00Z',
- nextDue: '2026-11-10T09:00:00Z',
- weekendAdjustment: null,
- status: 'active'
- },
- {
- id: 's4',
- name: 'Figma',
- accountId: 'card',
- amountCents: 1500,
- direction: 'out',
- every: 1,
- unit: 'month',
- startsAt: '2026-01-19T09:00:00Z',
- endsAt: null,
- nextDue: '2026-11-19T09:00:00Z',
- weekendAdjustment: null,
- status: 'active'
- },
- {
- id: 's5',
- name: 'Business insurance',
- accountId: 'checking',
- amountCents: 28800,
- direction: 'out',
- every: 3,
- unit: 'month',
- startsAt: '2026-01-05T09:00:00Z',
- endsAt: null,
- nextDue: '2027-01-05T09:00:00Z',
- weekendAdjustment: 'next_business_day',
- status: 'active'
- },
- {
- id: 's6',
- name: 'VAT payment',
- accountId: 'checking',
- amountCents: 142000,
- direction: 'out',
- every: 3,
- unit: 'month',
- startsAt: '2026-01-31T09:00:00Z',
- endsAt: null,
- nextDue: '2027-02-01T09:00:00Z',
- weekendAdjustment: 'next_business_day',
- status: 'active'
- },
- {
- id: 's7',
- name: 'Savings transfer',
- accountId: 'savings',
- amountCents: 50000,
- direction: 'in',
- every: 1,
- unit: 'month',
- startsAt: '2026-03-17T09:00:00Z',
- endsAt: null,
- nextDue: null,
- weekendAdjustment: null,
- status: 'paused'
- },
- {
- id: 's8',
- name: 'Domain renewal',
- accountId: 'card',
- amountCents: 1800,
- direction: 'out',
- every: 1,
- unit: 'year',
- startsAt: '2025-06-01T09:00:00Z',
- endsAt: '2026-06-01T09:00:00Z',
- nextDue: null,
- weekendAdjustment: null,
- status: 'ended'
- }
-];
diff --git a/web/src/lib/types.ts b/web/src/lib/types.ts
deleted file mode 100644
index 7635b89..0000000
--- a/web/src/lib/types.ts
+++ /dev/null
@@ -1,38 +0,0 @@
-export type Direction = 'in' | 'out';
-
-export type RecurrenceUnit = 'day' | 'week' | 'month' | 'year';
-
-export type WeekendAdjustment = 'previous_business_day' | 'next_business_day';
-
-export type ScheduleStatus = 'active' | 'due-soon' | 'paused' | 'ended';
-
-export type Account = {
- id: string;
- name: string;
- balanceCents: number;
- memberCount: number;
-};
-
-export type Transaction = {
- id: string;
- accountId: string;
- amountCents: number;
- direction: Direction;
- date: string;
- description: string;
-};
-
-export type ScheduledTransaction = {
- id: string;
- name: string;
- accountId: string;
- amountCents: number;
- direction: Direction;
- every: number;
- unit: RecurrenceUnit;
- startsAt: string;
- endsAt: string | null;
- nextDue: string | null;
- weekendAdjustment: WeekendAdjustment | null;
- status: ScheduleStatus;
-};
diff --git a/web/src/routes/accounts/+page.svelte b/web/src/routes/accounts/+page.svelte
index 1a5b044..c18241b 100644
--- a/web/src/routes/accounts/+page.svelte
+++ b/web/src/routes/accounts/+page.svelte
@@ -1,99 +1,6 @@
Accounts | Expenses
-
-
- {#snippet actions()}
- New account
- {/snippet}
-
-
-{#if showNotice}
-
- (showNotice = false)}>Checking Account reconciled on 19 Oct 2026.
-
-{/if}
-
-
- {#each accounts as account (account.id)}
-
- (selectedId = account.id)}
- class="block h-full w-full rounded border border-neutral-600 bg-neutral-950 p-5 text-left hover:border-neutral-400 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-neutral-300 aria-pressed:border-neutral-300"
- >
- {account.name}
-
-
- {account.memberCount === 1 ? '1 member' : `${account.memberCount} members`} / Last activity:
- {lastActivity(account.id)}
-
-
-
- {/each}
-
-
-{selected.name}
-
- {#snippet actions()}
- View all
- {/snippet}
- {#if activity.length}
-
- {#each activity as transaction (transaction.id)}
-
- {/each}
-
- {:else}
-
-
- {#snippet action()}
- Add a transaction
- {/snippet}
-
-
- {/if}
-
diff --git a/web/src/routes/scheduled-transactions/+page.svelte b/web/src/routes/scheduled-transactions/+page.svelte
index 541b99b..fa53da4 100644
--- a/web/src/routes/scheduled-transactions/+page.svelte
+++ b/web/src/routes/scheduled-transactions/+page.svelte
@@ -1,150 +1,6 @@
Scheduled transactions | Expenses
-
-
- {#snippet actions()}
- New schedule
- {/snippet}
-
-
-{#if upcoming}
-
-
- {upcoming.name} is due on {formatDate(upcoming.nextDue!)}.
- {#snippet action()}
- {formatWeekendAdjustment(upcoming.weekendAdjustment)}
- {/snippet}
-
-
-{/if}
-
-
-
-
-
-
-
- item.id}>
- {#snippet cell(item, column)}
- {#if column.key === 'name'}
- {item.name}
- {:else if column.key === 'account'}
- {accountName(item.accountId)}
- {:else if column.key === 'recurrence'}
- {formatRecurrence(item.every, item.unit)}
- {#each recurrenceNotes(item) as note (note)}
- {note}
- {/each}
- {:else if column.key === 'nextDue'}
-
- {item.nextDue ? formatDate(item.nextDue) : '-'}
-
- {:else if column.key === 'status'}
-
- {:else}
-
- {/if}
- {/snippet}
- {#snippet empty()}
-
- {/snippet}
- {#snippet footer()}
- {rows.length} schedules
-
- Monthly net
-
-
- {/snippet}
-
-
diff --git a/web/src/routes/transaction-history/+page.svelte b/web/src/routes/transaction-history/+page.svelte
index a4c7dd6..438863d 100644
--- a/web/src/routes/transaction-history/+page.svelte
+++ b/web/src/routes/transaction-history/+page.svelte
@@ -1,136 +1,6 @@
Transaction history | Expenses
-
-
- {#snippet actions()}
- Export
- {/snippet}
-
-
-
-
- ({ value: account.id, label: account.name }))
- ]}
- />
-
-
-
-
-
-
- transaction.id}
- selectable
- bind:selected
- >
- {#snippet cell(transaction, column)}
- {#if column.key === 'date'}
- {formatDate(transaction.date)}
- {:else if column.key === 'description'}
- {transaction.description}
- {:else if column.key === 'account'}
- {accountName(transaction.accountId)}
- {:else}
-
- {/if}
- {/snippet}
- {#snippet empty()}
-
- {/snippet}
- {#snippet footer()}
- {#if selected.length}
- {selected.length} selected
-
- Total
-
-
- {:else}
- Select transactions to see their total.
- {/if}
- {/snippet}
-
-
-
-
diff --git a/web/static/components.svg b/web/static/mockup.svg
similarity index 100%
rename from web/static/components.svg
rename to web/static/mockup.svg