Skip to content

Commit eee6b93

Browse files
authored
Adjust onboarding to handle the new toolbar location (#7908)
1 parent f9afce5 commit eee6b93

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

src/routes/Onboarding/BrowserOnboardingRoutes.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ function Toolbar() {
150150
useOnboardingPanes()
151151

152152
return (
153-
<div className="cursor-not-allowed fixed inset-0 z-[99] grid items-start justify-center p-16">
153+
<div className="cursor-not-allowed fixed inset-0 z-[99] grid items-start justify-center p-24">
154154
<OnboardingCard>
155155
<h1 className="text-xl font-bold">This is the toolbar</h1>
156156
<p className="my-4">
@@ -171,7 +171,7 @@ function TextToCad() {
171171
useOnboardingPanes()
172172

173173
return (
174-
<div className="cursor-not-allowed fixed inset-0 z-50 grid items-start justify-center p-16">
174+
<div className="cursor-not-allowed fixed inset-0 z-50 grid items-start justify-center p-24">
175175
<OnboardingCard>
176176
<h1 className="text-xl font-bold">Text-to-CAD</h1>
177177
<p className="my-4">
@@ -184,7 +184,7 @@ function TextToCad() {
184184
<strong>One</strong> Text-to-CAD generation costs{' '}
185185
<strong>one credit per minute</strong>, rounded up to the nearest
186186
minute. A large majority of Text-to-CAD generations take under a
187-
minute. If you are on the free plan, you get 40 free credits per
187+
minute. If you are on the free plan, you get 20 free credits per
188188
month. With any of our paid plans, you get unlimited Text-to-CAD
189189
generations.
190190
</p>
@@ -326,7 +326,7 @@ function PromptToEdit() {
326326
useAdvanceOnboardingOnFormSubmit(thisOnboardingStatus)
327327

328328
return (
329-
<div className="cursor-not-allowed fixed inset-0 z-50 grid items-center justify-center p-16">
329+
<div className="cursor-not-allowed fixed inset-0 z-50 grid items-center justify-center p-24">
330330
<OnboardingCard className="col-start-3 col-span-2">
331331
<h1 className="text-xl font-bold">Modify with Zoo Text-to-CAD</h1>
332332
<p className="my-4">
@@ -464,7 +464,7 @@ function OnboardingConclusion() {
464464
const downloadLink = withSiteBaseURL(`/${APP_DOWNLOAD_PATH}`)
465465

466466
return (
467-
<div className="cursor-not-allowed fixed inset-0 z-50 p-16 grid justify-center items-center">
467+
<div className="cursor-not-allowed fixed inset-0 z-50 p-24 grid justify-center items-center">
468468
<OnboardingCard>
469469
<h1 className="text-xl font-bold">Download the desktop app</h1>
470470
<p className="my-4">

src/routes/Onboarding/DesktopOnboardingRoutes.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ function Toolbar() {
145145
useOnboardingPanes()
146146

147147
return (
148-
<div className="cursor-not-allowed fixed inset-0 z-[99] grid items-start justify-center p-16">
148+
<div className="cursor-not-allowed fixed inset-0 z-[99] grid items-start justify-center p-24">
149149
<OnboardingCard>
150150
<h1 className="text-xl font-bold">This is the toolbar</h1>
151151
<p className="my-4">
@@ -166,7 +166,7 @@ function TextToCad() {
166166
useOnboardingPanes()
167167

168168
return (
169-
<div className="cursor-not-allowed fixed inset-0 z-50 grid items-start justify-center p-16">
169+
<div className="cursor-not-allowed fixed inset-0 z-50 grid items-start justify-center p-24">
170170
<OnboardingCard>
171171
<h1 className="text-xl font-bold">Text-to-CAD</h1>
172172
<p className="my-4">
@@ -179,7 +179,7 @@ function TextToCad() {
179179
<strong>One</strong> Text-to-CAD generation costs{' '}
180180
<strong>one credit per minute</strong>, rounded up to the nearest
181181
minute. A large majority of Text-to-CAD generations take under a
182-
minute. If you are on the free plan, you get 40 free credits per
182+
minute. If you are on the free plan, you get 20 free credits per
183183
month. With any of our paid plans, you get unlimited Text-to-CAD
184184
generations.
185185
</p>
@@ -574,7 +574,7 @@ function Imports() {
574574
useOnboardingPanes()
575575

576576
return (
577-
<div className="cursor-not-allowed fixed inset-0 z-50 p-16 flex flex-col gap-8 items-center">
577+
<div className="cursor-not-allowed fixed inset-0 z-50 p-24 flex flex-col gap-8 items-center">
578578
<OnboardingCard>
579579
<h1 className="text-xl font-bold">Add file(s) to project</h1>
580580
<p className="my-4">
@@ -605,7 +605,7 @@ function Exports() {
605605
useOnboardingPanes()
606606

607607
return (
608-
<div className="cursor-not-allowed fixed inset-0 z-50 p-16 grid justify-start items-center">
608+
<div className="cursor-not-allowed fixed inset-0 z-50 p-24 grid justify-start items-center">
609609
<OnboardingCard>
610610
<h1 className="text-xl font-bold">Exporting</h1>
611611
<p className="my-4">
@@ -633,7 +633,7 @@ function OnboardingConclusion() {
633633
)
634634

635635
return (
636-
<div className="cursor-not-allowed fixed inset-0 z-50 p-16 grid justify-center items-center">
636+
<div className="cursor-not-allowed fixed inset-0 z-50 p-24 grid justify-center items-center">
637637
<OnboardingCard>
638638
<h1 className="text-xl font-bold">Time to start building</h1>
639639
<p className="my-4">

0 commit comments

Comments
 (0)