blob: a236037c2a9a1bbff79c0d18eca0535bf1ef5ab8 (
plain) (
blame)
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
|
"use client"
import { ArrowRightIcon } from "lucide-react"
import { useOnboardingStorage } from "@hooks/use-onboarding-storage"
import { useRouter } from "next/navigation"
export function Welcome() {
const { markOnboardingCompleted } = useOnboardingStorage()
const router = useRouter()
const handleGetStarted = () => {
markOnboardingCompleted()
router.push("/")
}
return (
<div className="flex flex-col gap-4 items-center text-center w-full">
<h1 className="text-white font-medium text-2xl md:text-4xl">
Welcome to Supermemory
</h1>
<p className="text-white/80 text-lg md:text-2xl">
We're excited to have you on board.
</p>
<button
type="button"
onClick={handleGetStarted}
className="tracking-normal w-fit flex items-center justify-center text-lg md:text-2xl underline cursor-pointer font-medium text-white/80 hover:text-white transition-colors"
>
Get started
<ArrowRightIcon className="size-4 ml-2" />
</button>
</div>
)
}
|