diff --git a/components/grid-wallet-demo/.gitignore b/components/grid-wallet-demo/.gitignore new file mode 100644 index 00000000..17d07bc7 --- /dev/null +++ b/components/grid-wallet-demo/.gitignore @@ -0,0 +1,8 @@ +node_modules/ +.next/ +out/ +.vercel/ +*.tsbuildinfo +next-env.d.ts +.env*.local +.DS_Store diff --git a/components/grid-wallet-demo/HANDOFF.md b/components/grid-wallet-demo/HANDOFF.md new file mode 100644 index 00000000..f089ace7 --- /dev/null +++ b/components/grid-wallet-demo/HANDOFF.md @@ -0,0 +1,164 @@ +# Grid Wallet Demo — design handoff + +A first, working pass at an **interactive Global Accounts demo** for the Grid docs — the +neobank/wallet analog of the Flow Builder. It's built to be perfected by design, not shipped as-is. + +This doc is the context dump: what it is, how it's wired, every design decision + where the +inspiration came from, what's faked, and the specific places that want a designer's eye. + +--- + +## What it is + +An embedded, clickable demo that lives at **`docs.lightspark.com/global-accounts/demo`** +("See it live", directly under *Introduction*). A visitor: + +1. Picks a **use case** (Fintech/Neobank live; Social + Marketplace stubbed "Soon"). +2. Picks a **sign-in method** (Passkey / Google / Apple / Email / Phone). +3. **Drives a real wallet on a phone** — create account, add money, send, cash out, issue a card, + tap to pay — in any valid order. +4. Watches the **exact Grid API calls** fire in a panel beside the phone, in sync. + +Goal: a sales- and developer-facing "this is how easy it is" artifact. The phone is the magic; +the API panel is the proof. + +--- + +## How it's wired (mirrors the Flow Builder exactly) + +The Flow Builder (`components/grid-visualizer` → `grid-flow-builder.vercel.app`) is a standalone +Next.js app that the docs page embeds in an `