+ Sign in to connect a community you already own on this machine, or
+ create a new one.
+
+ {error ? (
+
+ ) : null}
+
+ {loading ? (
+
+
+ Checking Builderlab sign-in
+
+ ) : !auth ? (
+
+ Sign in or create an account
+
+ Builderlab provides Block-hosted Buzz communities. Authentication
+ opens in your browser and returns here.
+
+ {action === "Signing in…" ? (
+
+
+
+ Waiting for your browser…
+
+
+
+ ) : (
+
+ )}
+
+ ) : !identity ? (
+
+ Connect this Buzz identity
+
+ Link this device’s Buzz key to{" "}
+ {auth.email ?? auth.name ?? "your Builderlab account"}. Buzz signs
+ a one-time challenge locally; your private key never leaves
+ Desktop.
+
+
+
+ ) : identityMismatch ? (
+
+
+
+
+
+ This account uses a different Buzz identity
+
+
+ This Builderlab account is connected to another Buzz identity.
+ You can disconnect that identity and reconnect this device, or
+ sign out to use a different email.
+
+
+ Account: {identity.npub ?? boundPubkey}
+
+ This device: {localNpub ?? localPubkey}
+
+
+
+
+
+
+
+
+ ) : (
+ <>
+
+
+ Signed in{auth.email ? ` as ${auth.email}` : ""} with this Buzz
+ identity
+
+
+ {activeCommunities.length > 0 ? (
+
+ Connect to one you own
+
+ {activeCommunities.map((community, index) => (
+ -
+
+
+ {community.name ??
+ community.slug ??
+ "Hosted community"}
+
+
+ {community.normalized_host}
+
+
+
+
+ ))}
+
+
+ ) : null}
+
+
+ >
+ )}
+