Initial project scaffold and agent docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
vader
2026-05-23 11:16:12 +01:00
commit b820b69ce6
8 changed files with 254 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
---
description: React and Next.js UI patterns for FinanceOne
globs: **/*.{tsx,css}
alwaysApply: false
---
# Web UI
- Next.js App Router: default to Server Components; add `"use client"` only for interactivity.
- Accessible markup: labels on inputs, semantic headings, keyboard-friendly controls.
- Tailwind: reuse spacing and color patterns from nearby components; avoid one-off magic values when a token exists.
- Forms: validate on client for UX and on server for security; show clear error messages.
- Loading and empty states for lists (accounts, transactions).