Skip to content

Commit fd95aab

Browse files
committed
Added a redirect to the docs
1 parent 27ac5cb commit fd95aab

3 files changed

Lines changed: 20 additions & 6 deletions

File tree

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ NUL
88
.env
99
.env.local
1010
bun.lock
11+
.scrawn

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ __unconfig*
1515
todos.json
1616
.pgdata
1717
scrawn.log
18-
.firecrawl
18+
.firecrawl
19+
.scrawn

src/routes/onboarding.tsx

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ function Onboarding() {
187187

188188
{/* Main split-screen container */}
189189
<main className="relative z-10 mx-auto flex w-full max-w-[1400px] flex-1 flex-col items-center justify-center gap-12 px-6 py-12 lg:flex-row lg:items-stretch lg:justify-between">
190-
190+
191191
{/* Left Column: Visual schematic & Step information */}
192192
<div className="flex w-full flex-col justify-center items-start lg:w-[50%]">
193193
<AnimatePresence mode="wait">
@@ -222,10 +222,22 @@ function Onboarding() {
222222
<div className="relative flex w-full max-w-md flex-col justify-center items-center lg:w-[45%]">
223223
{/* Stacked background offset card */}
224224
<div className="absolute -right-3 bottom-3 left-3 top-3 border-2 border-black bg-neutral-100 dark:border-white dark:bg-neutral-900" />
225-
225+
226226
{/* Foreground Form Card */}
227227
<div className="relative z-10 w-full border-2 border-black bg-white p-8 shadow-[4px_4px_0px_0px_rgba(0,0,0,1)] dark:border-white dark:bg-black dark:shadow-[4px_4px_0px_0px_rgba(255,255,255,1)]">
228-
228+
229+
<div className="mb-4 border-2 border-black bg-yellow-50 px-4 py-3 font-mono text-xs font-bold leading-relaxed text-black dark:border-white dark:bg-yellow-500/10 dark:text-white">
230+
Need help setting up your Dodo Payments keys?{" "}
231+
<a
232+
href="https://docs.scrawn.dev/dashboard-setup"
233+
target="_blank"
234+
rel="noopener noreferrer"
235+
className="underline underline-offset-2 hover:text-[#ff00ff] dark:hover:text-[#ff00ff]"
236+
>
237+
Read the docs →
238+
</a>
239+
</div>
240+
229241
<form
230242
key="wizard-form"
231243
onSubmit={handleNext}
@@ -237,7 +249,7 @@ function Onboarding() {
237249
<span>Step {step + 1} of 7</span>
238250
</div>
239251
<div className="w-full h-3 border-2 border-black bg-neutral-100 dark:border-white dark:bg-black shadow-[2px_2px_0px_0px_rgba(0,0,0,1)] dark:shadow-[2px_2px_0px_0px_rgba(255,255,255,1)] relative overflow-hidden">
240-
<motion.div
252+
<motion.div
241253
className="h-full bg-[#ff00ff] border-r-2 border-black dark:border-white"
242254
animate={{ width: `${((step + 1) / 7) * 100}%` }}
243255
transition={{ duration: 0.3, ease: "easeInOut" }}
@@ -501,7 +513,7 @@ function Onboarding() {
501513
</div>
502514
</div>
503515
</main>
504-
516+
505517
{/* Empty space matching height at bottom */}
506518
<div className="py-6 shrink-0" />
507519
</div>

0 commit comments

Comments
 (0)