GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — embedded-wallet/src/components/CreateHostPlaceholder.tsx at develop · 1Shot-API/embedded-wallet

Expand file tree

/

CreateHostPlaceholder.tsx

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
44 lines (38 loc) · 1.57 KB
/

CreateHostPlaceholder.tsx

Copy path

File metadata and controls

44 lines (38 loc) · 1.57 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import { useStyle } from "../style/StyleProvider";
import { useWalletSessionStore } from "../wallet/sessionStore";
const FALLBACK_TITLE = "Name your passkey";
const FALLBACK_BODY =
"Choose a name for this wallet passkey. Your device will use it when you create the credential and when you sign in later.";
/**
* Stable shell for first-party `/create/` iframe embed — avoids flashing
* login/create onboarding before `createAccount` opens PasskeyNameModal.
*/
export function CreateHostPlaceholder() {
const ready = useWalletSessionStore((state) => state.ready);
const { style } = useStyle();
const title = ready ? style.copy.passkeyName.title : FALLBACK_TITLE;
const body = ready ? style.copy.passkeyName.body : FALLBACK_BODY;
return (
<div
className="flex min-h-0 flex-1 flex-col px-5 pt-5"
aria-busy={!ready}
aria-label={title}
>
<h2 className="m-0 shrink-0 text-lg font-semibold tracking-tight">
{title}
</h2>
<p className="text-muted-foreground mt-3 text-[0.95rem] leading-snug">
{body}
</p>
<div className="mt-5 grid gap-1.5" aria-hidden="true">
<div className="bg-muted h-4 w-24 rounded" />
<div className="bg-muted h-10 w-full rounded-md" />
</div>
<div className="bg-muted mt-4 h-4 w-3/4 max-w-[16rem] rounded" aria-hidden />
<div className="mt-auto flex flex-col-reverse gap-2 px-0 py-4">
<div className="bg-muted h-11 w-full rounded-md" aria-hidden />
<div className="bg-muted/70 h-11 w-full rounded-md" aria-hidden />
</div>
</div>
);
}
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.