MCPcopy Create free account
hub / github.com/block/buzz / OnboardingLoadingGate

Function OnboardingLoadingGate

desktop/src/app/App.tsx:84–154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82}
83
84function OnboardingLoadingGate() {
85 const systemColorScheme = useSystemColorScheme();
86
87 return (
88 <div
89 className="buzz-onboarding-neutral-theme buzz-startup-shell flex items-center justify-center bg-background px-4 py-8 text-foreground"
90 data-system-color-scheme={systemColorScheme}
91 >
92 <StartupWindowDragRegion />
93 <div className="relative flex w-full max-w-[500px] flex-col items-center text-center">
94 <StepProgress
95 activeSegmentClassName="bg-primary"
96 className="fixed bottom-12 left-1/2 z-40 -translate-x-1/2"
97 completeSegmentClassName="bg-primary/35"
98 currentStep={2}
99 inactiveSegmentClassName="bg-muted-foreground/25"
100 />
101
102 <OnboardingSlideTransition
103 className="flex w-full flex-col items-center text-center"
104 direction="forward"
105 effect="none"
106 transitionKey="workspace-connecting"
107 >
108 <div className="flex h-14 w-14 items-center justify-center rounded-lg border border-border bg-background text-foreground shadow-xs">
109 <Hexagon className="h-7 w-7" aria-hidden="true" />
110 </div>
111
112 <h1 className="mt-6 text-3xl font-semibold tracking-tight">
113 Welcome to Buzz
114 </h1>
115 <p className="mt-3 max-w-[440px] text-sm leading-6 text-muted-foreground">
116 Choose your first workspace to get started.
117 </p>
118
119 <div className="mt-8 flex w-full max-w-[500px] flex-col gap-3">
120 <Button
121 aria-disabled="true"
122 className="h-10 w-full"
123 tabIndex={-1}
124 type="button"
125 >
126 Continue with Block Inc. workspace
127 </Button>
128
129 <Button
130 aria-disabled="true"
131 className="h-10 w-full"
132 tabIndex={-1}
133 type="button"
134 variant="secondary"
135 >
136 Join a workspace
137 </Button>
138
139 <Button
140 aria-disabled="true"
141 className="h-10 w-full"

Callers

nothing calls this directly

Calls 1

useSystemColorSchemeFunction · 0.90

Tested by

no test coverage detected