// hf-storefront.jsx — Create storefront (PUC-4/5/7) hi-fi + states.
const { HFScreen: FScreen, HFWordmark: FWordmark, HFTopBar: FTopBar, HFAccountChip: FChip,
HFFooter: FFooter, HFAuthCard: FAuthCard, HFField: FField, HFBanner: FBanner,
HFPrimary: FPrimary, HFStateCard: FStateCard, HFStates: FStates, HF_H: F, HF_DSC: FDS } = window;
const { Eyebrow: FEyebrow } = FDS;
function CreateForm({ s = {} }) {
return (
<>
One storefront, fully yours
Create your storefront
This is the one thing to do right now. It costs nothing and commits you to nothing.
{s.alreadyOwns &&
ecomm is one storefront per account today. Go to your admin →
}
{s.blankPreview && (
◇
Saves as “ben's storefront” — change it later.
)}
{s.creating ? 'Creating…' : 'Create storefront'}
You can rename, configure, or close your storefront whenever you like.
>
);
}
function HFCreate({ device = 'desktop', s = {} }) {
const desktop = device === 'desktop';
return (
}
right={desktop ? : } />
{desktop && }
);
}
function HFCreateStates() {
return (
◇
Saves as “ben's storefront”
Creating…
ecomm is one storefront per account today. Go to your admin →
);
}
Object.assign(window, { HFCreate, HFCreateStates });