// wf-storefront.jsx — Screen 3: Create storefront (PUC-4/5/7). A/B + states.
const { Screen: FScreen, Wordmark: FWordmark, TopBar: FTopBar, AccountChip: FAccountChip,
Field: FField, Banner: FBanner, AuthCard: FAuthCard, StateBlock: FStateBlock,
WF_T: FT, WF_DS: FDS } = window;
const { Button: FButton, Soul: FSoul, Eyebrow: FEyebrow } = FDS;
function CreateForm({ s = {} }) {
return (
<>
One storefront, fully yours
Create your storefront
This is the one thing to do right now. Nothing here costs anything or commits you to anything.
{s.alreadyOwns &&
ecomm is one storefront per account today. Go to your admin →
}
{s.blankPreview && (
◇
Saves as “mara's storefront” — change it any time.
)}
{s.creating ? 'Creating…' : 'Create storefront'}
>
);
}
// ── Direction A — centered card ────────────────────────────────────────────
function CreateA({ device = 'desktop', s = {} }) {
const desktop = device === 'desktop';
return (
}
right={desktop ? : } />
);
}
// ── Direction B — split (the frame begins to form) ─────────────────────────
function CreateB({ device = 'desktop', s = {} }) {
const desktop = device === 'desktop';
if (!desktop) {
return (
);
}
return (
);
}
function SignOutMini() {
return Sign out ;
}
// ── States stack ───────────────────────────────────────────────────────────
function CreateStates() {
return (
◇
Saves as “mara's storefront”
Creating…
ecomm is one storefront per account today. Go to your admin →
);
}
Object.assign(window, { CreateA, CreateB, CreateStates });