2021-07-31 15:57:43 +00:00
|
|
|
|
import type { BlitzPage } from "blitz";
|
2021-07-31 14:33:18 +00:00
|
|
|
|
|
2021-07-31 15:57:43 +00:00
|
|
|
|
import OnboardingLayout from "../../components/onboarding-layout";
|
|
|
|
|
import useCurrentCustomer from "../../../core/hooks/use-current-customer";
|
2021-07-31 14:33:18 +00:00
|
|
|
|
|
|
|
|
|
const StepOne: BlitzPage = () => {
|
2021-07-31 15:57:43 +00:00
|
|
|
|
useCurrentCustomer(); // preload for step two
|
2021-07-31 14:33:18 +00:00
|
|
|
|
|
|
|
|
|
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, let’s set up your virtual phone!</span>
|
|
|
|
|
</div>
|
|
|
|
|
</OnboardingLayout>
|
2021-07-31 15:57:43 +00:00
|
|
|
|
);
|
|
|
|
|
};
|
2021-07-31 14:33:18 +00:00
|
|
|
|
|
2021-07-31 15:57:43 +00:00
|
|
|
|
StepOne.authenticate = true;
|
2021-07-31 14:33:18 +00:00
|
|
|
|
|
2021-07-31 15:57:43 +00:00
|
|
|
|
export default StepOne;
|