shellphone.app/app/onboarding/pages/welcome/step-one.tsx

24 lines
600 B
TypeScript
Raw Normal View History

2021-07-31 14:33:18 +00:00
import type { BlitzPage } from "blitz"
import OnboardingLayout from "../../components/onboarding-layout"
import useCurrentCustomer from "../../../core/hooks/use-current-customer"
const StepOne: BlitzPage = () => {
useCurrentCustomer() // preload for step two
return (
<OnboardingLayout
currentStep={1}
next={{ href: "/welcome/step-two", label: "Set up your phone number" }}
>
<div className="flex flex-col space-y-4 items-center">
<span>Welcome, lets set up your virtual phone!</span>
</div>
</OnboardingLayout>
)
}
StepOne.authenticate = true
export default StepOne